/* CSS Variables for Design System */
:root {
    --color-primary: #000000;
    --color-secondary: #ffffff;
    --color-text-main: #1a1a1a;
    --color-text-muted: #666666;
    --color-bg-light: #fafafa;
    --color-bg-gray: #f2f2f2;
    --color-border: #e6e6e6;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-secondary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-primary);
}

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

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--color-primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    border-color: var(--color-primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 80px 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 80vh;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-image-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 10s ease;
}

.hero:hover .hero-image {
    transform: scale(1);
}

/* Sections */
.section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-light-gray {
    background-color: var(--color-bg-light);
    max-width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.service-card {
    background: var(--color-secondary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.service-image-wrapper {
    height: 400px;
    overflow: hidden;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-image-wrapper img {
    transform: scale(1.03);
}

.service-content {
    padding: 40px;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-content p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.link-arrow {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
    position: relative;
    display: inline-block;
    transition: var(--transition-smooth);
}

.link-arrow:hover {
    padding-left: 10px;
}

/* How it Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    padding: 40px;
    background: var(--color-secondary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-border);
    margin-bottom: 20px;
    line-height: 1;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.step p {
    color: var(--color-text-muted);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    background: var(--color-bg-light);
    padding: 50px 40px;
    border-radius: var(--border-radius-md);
    position: relative;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-soft);
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--color-border);
    position: absolute;
    top: -20px;
    left: 30px;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 100px 40px 40px;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #a0a0a0;
    max-width: 300px;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-contact p, .footer-social a {
    color: #a0a0a0;
    margin-bottom: 12px;
    display: block;
}

.footer-contact a:hover, .footer-social a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid #333;
    padding-top: 40px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .services-grid, .steps-container, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-container .btn-outline {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-secondary);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: var(--shadow-soft);
        border-bottom: 1px solid var(--color-border);
        gap: 30px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition-smooth);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        padding: 20px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 80px 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-image-wrapper {
        height: 250px;
    }
}
