/* ===================================
   CSS Variables & Reset
=================================== */
:root {
    --plum-dark: #4A154B;
    --plum-primary: #6B2158;
    --plum-light: #8B3A70;
    --plum-pale: #F5E6F7;
    --plum-muted: #E8D5ED;
    
    --amber-dark: #B8860B;
    --amber-primary: #D4A017;
    --amber-light: #F5C842;
    --amber-pale: #FFF8E7;
    
    --text-dark: #1A1A2E;
    --text-medium: #4A4A6A;
    --text-light: #7A7A9A;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    
    --shadow-sm: 0 2px 8px rgba(107, 33, 88, 0.08);
    --shadow-md: 0 4px 20px rgba(107, 33, 88, 0.12);
    --shadow-lg: 0 8px 40px rgba(107, 33, 88, 0.16);
    --shadow-xl: 0 16px 60px rgba(107, 33, 88, 0.20);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --font-display: 'DM Serif Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::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(--text-dark);
    background: var(--off-white);
    line-height: 1.6;
    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;
}

/* ===================================
   Typography
=================================== */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-primary);
    background: var(--plum-pale);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-dark);
    margin-bottom: 16px;
}

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

/* ===================================
   Buttons
=================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--plum-primary);
    border-color: var(--plum-primary);
}

.btn-secondary:hover {
    background: var(--plum-pale);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===================================
   Navbar
=================================== */
.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(--plum-muted);
    transition: var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--plum-primary);
}

.logo-icon {
    font-size: 1.6rem;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-medium);
    transition: var(--transition);
    position: relative;
}

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

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--plum-primary);
    transition: var(--transition);
    border-radius: 2px;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--plum-primary);
    padding: 8px;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 33, 88, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-content {
    max-width: 540px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-medium);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--amber-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.15;
}

.text-gradient {
    background: linear-gradient(135deg, var(--plum-primary) 0%, var(--plum-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
}

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

.hero-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.float-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--plum-pale) 0%, var(--plum-muted) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-primary);
    flex-shrink: 0;
}

.float-card-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-dark);
}

.float-card-label {
    font-size: 0.78rem;
    color: var(--text-light);
}

.float-card-1 {
    top: 10%;
    left: -40px;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 25%;
    right: -30px;
    animation-delay: 1.3s;
}

.float-card-3 {
    bottom: 5%;
    left: 10%;
    animation-delay: 2.6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===================================
   About Section
=================================== */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--white);
}

.about-img-secondary img {
    width: 260px;
    height: 200px;
    object-fit: cover;
}

.about-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--text-dark);
    margin-bottom: 24px;
}

.about-content > p {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.7;
}

.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(--text-dark);
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: var(--amber-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-dark);
    flex-shrink: 0;
}

/* ===================================
   Services Section
=================================== */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--plum-pale) 100%);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--plum-pale) 0%, var(--plum-muted) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--plum-primary) 0%, var(--plum-light) 100%);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

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

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

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

.gallery-item:nth-child(1) img,
.gallery-item:nth-child(4) img {
    height: 360px;
}

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(3) img {
    height: 360px;
}

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

/* ===================================
   Contact Section
=================================== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum-primary) 50%, var(--plum-light) 100%);
    color: var(--white);
}

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

.contact .section-label {
    background: rgba(255, 255, 255, 0.15);
    color: var(--amber-light);
}

.contact h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--white);
    margin-bottom: 20px;
}

.contact > .container > .contact-grid > .contact-info > p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-light);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber-light);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--plum-muted);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(107, 33, 88, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #E8F5E9;
    border-radius: var(--radius-sm);
    color: #2E7D32;
    font-weight: 500;
    margin-top: 16px;
}

.form-success svg {
    flex-shrink: 0;
}

/* ===================================
   Footer
=================================== */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 12px;
}

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

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* ===================================
   Mobile Menu
=================================== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    padding: 80px 32px 32px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}

.nav-menu.active {
    right: 0;
}

.nav-menu a {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--plum-muted);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--plum-primary);
    padding-left: 8px;
}

.nav-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--plum-primary);
    padding: 8px;
}

/* ===================================
   Responsive
=================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .float-card-1 {
        left: 0;
    }
    
    .float-card-2 {
        right: 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-img-secondary {
        right: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .float-card {
        display: none;
    }
    
    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
        border: none;
    }
    
    .about-img-secondary img {
        width: 100%;
        height: 200px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 260px;
    }
}

/* ===================================
   Animations
=================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
