/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

/* CSS Reset & Global Styles */
:root {
    --primary-color: #FF1E7E;
    --secondary-color: #121212;
    --light-color: #FFFFFF;
    --grey-color: #F2F2F2;
    --dark-grey: #333333;
    --progress: 0%;
    --transition: all 0.2s ease;
    --content-max-width: 1200px;
    --section-padding: clamp(2rem, 5vw, 4rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    overflow-x: hidden;
    background-color: var(--light-color);
    position: relative;
}

/* Progress Bar using pseudo-element */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color) var(--progress), transparent 0%);
    z-index: 1000;
}

/* JavaScript for scroll progress */
body {
    --progress: 0%;
    overflow-x: hidden;
}

/* Using JS-like logic with CSS only */
/* Simulate scroll progress with gradient width based on scroll position */
html:not(.no-js) body::before {
    animation: updateProgress 0.1s linear;
}

@keyframes updateProgress {
    0% {
        --progress: calc((100% * var(--scroll, 0)) / 100);
    }
    100% {
        --progress: calc((100% * var(--scroll, 0)) / 100);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Icon Styles */
.fa, .fas, .far, .fab {
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.quote-icon {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-right: 0.3rem;
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    z-index: 100;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--section-padding);
    max-width: var(--content-max-width);
    margin: 0 auto;
}

nav .logo {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--light-color);
    font-size: 1.8rem;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--light-color);
    position: relative;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a:focus::after {
    width: 100%;
}

nav ul li a:focus {
    outline: none;
    text-decoration: underline;
}

/* Section Layouts */
.full-section,
.split-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-container {
    max-width: var(--content-max-width);
    padding: var(--section-padding);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    color: var(--light-color);
    text-align: center;
}

/* Split Layout Sections */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "image text";
}

.split-section.reverse {
    grid-template-areas: "text image";
}

.split-section .image-column {
    grid-area: image;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.split-section .text-column {
    grid-area: text;
    padding: var(--section-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Angled section dividers */
.split-section {
    position: relative;
}

.split-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: var(--light-color);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 2;
}

.split-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: var(--light-color);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

/* Hero Section */
#hero {
    position: relative;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .background-video {
        display: none;
    }
    
    #hero {
        background-image: url('images/hero-poster.jpg');
        background-size: cover;
        background-position: center;
    }
}

/* Buttons */
.cta-button,
.secondary-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    z-index: 1;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 30, 126, 0.3);
}

.secondary-button:hover,
.secondary-button:focus {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* Animated conic gradient behind CTA button */
.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        rgba(255, 30, 126, 0), 
        rgba(255, 30, 126, 0.5), 
        rgba(255, 30, 126, 0)
    );
    z-index: -1;
    animation: spin 18s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.cta-button:hover::before,
.cta-button:focus::before {
    opacity: 1;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta-button::before {
        animation: none;
        opacity: 0.2;
    }
    
    .cta-button:hover::before {
        opacity: 0.3;
    }
}

/* Services Section */
#services {
    background-color: var(--light-color);
}

.feature-list {
    margin: 1.5rem 0 2rem;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 0.5rem;
}

.feature-list li .fas {
    color: var(--primary-color);
}

/* Insights Section */
#insights .image-column.textured {
    background-image: url('images/fabric-pattern.png');
    background-size: cover;
    position: relative;
}

.overlay-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, 
        transparent 24%, 
        rgba(255, 30, 126, 0.05) 25%, 
        rgba(255, 30, 126, 0.05) 26%, 
        transparent 27%, 
        transparent 74%, 
        rgba(255, 30, 126, 0.05) 75%, 
        rgba(255, 30, 126, 0.05) 76%, 
        transparent 77%, 
        transparent
    ),
    linear-gradient(90deg, 
        transparent 24%, 
        rgba(255, 30, 126, 0.05) 25%, 
        rgba(255, 30, 126, 0.05) 26%, 
        transparent 27%, 
        transparent 74%, 
        rgba(255, 30, 126, 0.05) 75%, 
        rgba(255, 30, 126, 0.05) 76%, 
        transparent 77%, 
        transparent
    );
    background-size: 50px 50px;
}

/* Stats */
.stats-container {
    margin: 2rem 0;
}

.stat-item {
    margin-bottom: 1.5rem;
}

.stat-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-label .fas {
    color: var(--primary-color);
}

.stat-bar {
    height: 40px;
    background-color: var(--grey-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.stat-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    transition: width 1.5s ease-in-out;
    border-radius: 20px;
}

.stat-bar:hover::before,
.stat-bar:focus-within::before {
    width: attr(data-percentage);
}

/* Set initial widths for the stat bars */
.stat-item:nth-child(1) .stat-bar::before {
    width: 78%;
}

.stat-item:nth-child(2) .stat-bar::before {
    width: 43%;
}

.stat-item:nth-child(3) .stat-bar::before {
    width: 65%;
}

.stat-value {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--dark-grey);
    z-index: 1;
}

/* Portfolio Section */
#portfolio {
    background-color: var(--grey-color);
}

.portfolio-card {
    width: 100%;
    max-width: 500px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.portfolio-card img {
    width: 100%;
    clip-path: inset(0 0 0 0 round 1.5rem);
}

.portfolio-card:hover {
    transform: rotateX(6deg) rotateY(-4deg);
}

.portfolio-item {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--grey-color);
}

.portfolio-item:last-child {
    border-bottom: none;
}

.portfolio-item h3 .fas {
    color: var(--primary-color);
}

/* Contact Section */
#contact {
    background-color: var(--light-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group label .fas {
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--grey-color);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 30, 126, 0.2);
}

/* Thank You Message */
.thank-you-container {
    position: relative;
    margin-top: 2rem;
    background-color: var(--grey-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform-origin: center;
}

.thank-you-container.hidden {
    display: none;
}

.thank-you-container.visible {
    animation: popIn 0.5s forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.thank-you-content {
    max-width: 500px;
    margin: 0 auto;
}

.thank-you-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.check-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-icon .fa-check {
    color: white;
    font-size: 30px;
    margin: 0;
}

.close-btn {
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
}

/* Floating Cards */
.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.card {
    position: absolute;
    width: 250px;
    height: 400px;
    border-radius: 20px;
    background: var(--light-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-1 {
    top: 10%;
    left: 15%;
    transform: rotate(-5deg);
    background: linear-gradient(to bottom right, #FF1E7E, #FFB4D3);
    z-index: 3;
}

.card-2 {
    top: 25%;
    left: 25%;
    transform: rotate(3deg);
    z-index: 2;
}

.card-3 {
    top: 40%;
    left: 20%;
    transform: rotate(-2deg);
    z-index: 1;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 4rem var(--section-padding) 2rem;
}

.footer-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.company-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.company-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-links a {
    color: var(--light-color);
    opacity: 0.8;
    transition: var(--transition);
}

.legal-links a:hover,
.legal-links a:focus {
    opacity: 1;
    color: var(--primary-color);
    text-decoration: underline;
}

.copyright p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* Policy Pages */
.policy-page header {
    position: static;
}

.policy-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 8rem var(--section-padding) 4rem;
    min-height: 70vh;
}

.under-construction {
    text-align: center;
    padding: 3rem 0;
}

.construction-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background-color: var(--grey-color);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.construction-icon .fa-hard-hat {
    color: var(--primary-color);
    font-size: 50px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .split-section {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "image"
            "text";
    }
    
    .split-section.reverse {
        grid-template-areas: 
            "image"
            "text";
    }
    
    .split-section .image-column {
        min-height: 50vh;
    }
    
    .split-section .text-column {
        padding: 4rem var(--section-padding);
    }
    
    nav ul {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .legal-links,
    .site-description {
        margin-top: 1.5rem;
    }
    
    .legal-links {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
} 