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

/* styles.css */

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

:root {
  /* Midnight Rose Palette */
  --bg: #120a10;
  --bg-alt: #1a0f18;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #e0a3ad; /* Dusty Rose */
  --accent-blush: #f4cfdf; /* Blush Pink */
  --accent-glow: rgba(224, 163, 173, 0.5);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.4);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;

  --header-height: 250px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* === BACKGROUND TEXTURE: Animated Gradient === */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(-45deg, #120a10, #1c111a, #25141e, #120a10);
    background-size: 400% 400%;
    animation: gradientBG 15s linear infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === SCROLL PROGRESS BAR === */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--accent);
    z-index: 1000;
}

/* === STRUCTURAL BASELINES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

section {
    padding: 70px 0;
    position: relative;
    z-index: 1;
}

/* Section Overlap Effect */
section + section {
    margin-top: -50px;
    padding-top: 120px;
}

.overlap-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    z-index: 2;
}

/* === TOP MEGA-HEADER === */
.mega-header {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
    height: var(--header-height);
}

.mega-header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 20px;
    align-items: center;
}

.brand-area {
    grid-column: 1 / 2;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent);
    letter-spacing: 2px;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.search-social-area {
    grid-column: 3 / 4;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.search-bar {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--text);
    width: 250px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.social-icons a:hover {
    color: var(--accent);
}

/* Tabbed Navigation */
.nav-area {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.tab-nav {
    display: flex;
    gap: 5px;
}

.nav-link {
    padding: 12px 25px;
    border-radius: 10px 10px 0 0;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    background: transparent;
}

.nav-link.active {
    background: var(--glass-bg);
    color: var(--accent);
    border: 1px solid var(--glass-border);
    border-bottom: none;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bg);
    z-index: 5;
}

.nav-link:hover:not(.active) {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
}

/* === HERO SECTION: Minimalist Stacked === */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent);
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 900px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

/* === BUTTONS: Neon Glow === */
.btn-neon {
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.btn-neon:hover {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
    animation: neon-pulse 1.5s infinite;
}

@keyframes neon-pulse {
    0% { box-shadow: 0 0 10px var(--accent-glow); }
    50% { box-shadow: 0 0 30px var(--accent-glow); }
    100% { box-shadow: 0 0 10px var(--accent-glow); }
}

/* === SECTION: BREADCRUMBS === */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

/* === SECTION: ABOUT (Mixed Density) === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    padding: 40px;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.about-image-main {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--bg-alt);
    padding: 25px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
}

/* === SECTION: SERVICES (High Density) === */
.services-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.service-card {
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    background: rgba(255,255,255,0.05);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent);
}

/* === SECTION: TEAM === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    background: var(--glass-bg);
    padding: 30px;
    border-radius: var(--radius-md);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--accent);
    padding: 5px;
}

/* === SECTION: TESTIMONIALS (Video Style) === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.video-testimonial {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-preview {
    position: relative;
    height: 250px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
}

.transcript {
    padding: 25px;
}

.transcript-text {
    font-style: italic;
    margin-bottom: 15px;
}

.author-info {
    font-weight: 600;
    color: var(--accent);
}

/* === INTERACTIVE: Accordion Knowledge Base === */
.knowledge-base {
    max-width: 800px;
    margin: 0 auto;
}

.kb-search {
    width: 100%;
    padding: 15px 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text);
    margin-bottom: 40px;
    font-family: var(--font-body);
}

.kb-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.kb-tab-btn {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-muted);
    cursor: pointer;
}

.kb-tab-btn.active {
    background: var(--accent);
    color: var(--bg);
}

.accordion-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-content p {
    padding-bottom: 20px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

/* === BLOG PREVIEW === */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--bg-alt);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.blog-thumb {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.blog-body {
    padding: 25px;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* === VIDEO SECTION === */
.video-section {
    text-align: center;
}

.video-player-container {
    max-width: 1000px;
    margin: 40px auto 0;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

/* === FOOTER: Contextual Footer === */
footer {
    background: #0a0609;
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-top-featured {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.mini-card {
    display: flex;
    gap: 15px;
    align-items: center;
    background: var(--glass-bg);
    padding: 15px;
    border-radius: var(--radius-md);
}

.mini-card img {
    width: 60px;
    height: 60px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    color: var(--accent);
    margin-bottom: 25px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-input {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    color: var(--text);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === INNER PAGES: Sidebar Layout === */
.inner-page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
}

.sidebar {
    position: sticky;
    top: 40px;
}

.sidebar-widget {
    background: var(--glass-bg);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    border: 1px solid var(--glass-border);
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 1024px) {
    .mega-header {
        height: auto;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .inner-page-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section { padding: 50px 0; }

    .mega-header-grid {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto;
    }

    .search-social-area, .nav-area {
        display: none;
    }

    .mega-header {
        padding: 15px 0;
    }

    .nav-toggle {
        display: block;
        font-size: 1.8rem;
        color: var(--accent);
        cursor: pointer;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg);
        z-index: 2000;
        padding: 40px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

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

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

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Utility */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }
