/* =========================================
   PREMIUM DESIGN SYSTEM & VARIABLES
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Luxurious Color Palette */
    --primary: #1A2B4C; /* Deep Navy Blue */
    --primary-light: #2A3F6A;
    --accent: #C5A880; /* Champagne Gold */
    --accent-hover: #D8BD97;
    --accent-light: rgba(197, 168, 128, 0.15);
    
    --bg-main: #FAFAFA; /* Soft Pearl White */
    --bg-surface: #FFFFFF;
    --bg-alt: #F3F5F8;
    
    --text-main: #2C3545;
    --text-muted: #64748B;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Shadows & Effects */
    --shadow-soft: 0 10px 40px -10px rgba(26, 43, 76, 0.08);
    --shadow-hover: 0 20px 40px -5px rgba(26, 43, 76, 0.12);
    --shadow-accent: 0 8px 25px -5px rgba(197, 168, 128, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.4s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Decorative Background Orbs */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

body::before {
    width: 600px;
    height: 600px;
    background: #E0E7FF;
    top: -200px;
    left: -200px;
}

body::after {
    width: 500px;
    height: 500px;
    background: var(--accent-light);
    bottom: 10%;
    right: -150px;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition-base); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: 24px; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 8rem 0; position: relative; }
.bg-alt { background-color: var(--bg-alt); }

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

.section-subtitle {
    color: var(--accent);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-title span {
    font-style: italic;
    color: var(--accent);
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    z-index: -1;
}

.btn:hover::before { transform: translateX(100%); }

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -5px rgba(197, 168, 128, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.header {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 100px;
    z-index: 1000;
    transition: var(--transition-base);
    box-shadow: var(--shadow-soft);
    padding: 0.75rem 1.5rem;
}

.header.scrolled {
    top: 0.5rem;
    width: 95%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-list { display: flex; gap: 2.5rem; }

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 50%;
    width: 4px; height: 4px;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0;
    transform: translateX(-50%) scale(0);
    transition: var(--transition-base);
}

.nav-link:hover::after, .nav-link.active::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.nav-link:hover, .nav-link.active { color: var(--primary); }

.nav-toggle, .nav-close {
    display: none;
    background: none; border: none;
    font-size: 1.5rem; color: var(--primary);
    cursor: pointer;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    padding: 12rem 0 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-surface);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    border: var(--glass-border);
}

.hero-badge i { color: var(--accent); }

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-title span {
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.hero-image-wrapper img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Floating Elements */
.float-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: var(--glass-border);
    padding: 1.25rem;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

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

.float-card.bottom-left {
    bottom: -30px;
    left: -30px;
    animation-delay: 3s;
}

.float-icon {
    width: 45px; height: 45px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
}

.float-text h4 { font-size: 1rem; margin-bottom: 0.2rem; font-family: var(--font-body); }
.float-text p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1; }

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

/* =========================================
   ABOUT SECTION
========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image { position: relative; }

.about-image img {
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.experience-card {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(26, 43, 76, 0.3);
    text-align: center;
}

.exp-number {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.exp-text { font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; }

.about-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2rem;
    color: var(--accent);
    margin-top: 2rem;
}

/* =========================================
   SERVICES SECTION
========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-surface);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
    z-index: -1;
}

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

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

.service-icon {
    width: 70px; height: 70px;
    background: var(--bg-alt);
    color: var(--primary);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--accent);
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

/* =========================================
   TESTIMONIALS SECTION
========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-surface);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 2rem; right: 2rem;
    font-size: 4rem;
    color: var(--accent-light);
    font-family: serif;
    line-height: 1;
}

.stars { color: var(--accent); margin-bottom: 1.5rem; font-size: 1.1rem; }

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.author { display: flex; align-items: center; gap: 1rem; }

.author-img {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-family: var(--font-display);
}

.author-info h4 { font-size: 1rem; font-family: var(--font-body); margin-bottom: 0.2rem; }
.author-info p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* =========================================
   CONTACT SECTION
========================================= */
.contact-wrapper {
    background: var(--primary);
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 30px 60px rgba(26, 43, 76, 0.2);
}

.contact-info {
    padding: 5rem;
    color: white;
}

.contact-info h2 { color: white; margin-bottom: 3rem; }

.info-item { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; }

.info-icon {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
}

.info-content h4 { color: white; font-family: var(--font-body); font-size: 1.1rem; margin-bottom: 0.5rem; }
.info-content p { color: rgba(255,255,255,0.7); }

.contact-map iframe { width: 100%; height: 100%; min-height: 500px; border: none; }

/* =========================================
   FOOTER
========================================= */
.footer {
    background: #0F172A;
    color: white;
    padding: 6rem 0 2rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo { color: white; margin-bottom: 1.5rem; }
.footer-logo i { color: var(--accent); }

.footer-desc { color: #94A3B8; max-width: 350px; }

.footer h4 { color: white; font-family: var(--font-body); margin-bottom: 1.5rem; }

.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #94A3B8; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: #94A3B8;
    font-size: 0.9rem;
}

/* =========================================
   PREMIUM SCROLL ANIMATIONS
========================================= */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale, .stagger-item {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-up { transform: translateY(60px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-scale { transform: scale(0.9) translateY(40px); }
.stagger-item { transform: translateY(50px); }

/* Active states */
.reveal-up.active, 
.reveal-left.active, 
.reveal-right.active, 
.stagger-item.active {
    opacity: 1;
    transform: translate(0);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .hero-container, .about-container, .contact-wrapper { grid-template-columns: 1fr; gap: 4rem; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .experience-card { bottom: -20px; right: 20px; padding: 1.5rem; }
    .exp-number { font-size: 3rem; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header { width: 100%; border-radius: 0; top: 0; padding: 1rem; }
    .hero { padding-top: 8rem; }
    .hero-title { font-size: 2.8rem; }
    
    .nav-toggle { display: block; }
    .header-actions { display: none; }
    
    .nav {
        position: fixed; top: 0; right: -100%;
        width: 100%; height: 100vh;
        background: var(--bg-surface);
        padding: 5rem 2rem;
        transition: var(--transition-base);
    }
    .nav.active { right: 0; }
    .nav-list { flex-direction: column; text-align: center; font-size: 1.5rem; }
    .nav-close { display: block; position: absolute; top: 1.5rem; right: 1.5rem; }
    
    .contact-info { padding: 3rem 2rem; }
    .footer-container { grid-template-columns: 1fr; }
}
