/* ========================================
   CSS Variables & Reset
======================================== */
:root {
    --plum-deep: #7B2CBF;
    --plum-mid: #9D4EDD;
    --plum-light: #C77DFF;
    --plum-pale: #E0AAFF;
    --plum-bg: #F5F0FA;
    
    --amber-warm: #E8963F;
    --amber-light: #F5C07A;
    --amber-pale: #FFF3E0;
    
    --text-dark: #2D1B4E;
    --text-mid: #5A4678;
    --text-light: #8B7AA6;
    --text-white: #FFFFFF;
    
    --bg-body: #FFFAF5;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    
    --shadow-sm: 0 2px 8px rgba(123, 44, 191, 0.06);
    --shadow-md: 0 8px 30px rgba(123, 44, 191, 0.1);
    --shadow-lg: 0 20px 60px rgba(123, 44, 191, 0.15);
    --shadow-card: 0 4px 20px rgba(123, 44, 191, 0.08);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 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(--bg-body);
    line-height: 1.7;
    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;
}

/* ========================================
   Background Blobs
======================================== */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--plum-pale);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--amber-pale);
    bottom: 20%;
    left: -100px;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--plum-bg);
    top: 50%;
    right: 10%;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

.text-gradient {
    background: linear-gradient(135deg, var(--plum-mid), var(--amber-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-mid);
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1), rgba(232, 150, 63, 0.1));
    padding: 6px 16px;
    border-radius: 50px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* ========================================
   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: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--plum-mid), var(--plum-deep));
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(157, 78, 221, 0.4);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--plum-mid);
    border: 2px solid var(--plum-pale);
}

.btn-secondary:hover {
    background: var(--plum-bg);
    border-color: var(--plum-mid);
}

.btn-full {
    width: 100%;
}

/* ========================================
   Navbar
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 250, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.logo span {
    color: var(--plum-mid);
}

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

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

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--plum-mid), var(--amber-warm));
    transition: var(--transition);
    border-radius: 2px;
}

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

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
}

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

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

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

.greeting-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--amber-warm);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-mid);
    margin-bottom: 32px;
    line-height: 1.8;
}

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

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

.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.card-main {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(123, 44, 191, 0.15), transparent 50%);
    border-radius: var(--radius-lg);
}

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

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

.float-card .stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--plum-deep);
}

.float-card .stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

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

.float-2 {
    bottom: 60px;
    right: -30px;
    animation-delay: 2s;
}

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

/* ========================================
   About Section
======================================== */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.about-images {
    position: relative;
    height: 550px;
}

.img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: absolute;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.img-1 {
    width: 280px;
    height: 360px;
    top: 0;
    left: 0;
    z-index: 1;
}

.img-2 {
    width: 260px;
    height: 320px;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.experience-badge {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--plum-mid), var(--plum-deep));
    color: var(--text-white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    z-index: 3;
    box-shadow: var(--shadow-lg);
}

.experience-badge .exp-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1;
}

.experience-badge .exp-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.85;
    margin-top: 4px;
}

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

.about-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
}

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

.features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

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

/* ========================================
   Services Section
======================================== */
.services {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(157, 78, 221, 0.06);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1), rgba(232, 150, 63, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-mid);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 600;
}

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

/* ========================================
   Gallery Section
======================================== */
.gallery {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 3/4;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(123, 44, 191, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.9rem;
}

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

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

/* ========================================
   Contact Section
======================================== */
.contact {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.contact-info h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-mid);
    font-size: 1.05rem;
    margin-bottom: 36px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--plum-pale), var(--amber-pale));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-deep);
    flex-shrink: 0;
}

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

.info-item p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.info-item a:hover {
    color: var(--plum-mid);
}

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

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plum-mid), var(--amber-warm));
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--plum-bg);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-body);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-mid);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(157, 78, 221, 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;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--plum-pale), var(--amber-pale));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--plum-deep);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-light);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

.footer-links h4,
.footer-hours h4 {
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links ul,
.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--plum-pale);
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.9rem;
}

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

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-visual {
        height: 400px;
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .float-1 {
        left: 0;
    }
    
    .float-2 {
        right: 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        height: 400px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        height: 320px;
    }
    
    .float-card {
        padding: 12px 14px;
    }
    
    .float-card .icon-box {
        width: 36px;
        height: 36px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .img-1 {
        width: 200px;
        height: 260px;
    }
    
    .img-2 {
        width: 180px;
        height: 220px;
    }
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 27, 78, 0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.nav-overlay.show {
    opacity: 1;
    pointer-events: all;
}
