/* CSS Design System for Ddesign Mantra - High Contrast Custom Brand Theme */

:root {
    /* Color Palette matching the Logo */
    --color-bg-deep: #f5ebe0;  /* Warm cream/beige background from the logo */
    --color-bg-alt: #eae0d5;   /* Slightly deeper warm beige for section contrast */
    --color-bg-card: #ffffff;  /* Clean contrasting white for cards */
    --color-text-dark: #3d2f26; /* Deep bronze-charcoal for high-contrast text */
    --color-text-muted: #5e4c40; /* Clearly readable warm medium brown */
    --color-accent-gold: #8b5e3c; /* Brand bronze-gold from the logo lines */
    --color-accent-gold-hover: #6d4425;
    --color-accent-sage: #505c4e; /* Muted sage for secondary accents */
    --color-border: rgba(61, 47, 38, 0.12); /* Fine border in brand tone */
    
    /* Layout & Spacing */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1100px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--color-bg-alt);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-gold);
}

/* Typography & Titles */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-text-dark);
}

.highlight {
    color: var(--color-accent-gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--color-text-dark);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-accent-gold);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-dark);
    border: 1px solid var(--color-text-dark);
}

.btn-secondary:hover {
    background-color: var(--color-text-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-nav {
    padding: 0.5rem 1.4rem;
    font-size: 0.75rem;
    border: 1px solid var(--color-text-dark);
    background: transparent;
    color: var(--color-text-dark);
}

.btn-nav:hover {
    background: var(--color-text-dark);
    color: #ffffff;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(245, 235, 224, 0.95); /* Cream brand overlay */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1300px; /* Increased width to shift logo to the left */
    margin: 0 auto;
    padding: 0.4rem 2rem; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.header-logo-img {
    height: 60px; /* Reduced logo size to keep navbar compact */
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    line-height: 1.1;
}

.logo-line-1 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-line-2 {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--color-accent-gold);
    margin-top: 0.1rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto; /* Push nav to the right and prevent overlap */
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3.5px; /* Added more gap/spacing in the text of top nav bar links */
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.nav-link:hover {
    color: var(--color-text-dark);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--color-text-dark);
    transition: var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-bg-deep);
    border-left: 1px solid var(--color-border);
    z-index: 999;
    padding: 7rem 2rem 2rem;
    transition: var(--transition-smooth);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.mobile-link:hover {
    color: var(--color-text-dark);
}

.mobile-btn {
    text-align: center;
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh; /* Increased to fit the viewport 100% without leaving a gap below */
    display: flex;
    align-items: center;
    padding-top: 100px;
    background-image: url('hero-bg.jpg?v=7');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 235, 224, 0.65); /* More opacity for background overlay to pop text contrast */
    z-index: 1;
}

.hero-content.container {
    max-width: 1300px; /* Align with the expanded header */
}

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

.hero-subtitle,
.hero-title,
.hero-desc,
.hero-actions {
    max-width: 620px; /* Force text to stay on the clean left side, leaving right side sofa fully visible */
}

.hero-subtitle {
    display: inline-block;
    color: var(--color-text-dark);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.25;
    font-weight: 600; 
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 12px rgba(245, 235, 224, 0.95), 0 2px 30px rgba(61, 47, 38, 0.15);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    font-weight: 500;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 12px rgba(245, 235, 224, 0.95), 0 2px 30px rgba(61, 47, 38, 0.15);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.section-header.text-center {
    text-align: center;
}

.section-subtitle {
    color: var(--color-accent-gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

.section-intro {
    max-width: 650px;
    margin: 1rem auto 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.divider {
    width: 45px;
    height: 2px;
    background-color: var(--color-accent-gold);
    margin-top: 1rem;
}

.divider.center {
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    padding: 7rem 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
}

.about-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 3rem;
    border-radius: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(61, 47, 38, 0.05);
    border-color: var(--color-accent-gold);
}

.card-icon {
    color: var(--color-accent-gold);
    margin-bottom: 1.2rem;
}

.about-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.expert-label {
    color: var(--color-accent-sage);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.card-quote {
    font-style: italic;
    color: var(--color-accent-gold);
    border-left: 2px solid var(--color-accent-gold);
    padding-left: 1rem;
    font-size: 0.95rem;
}

/* Target Audience Section - Adding Contrast Background */
.audience {
    background-color: var(--color-bg-alt);
    padding: 7rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 3rem;
}

.audience-block h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-sage);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.audience-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.audience-list li strong {
    font-size: 1rem;
    color: var(--color-text-dark);
    display: block;
    margin-bottom: 0.3rem;
}

.audience-list li p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Services / Pillars Section */
.services {
    background-color: var(--color-bg-card);
    padding: 7rem 0;
    border-bottom: 1px solid var(--color-border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    margin-top: 3.5rem;
}

.service-item {
    display: flex;
    gap: 1.8rem;
    align-items: flex-start;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-accent-gold);
    line-height: 1;
}

.service-content h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.service-concept {
    color: var(--color-accent-sage);
    font-style: italic;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.service-details {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Process Section - Adding Contrast Background */
.process {
    padding: 7rem 2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.process-card {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    border-radius: 0;
    transition: var(--transition-smooth);
}

.process-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-accent-gold);
}

.process-step {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-accent-gold);
    margin-bottom: 1rem;
}

.process-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}

.process-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Portfolio / Before-After Slider Section */
.portfolio {
    padding: 7rem 2rem;
    border-top: 1px solid var(--color-border);
}

.slider-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.comparison-slider {
    position: relative;
    width: 100%;
    max-width: 760px;
    height: 440px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(61, 47, 38, 0.05);
    border: 1px solid var(--color-border);
}

.comparison-slider .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.background-img {
    background-image: url('slider-before.jpg?v=5');
}

.foreground-img {
    background-image: url('slider-after.jpg?v=5');
    width: 50%;
    border-right: 2px solid var(--color-accent-gold);
}

.comparison-slider .label {
    position: absolute;
    bottom: 20px;
    padding: 0.4rem 0.8rem;
    background-color: #ffffff;
    color: var(--color-text-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
    border: 1px solid var(--color-border);
}

.label-before {
    left: 20px;
}

.label-after {
    right: 20px;
}

/* Hidden input overlay for control */
.comparison-slider .slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    transition: all 0.2s;
    cursor: ew-resize;
    z-index: 10;
}

.comparison-slider .slider-button {
    pointer-events: none;
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: var(--color-accent-gold);
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 5;
}

.comparison-slider .slider-button::after {
    content: '↔';
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--color-text-dark);
    box-shadow: 0 4px 10px rgba(61, 47, 38, 0.08);
    border: 1px solid var(--color-border);
    font-size: 0.9rem;
}

/* Footer & Enquiry Form */
.footer {
    background-color: var(--color-bg-alt);
    padding: 6rem 0 3.5rem;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
}

.footer-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.footer-logo-img {
    height: 144px; /* Increased by 4x */
    width: auto;
    object-fit: contain;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0;
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.legal-links {
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

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

.legal-links a:hover {
    color: var(--color-text-dark);
}

.copyright {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.8;
}

.footer-right iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

/* Modals Overlay Container */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 235, 224, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-container.active {
    display: flex;
}

.modal-content {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    max-width: 540px;
    width: 100%;
    border-radius: 0;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(61, 47, 38, 0.05);
    display: none;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content.active {
    display: block;
    animation: modalFadeIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--color-text-dark);
}

.modal-content h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    color: var(--color-text-dark);
}

.modal-body h4 {
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: #111111;
}

.modal-body p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

/* Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .nav {
        gap: 1.2rem;
    }

    .nav-link {
        letter-spacing: 2px;
        font-size: 0.7rem;
    }

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

@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .header-container {
        padding: 0.4rem 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about,
    .process,
    .portfolio {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }

    .audience,
    .services {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }

    .section-header {
        margin-top: 0.5rem;
    }

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

    .hero-subtitle,
    .hero-title,
    .hero-desc,
    .hero-actions {
        max-width: 100%;
    }

    .about-card {
        padding: 2.5rem;
    }

    .footer-brand-wrapper {
        flex-wrap: wrap;
    }

    .footer-logo-img {
        height: 96px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .header-container {
        padding: 0.35rem 1.25rem;
    }

    .header-logo-img {
        height: 48px;
    }

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

    .logo-line-2 {
        font-size: 0.7rem;
    }

    .hero {
        min-height: auto;
        padding: 7.5rem 0 4rem;
        background-position: 70% center;
    }

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

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

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

    .section-intro {
        font-size: 0.9rem;
    }

    .comparison-slider {
        height: 280px;
    }

    .comparison-slider .label {
        font-size: 0.65rem;
        padding: 0.3rem 0.55rem;
        bottom: 12px;
    }

    .label-before {
        left: 12px;
    }

    .label-after {
        right: 12px;
    }

    .about,
    .process,
    .portfolio {
        padding: 4.5rem 1.25rem;
    }

    .audience,
    .services,
    .footer {
        padding: 4.5rem 0;
    }

    .about-card {
        padding: 2rem;
    }

    .service-item {
        gap: 1.2rem;
    }

    .service-number {
        font-size: 1.6rem;
        flex-shrink: 0;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }

    .footer-logo-img {
        height: 80px;
    }

    .footer-brand {
        font-size: 1.15rem;
    }

    .mobile-drawer {
        width: min(280px, 85vw);
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-container {
        padding: 0.3rem 1rem;
    }

    .logo-text {
        display: none;
    }

    .hero {
        padding: 6.5rem 0 3.5rem;
    }

    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }

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

    .btn {
        padding: 0.85rem 1.6rem;
        letter-spacing: 1.5px;
    }

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

    .section-subtitle {
        letter-spacing: 2.5px;
        font-size: 0.7rem;
    }

    .about,
    .process,
    .portfolio {
        padding: 3.5rem 1rem;
    }

    .audience,
    .services,
    .footer {
        padding: 3.5rem 0;
    }

    .about-card,
    .process-card {
        padding: 1.5rem;
    }

    .comparison-slider {
        height: 220px;
    }

    .comparison-slider .label {
        max-width: 42%;
        white-space: normal;
        line-height: 1.3;
    }

    .footer-logo-img {
        height: 64px;
    }

    .loader-title {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
}

/* Premium Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-deep);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    margin-bottom: 2rem;
    position: relative;
}

.loader-svg {
    animation: loaderRotate 8s linear infinite;
}

.loader-circle {
    stroke-dasharray: 250;
    stroke-dashoffset: 250;
    animation: drawCircle 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loader-rect {
    stroke-dasharray: 224;
    stroke-dashoffset: 224;
    animation: drawRect 2.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.loader-title {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    animation: loaderTextFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.loader-bar-wrapper {
    width: 120px;
    height: 1px;
    background-color: var(--color-border);
    margin: 0.6rem 0;
    overflow: hidden;
    opacity: 0;
    animation: loaderTextFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.loader-bar {
    width: 100%;
    height: 100%;
    background-color: var(--color-accent-gold);
    transform: translateX(-100%);
    animation: fillBar 1.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.loader-subtitle {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    font-family: var(--font-heading);
    opacity: 0;
    transform: translateY(10px);
    animation: loaderTextFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

/* Loader Animations */
@keyframes loaderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawRect {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes loaderTextFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fillBar {
    to {
        transform: translateX(0);
    }
}

