/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --plum-900: #2D1B33;
    --plum-800: #3D2450;
    --plum-700: #4A2D60;
    --plum-600: #5C3A78;
    --plum-500: #6B4490;
    --plum-400: #8B6AAF;
    --plum-300: #B09CC8;
    --plum-200: #D4C5E0;
    --plum-100: #EDE7F5;
    --plum-50: #F6F2FB;

    --amber-600: #D97706;
    --amber-500: #F59E0B;
    --amber-400: #FBBF24;
    --amber-300: #FCD34D;
    --amber-200: #FDE68A;
    --amber-100: #FEF3C7;
    --amber-50: #FFFBEB;

    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-600: #757575;
    --gray-800: #333333;
    --gray-900: #1A1A1A;

    --shadow-sm: 0 1px 3px rgba(45, 27, 51, 0.08);
    --shadow-md: 0 4px 16px rgba(45, 27, 51, 0.1);
    --shadow-lg: 0 8px 32px rgba(45, 27, 51, 0.12);
    --shadow-xl: 0 16px 48px rgba(45, 27, 51, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --font-body: 'Quicksand', sans-serif;
    --font-display: 'Playfair Display', serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

ul {
    list-style: none;
}

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

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--plum-100);
    transition: var(--transition);
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--plum-700);
}

.logo-icon {
    font-size: 1.5rem;
    line-height: 1;
}

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

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--plum-700);
    transition: var(--transition);
}

.nav-links a:hover {
    background: var(--plum-100);
    color: var(--plum-600);
}

.nav-cta {
    background: var(--plum-600) !important;
    color: var(--white) !important;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background: var(--plum-700) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--plum-700);
    border-radius: 2px;
    transition: var(--transition);
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

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

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 68, 144, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(107, 68, 144, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--plum-100);
    color: var(--plum-600);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--amber-500);
    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.3); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--plum-900);
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--plum-600);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(107, 68, 144, 0.3);
}

.btn-primary:hover {
    background: var(--plum-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(107, 68, 144, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--plum-700);
    border: 2px solid var(--plum-200);
}

.btn-secondary:hover {
    border-color: var(--plum-400);
    background: var(--plum-50);
    transform: translateY(-2px);
}

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

/* Floating Cards */
.floating-cards {
    position: relative;
    height: 420px;
    display: none;
}

.float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: float 6s ease-in-out infinite;
}

.float-card-1 {
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.float-card-2 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.float-card-3 {
    bottom: 0;
    right: 20px;
    animation-delay: 4s;
}

.float-card-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.float-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.float-card-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--plum-700);
}

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

.float-card-2 {
    animation-name: float2;
}

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

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

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

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--plum-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========== SERVICES ========== */
.services {
    padding: 100px 24px;
    background: var(--white);
}

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

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

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

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--plum-500), var(--plum-600));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--plum-800);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========== ABOUT ========== */
.about {
    padding: 100px 24px;
    background: var(--plum-50);
}

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

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

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

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

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

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

.about-floating-stat {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 2;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 4px;
    opacity: 0.9;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

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

.about-features {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--amber-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-600);
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--plum-800);
}

/* ========== GALLERY ========== */
.gallery {
    padding: 100px 24px;
    background: var(--white);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 27, 51, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

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

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

/* ========== CONTACT ========== */
.contact {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--plum-50) 0%, var(--amber-50) 100%);
}

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

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--plum-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-600);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--plum-800);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-item a {
    color: var(--plum-600);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--amber-600);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-800);
    margin-bottom: 8px;
}

.form-note {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--plum-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--plum-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--plum-50);
    transition: var(--transition);
    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(107, 68, 144, 0.1);
}

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

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

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

.success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--plum-800);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.form-success a {
    color: var(--amber-600);
    font-weight: 700;
}

/* ========== MAP ========== */
.map-section {
    background: var(--plum-100);
}

.map-section iframe {
    display: block;
    filter: saturate(0.8) contrast(1.05);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--plum-900);
    color: var(--plum-200);
    padding: 60px 24px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--plum-300);
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links ul {
    display: grid;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--plum-300);
}

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

.footer-links li a {
    display: inline;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--plum-300);
}

/* ========== ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
    .floating-cards {
        display: block;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .floating-cards {
        display: flex;
        justify-content: center;
        height: auto;
        gap: 16px;
        flex-wrap: wrap;
    }

    .float-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        animation: none;
    }

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

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

    .about-image-wrap {
        max-width: 500px;
    }

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

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

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 80px;
        min-height: auto;
    }

    .hero-card {
        padding: 32px 24px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .about-image-accent {
        right: -10px;
        bottom: -15px;
    }

    .about-floating-stat {
        top: -10px;
        right: -10px;
        padding: 14px 18px;
    }

    .stat-number {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 24px 20px;
    }

    .section-title {
        font-size: 1.6rem;
    }

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

    .contact-info-card,
    .contact-form-card {
        padding: 24px;
    }
}
