/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    --plum-950: #1a0a1e;
    --plum-900: #2d1135;
    --plum-800: #4a1a5c;
    --plum-700: #6b2482;
    --plum-600: #8833a3;
    --plum-500: #a855c4;
    --plum-400: #c084e0;
    --plum-100: #f5e6ff;
    --plum-50: #fdf4ff;
    
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-300: #fcd34d;
    --amber-100: #fef3c7;
    --amber-50: #fffbeb;
    
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   Geometric Background Shapes
   =================================== */
.bg-shape {
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--plum-100) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    opacity: 0.6;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--amber-100) 0%, transparent 70%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 10%;
    left: -100px;
    opacity: 0.5;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--plum-50) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--plum-900);
}

.logo .accent {
    color: var(--amber-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-500);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--plum-700);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: all 0.3s ease;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--plum-700);
    color: var(--white);
    border-color: var(--plum-700);
}

.btn-primary:hover {
    background: var(--plum-800);
    border-color: var(--plum-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--plum-700);
    border-color: var(--plum-700);
}

.btn-outline:hover {
    background: var(--plum-700);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--plum-900);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--plum-50) 0%, var(--white) 50%, var(--amber-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(168, 85, 196, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--amber-100);
    color: var(--amber-600);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--plum-900);
    margin-bottom: 24px;
}

.hero-content h1 em {
    color: var(--amber-600);
    font-style: italic;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating Stat Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.stat-card {
    position: absolute;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px) !important;
}

.stat-card.card-1 {
    width: 220px;
    height: 280px;
    top: 0;
    right: 0;
    transform: rotate(3deg);
}

.stat-card.card-1 .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-card.card-2 {
    width: 180px;
    height: 140px;
    top: 120px;
    right: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transform: rotate(-2deg);
    z-index: 2;
}

.stat-card.card-2 .stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--amber-500);
}

.stat-card.card-2 .stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    text-align: center;
    margin-top: 4px;
}

.stat-card.card-3 {
    width: 180px;
    height: 140px;
    bottom: 100px;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transform: rotate(2deg);
    z-index: 2;
}

.stat-card.card-3 .stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--plum-600);
}

.stat-card.card-3 .stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    text-align: center;
    margin-top: 4px;
}

.stat-card.card-4 {
    width: 200px;
    height: 200px;
    bottom: 0;
    right: 40px;
    transform: rotate(-4deg);
}

.stat-card.card-4 .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   Section Common Styles
   =================================== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: var(--plum-100);
    color: var(--plum-700);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--plum-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

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

section {
    padding: 100px 0;
}

/* ===================================
   Services Section
   =================================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plum-500), var(--amber-500));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.accent-bg {
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-900) 100%);
    border-color: transparent;
}

.service-card.accent-bg h3 {
    color: var(--white);
}

.service-card.accent-bg p {
    color: rgba(255,255,255,0.8);
}

.service-card.accent-bg .link-arrow {
    color: var(--amber-400);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--plum-100);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--plum-700);
    color: var(--white);
}

.service-card.accent-bg .service-icon {
    background: rgba(255,255,255,0.15);
    color: var(--amber-400);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.link-arrow {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--plum-700);
    transition: all 0.3s ease;
}

.link-arrow:hover {
    color: var(--amber-600);
    gap: 12px;
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--gray-50);
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
    border-radius: 24px;
    bottom: -30px;
    left: -30px;
    z-index: 0;
    opacity: 0.3;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--plum-900);
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--gray-700);
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: var(--amber-100);
    color: var(--amber-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 17, 53, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-950) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 196, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.info-icon {
    width: 52px;
    height: 52px;
    background: var(--plum-100);
    color: var(--plum-700);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--plum-900);
    margin-bottom: 6px;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.info-card a {
    color: var(--plum-600);
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--amber-600);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(168, 85, 196, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--amber-100);
    color: var(--amber-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--plum-900);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--gray-600);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--plum-950);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--amber-400);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--amber-300);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

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

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .about-image img {
        height: 400px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 60px 0;
    }

    .service-card {
        padding: 28px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Reduced Motion
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .stat-card {
        animation: float 6s ease-in-out infinite;
    }

    .stat-card.card-1 {
        animation-delay: 0s;
    }

    .stat-card.card-2 {
        animation-delay: 1s;
    }

    .stat-card.card-3 {
        animation-delay: 2s;
    }

    .stat-card.card-4 {
        animation-delay: 3s;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-15px) rotate(var(--rotation, 0deg));
    }
}

.stat-card.card-1 { --rotation: 3deg; }
.stat-card.card-2 { --rotation: -2deg; }
.stat-card.card-3 { --rotation: 2deg; }
.stat-card.card-4 { --rotation: -4deg; }
