/* 
   Dejavu Media - CSS Design System & Global Styles
   Author: Antigravity AI
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --bg-color: #f2eefc;          /* Pastel lavender background */
    --text-color: #2b1c3c;        /* Deep plum / dark violet */
    --text-muted: #564c63;       /* Subdued violet for descriptions */
    --nav-bg: #352545;            /* Dark plum navigation bar */
    --accent-color: #f2c000;      /* Vibrant gold / yellow accent */
    --accent-dark: #dca200;       /* Darker gold for active hover */
    --white: #ffffff;
    --border-color: rgba(43, 28, 60, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows & Transitions */
    --shadow-nav: 0 10px 30px rgba(35, 21, 51, 0.2);
    --shadow-card: 0 15px 35px rgba(43, 28, 60, 0.06);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    transition: var(--transition);
}

/* Page Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    padding: 2rem 0;
    position: relative;
    z-index: 100;
}

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

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 1.5px;
    position: relative;
    cursor: pointer;
}

.logo-main {
    display: flex;
    align-items: center;
    color: var(--text-color);
}

/* Dynamic chevron/A shape in DEJAVU */
.logo-chevron {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 -2px;
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    align-self: flex-end;
    margin-top: -4px;
    letter-spacing: 0.5px;
}

/* Floating Navigation Bar */
.nav-container {
    background-color: var(--nav-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-nav);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
    height: 52px;
    transition: var(--transition);
}

/* Left Accent Highlight Bar */
.nav-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    background-color: var(--accent-color);
    border-radius: 0 2px 2px 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    font-family: var(--font-heading);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a.active {
    font-weight: 600;
}

/* Language Switcher Badge */
.lang-switcher {
    background-color: var(--white);
    border: 1.5px solid var(--accent-color);
    border-radius: 8px;
    padding: 0.4rem 0.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-color);
    box-shadow: 0 4px 6px rgba(43, 28, 60, 0.05);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.lang-switcher:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.mobile-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Main Content Area */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Left Text Details */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 5rem;
    line-height: 1.1;
    color: var(--text-color);
    position: relative;
    z-index: 5;
}

/* Highlighted "ll" in capsule */
.ll-highlight {
    background-color: var(--accent-color);
    color: var(--text-color);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    padding: 0.2rem 0.6rem;
    margin: 0 4px;
    border-radius: 12px;
    line-height: 0.85;
    position: relative;
    top: 5px;
}

.ll-highlight span {
    display: block;
    font-weight: 800;
    font-size: 1.15rem;
    font-family: var(--font-heading);
}

.title-row-2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

/* Star/A Shape Overlay Graphic */
.title-graphic-a {
    position: absolute;
    left: 280px;
    top: -45px;
    z-index: -1;
    width: 330px;
    pointer-events: none;
    opacity: 0.95;
    animation: floatGraphic 6s ease-in-out infinite;
}

.title-graphic-a img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes floatGraphic {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(0.5deg); }
}

/* Intro Paragraph with Left Accent line */
.hero-description-wrapper {
    position: relative;
    padding-left: 1.5rem;
}

.hero-description-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--accent-color);
    border-radius: 4px;
}

.hero-description {
    font-size: 1.05rem;
    font-family: var(--font-body);
    color: var(--text-muted);
    max-width: 580px;
    text-align: justify;
}

/* Hero Right Media Container */
.hero-media {
    position: relative;
    justify-self: end;
}

.hero-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(43, 28, 60, 0.12);
    aspect-ratio: 2.3 / 3.4;
    width: 380px;
    border: 2px solid var(--white);
    transition: var(--transition-slow);
}

.hero-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 50px rgba(43, 28, 60, 0.18);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Yellow accent bar below the photo */
.hero-media::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 80%;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 3px;
    z-index: -1;
}

/* Footer Section */
footer {
    background-color: var(--text-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-top: auto;
}

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

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

.footer-brand h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-brand p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-links h5,
.footer-contact h5 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 4px;
}

.footer-links h5::after,
.footer-contact h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* Page Headers (Services, Blog, Legal) */
.page-hero {
    background-color: var(--text-color);
    color: var(--white);
    padding: 6rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    right: -10%;
    top: -50%;
    width: 400px;
    height: 400px;
    background-color: var(--accent-color);
    opacity: 0.05;
    border-radius: 50%;
    pointer-events: none;
}

.page-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    font-weight: 300;
}

/* Content Sections */
.section-padding {
    padding: 5rem 0;
}

/* Inner Page Layouts */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-slow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(43, 28, 60, 0.1);
    border-color: rgba(242, 192, 0, 0.4);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(242, 192, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent-dark);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    color: var(--accent-dark);
    font-weight: 900;
}

/* Blog Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-slow);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(43, 28, 60, 0.08);
}

.blog-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: var(--text-color);
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-img img {
    transform: scale(1.06);
}

.blog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

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

.blog-body h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-body h3 a:hover {
    color: var(--accent-dark);
}

.blog-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-readmore {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-readmore::after {
    content: '→';
    transition: var(--transition);
}

.blog-readmore:hover::after {
    transform: translateX(4px);
}

/* Blog Post Detail */
.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 2.5rem 0 1.2rem 0;
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    text-align: justify;
}

.post-blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem 2rem;
    background-color: rgba(242, 192, 0, 0.05);
    border-radius: 0 12px 12px 0;
    margin: 2.5rem 0;
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Legal Pages Styling */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem;
    background-color: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    color: var(--text-color);
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 1.8rem 0 0.8rem 0;
    color: var(--text-color);
}

.legal-content p, .legal-content ul {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Coming Soon Pages */
.coming-soon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem;
    flex: 1;
}

.coming-soon-badge {
    background-color: rgba(242, 192, 0, 0.15);
    color: var(--accent-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.coming-soon-wrapper h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.coming-soon-wrapper p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 500px;
    margin-bottom: 3rem;
}

.btn-primary {
    background-color: var(--nav-bg);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(53, 37, 69, 0.15);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .title-graphic-a {
        width: 180px;
        height: 180px;
        left: 170px;
        top: -30px;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-media {
        justify-self: center;
        order: -1; /* Move image to the top on tablet/mobile */
    }
    
    .hero-description-wrapper {
        padding-left: 0;
        padding-top: 1rem;
    }
    
    .hero-description-wrapper::before {
        left: 10%;
        top: 0;
        width: 80%;
        height: 4px;
    }
    
    .hero-description {
        margin: 0 auto;
        text-align: center;
    }
    
    .title-graphic-a {
        display: none; /* Hide graphic to avoid overlapping issues on small screens */
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-container {
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        border: none;
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    header .container {
        position: relative;
    }
    
    /* Toggle Mobile Navigation Menu */
    .mobile-nav-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: var(--nav-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 2rem 2rem;
        gap: 2.5rem;
        border-radius: 0;
        transition: var(--transition-slow);
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    }
    
    .nav-container.open {
        right: 0;
    }
    
    .nav-container::before {
        display: none;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 0.8rem;
    }
    
    /* Active Burger Menu Animation */
    .mobile-nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background-color: var(--white);
    }
    
    .mobile-nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: var(--white);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-image-wrapper {
        width: 100%;
        max-width: 320px;
    }
}
