/* Custom Styles for Dynamic Design Factory */

/* Color System - Enhanced Palette */
:root {
    /* Dark Mode Colors */
    --dark-bg-primary: #0a0e27;
    --dark-bg-secondary: #1a1f3a;
    --dark-card-bg: #1e2749;
    --dark-card-hover: #252f52;
    --dark-accent: #3b82f6;
    --dark-accent-hover: #2563eb;
    --dark-border: rgba(59, 130, 246, 0.3);
    --dark-text-primary: #ffffff;
    --dark-text-secondary: #cbd5e1;
    
    /* Light Mode Colors */
    --light-bg-primary: #f8fafc;
    --light-bg-secondary: #f1f5f9;
    --light-card-bg: #ffffff;
    --light-card-hover: #f8fafc;
    --light-accent: #1e40af;
    --light-accent-hover: #1e3a8a;
    --light-border: rgba(30, 64, 175, 0.2);
    --light-text-primary: #0f172a;
    --light-text-secondary: #475569;
    
    /* Brand Colors */
    --brand-primary: #000138;
    --brand-secondary: #3b82f6;
    --brand-accent: #8b5cf6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 'Archivo', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--light-text-primary);
    background-color: var(--light-bg-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 800;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

/* ============================================
   MOMO TRUST DISPLAY - ALL CONTENT FONT
   REMOVED: Font change undone as it was affecting symbols
   ============================================ */

/* Smooth scrolling for browsers that support it */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}

/* Outlined Text Effect */
.text-outlined {
    color: transparent;
    -webkit-text-stroke: 1.5px #1a1d24;
    paint-order: stroke fill;
}

/* Prevent text from breaking on CTA heading */
.cta-last-line {
    white-space: nowrap;
    display: inline-block;
}

.cta-last-line .split-char,
.cta-last-line .split-word {
    display: inline-block;
}

@media (max-width: 1024px) {
    .cta-last-line {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .cta-last-line {
        white-space: normal;
        font-size: 2rem !important;
    }
}

/* Outlined text on dark backgrounds */
section[class*="bg-[#0"] .text-outlined,
section[class*="bg-[#1"] .text-outlined {
    -webkit-text-stroke: 1.5px #ffffff;
}

/* Specifically for Why Choose section - now light mode */
#stats .text-outlined {
    -webkit-text-stroke: 1.5px #1a1d24;
}

/* Product Options section - dark mode outlined text */
#product-options .text-outlined {
    -webkit-text-stroke: 1.5px #ffffff;
}

/* Services section - dark mode outlined text */
#services .text-outlined {
    -webkit-text-stroke: 1.5px #ffffff;
}

/* Process section - dark mode outlined text */
#process .text-outlined {
    -webkit-text-stroke: 1.5px #ffffff;
}

/* Final CTA section - dark mode outlined text */
section:has(.cta-last-line) .text-outlined {
    -webkit-text-stroke: 1.5px #ffffff;
}

/* Load BebasNeue Font */
@font-face {
    font-family: 'BebasNeue';
    src: url('./fonts/BebasNeue-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Load Oswald Fonts */
@font-face {
    font-family: 'Oswald';
    src: url('./fonts/Oswald-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('./fonts/Oswald-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Use Oswald for paragraphs and footer text (Light for regular, SemiBold for headings) */
p,
footer p,
footer a,
footer li,
footer small,
footer span:not(.fa):not(.fas):not(.far):not(.fab) {
    font-family: 'Oswald', 'Archivo', sans-serif !important;
    font-weight: 300 !important; /* Oswald Light */
}

.hero-typewriter {
    font-family: 'BebasNeue', 'Unbounded', sans-serif !important;
    letter-spacing: 0.05em; /* Increased character spacing */
    position: relative;
    min-height: 0.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* Reduced from 3x to 2x (200% increase from original) */
    font-size: 7.5rem !important; /* 2x text-6xl (3.75rem) */
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
}

/* Image fill for animated text characters */
.hero-typewriter .word,
.hero-typewriter .char {
    background-image: url('images/12.jpg');
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (min-width: 640px) {
    .hero-typewriter {
        font-size: 9rem !important; /* 2x text-7xl (4.5rem) */
    }
}

@media (min-width: 768px) {
    .hero-typewriter {
        font-size: 12rem !important; /* 2x text-8xl (6rem) */
    }
}

@media (min-width: 1024px) {
    .hero-typewriter {
        font-size: 16rem !important; /* 2x text-9xl (8rem) */
    }
}

.hero-typewriter .word {
    display: inline-block;
    white-space: nowrap;
    font-family: 'BebasNeue', 'Unbounded', sans-serif !important;
}

.hero-typewriter .word .char {
    display: inline-block;
    opacity: 0;
    font-family: 'BebasNeue', 'Unbounded', sans-serif !important;
}

/* Ensure BebasNeue is applied to all typewriter elements */
#typewriter,
#typewriter * {
    font-family: 'BebasNeue', 'Unbounded', sans-serif !important;
}

/* Service Title - Elegant BebasNeue Font */
.service-title {
    font-family: 'BebasNeue', 'Archivo Black', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    line-height: 1.2;
}

#product-options .group:hover .service-title {
    color: #0f1419;
}

/* Icon alignment fix for Stats section */
#stats .product-card .fas {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    text-align: center;
}

/* Product Cards - No Border, Glow Effect on Hover */
.product-card {
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

/* Blue Card Glow */
.product-card-blue {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.product-card-blue:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6), 0 0 60px rgba(59, 130, 246, 0.4), 0 10px 40px rgba(59, 130, 246, 0.3) !important;
}

/* Purple Card Glow */
.product-card-purple {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.product-card-purple:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6), 0 0 60px rgba(139, 92, 246, 0.4), 0 10px 40px rgba(139, 92, 246, 0.3) !important;
}

/* Pink Card Glow */
.product-card-pink {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.product-card-pink:hover {
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.6), 0 0 60px rgba(236, 72, 153, 0.4), 0 10px 40px rgba(236, 72, 153, 0.3) !important;
}

/* Green Card Glow */
.product-card-green {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.product-card-green:hover {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6), 0 0 60px rgba(16, 185, 129, 0.4), 0 10px 40px rgba(16, 185, 129, 0.3) !important;
}

/* Amber Card Glow */
.product-card-amber {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.product-card-amber:hover {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.6), 0 0 60px rgba(245, 158, 11, 0.4), 0 10px 40px rgba(245, 158, 11, 0.3) !important;
}

/* Cyan Card Glow */
.product-card-cyan {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.product-card-cyan:hover {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6), 0 0 60px rgba(6, 182, 212, 0.4), 0 10px 40px rgba(6, 182, 212, 0.3) !important;
}

/* Service Badge - Large Timing Display */
.service-badge {
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Ensure checkmark icons stay aligned during animations */
#product-options .fas.fa-check {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    will-change: auto;
}

/* CTA Button - Glow Effect like Product Cards */
.cta-button {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.cta-button:hover {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6), 0 0 80px rgba(139, 92, 246, 0.5), 0 0 120px rgba(236, 72, 153, 0.4), 0 10px 40px rgba(59, 130, 246, 0.3) !important;
    transform: scale(1.05);
}

.split-target {
    display: inline-block;
}

.split-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.split-char,
.split-word {
    display: inline-block;
    /* Don't hide by default - let GSAP handle it */
}

/* Remove default button styles */
button {
    cursor: pointer;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 16px !important;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.15);
    transform-style: preserve-3d;
}

button:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

button:active {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(0px);
}

/* Button Ripple Effect */
button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before {
    width: 300px;
    height: 300px;
}

/* Prevent text selection on buttons during interaction */

/* Card Hover Effects - Enhanced */
section > div > div:hover,
.grid > div:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Removed typewriter cursor effect */


/* Mobile menu transition */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Hover scale effects */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

/* Gradient Overlay for Sections */
section {
    position: relative;
}

/* Solid backgrounds only (remove gradients) */
.bg-black { background: #000 !important; }
.bg-white { background: #fff !important; }

/* Ensure all content is visible by default (GSAP will handle hiding) */
.grid > div,
section > div > div {
    visibility: visible !important;
}

/* Smooth transitions for all interactive elements */
a, button, .grid > div {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced icon animations */
.fas, .far, .fab {
    display: inline-block;
    transition: transform 0.3s ease;
}

.grid > div:hover .fas,
.grid > div:hover .far,
.grid > div:hover .fab {
    transform: scale(1.15) rotate(5deg);
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Elegant scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* (shimmer removed to avoid gradient-looking backgrounds) */

/* Rounded corners globally for cards and buttons */
.border-4 { border-radius: 12px; }

/* Print styles (if needed) */
@media print {
    nav, footer {
        display: none;
    }
}

/* Performance optimization */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Better focus states for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 4px solid #000138;
    outline-offset: 4px;
}

/* Menu Icon Button */
.menu-icon-btn {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.menu-icon-btn:hover {
    transform: scale(1.05) !important;
}

/* Slide-in Menu */
.slide-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: #000000;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 60px 40px;
}

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

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.close-menu-btn:hover {
    color: #888;
    transform: none !important;
}

.slide-menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    margin-top: 60px;
}

.slide-menu-item {
    font-family: 'Archivo Black', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    padding: 20px 0;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    text-align: left;
    position: relative;
}

.slide-menu-item:hover {
    color: #666;
    transform: translateX(10px);
}

.slide-menu-item.active {
    color: white;
    -webkit-text-stroke: 2px white;
    paint-order: stroke fill;
    color: transparent;
}

.slide-menu-social {
    display: flex;
    gap: 30px;
    margin-top: auto;
    padding-top: 40px;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #666;
    transform: scale(1.2);
}

/* Overlay for menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Box Card Styling - Navy color, rounded corners, and shadow */
.box-card {
    border-color: #000138 !important;
    box-shadow: 0 4px 6px rgba(0, 1, 56, 0.3), 0 2px 4px rgba(0, 1, 56, 0.2);
    transition: all 0.3s ease;
}

.box-card:hover {
    box-shadow: 0 8px 12px rgba(0, 1, 56, 0.4), 0 4px 8px rgba(0, 1, 56, 0.3);
}

/* Product Options Cards - Dark Mode Styling */
#product-options .box-card {
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
}

#product-options .box-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Glass button style for CTA */
.glass-btn {
    background: rgba(10, 10, 10, 0.6) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 9999px !important; /* fully rounded */
    padding: 0.75rem 1.5rem !important; /* ~py-3 px-6 */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.glass-btn:hover {
    background: rgba(15, 15, 15, 0.7) !important;
}

/* Footer Styles */
.footer-new {
    width: 100%;
}

.footer-ribbon {
    width: 100%;
    height: 60px;
    background: #000000;
}

.footer-content {
    background: #212121;
    color: #ffffff;
    width: 100%;
}

.footer-logo-section {
    max-width: 280px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: #000138;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #ffffff;
    margin-top: 8px;
}

.footer-heading {
    font-size: 2rem; /* increased 100% */
    font-family: 'Oswald', 'Archivo', sans-serif;
    font-weight: 600; /* Oswald SemiBold */
    color: #ffffff;
    margin-bottom: 12px;
    text-transform: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #ffffff;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: 32px;
    text-align: center; /* center align yellow area */
}

.footer-copyright {
    font-size: 0.75rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-disclaimer {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 100%;
}

