/* MudBlazor Custom Theme */
/* Portfolio horizontal scroll groups */
.scroll-wrapper{ position:relative; }
.scroll-row{ display:flex; gap:16px; overflow-x:auto; scroll-behavior:smooth; padding:4px 8px; scrollbar-width:none; }
.scroll-row::-webkit-scrollbar{ display:none; }
.scroll-item{ flex:0 0 calc(33.333% - 10.666px); max-width:calc(33.333% - 10.666px); }
.thumb-box{ position:relative; width:100%; aspect-ratio:16/9; background:#000; border-radius:12px; overflow:hidden; }
.scroll-thumb{ width:100%; height:100%; object-fit:cover; }
.scroll-play{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); opacity:0.9; }
.scroll-arrow{ position:absolute !important; top:50%; transform:translateY(-50%); z-index:2; background:#fff !important; }
.scroll-arrow.left{ left:3px; }
.scroll-arrow.right{ right:3px; }

/* Add snapping carousel behavior and indicators */
.scroll-row{ scroll-snap-type:x mandatory; }
.scroll-item{ scroll-snap-align:start; }
.scroll-arrow{ box-shadow:0 2px 8px rgba(0,0,0,.2); }
.scroll-indicators{ display:flex; gap:8px; justify-content:center; margin-top:8px; }
.scroll-indicator{ width:8px; height:8px; border-radius:50%; background:#c8c8c8; }
.scroll-indicator.active{ background:#6c63ff; }

@media (max-width: 600px){
  .scroll-item{ flex:0 0 100%; max-width:100%; }
}
:root {
    /* Brand theme */
    --primary-color: #ffd362!important;   /* light yellow */
    --secondary-color: #e9a700!important; /* brand yellow */
    --brand-yellow: #ffbc00!important;    /* matte yellow */
    --brand-black: #000000!important;     /* true black */

    /* MudBlazor palette overrides (align to brand) */
    --mud-palette-primary: #e9a700!important;   /* primary = brand yellow */
    --mud-palette-secondary: #303030!important; /* secondary = dark neutral */
    --mud-palette-tertiary: #2e7d32!important;
    --mud-palette-background: #fafafa!important;
    --mud-palette-surface: #ffffff!important;
    --mud-palette-drawer-background: #ffffff!important;
    --mud-palette-drawer-text: rgba(0,0,0,0.87)!important;
    --mud-palette-drawer-icon: rgba(0,0,0,0.54)!important;
    --section-alt-bg: #fff8e1; /* light brand tint */
}

/* Custom styles */
.body, body, .mud-typography-root, .mud-typography {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Layout helpers */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.section-title { text-align: center; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; max-width: 600px; margin: 0 auto 3rem; color: rgba(0,0,0,0.6); }
/* Headings highlight on dark sections */
.section-alt .section-title,
.section-alt h1,
.section-alt h2,
.section-alt h3,
.section-alt h4,
.section-alt h5,
.section-alt h6 { color: var(--brand-yellow); }
.section-alt .section-subtitle { color: rgba(255,255,255,0.75); }
/* Ensure readable text inside cards placed on dark sections */
.section-alt .mud-card,
.section-alt .mud-card * { color: #111 !important; }
.section-alt .mud-card .mud-card-content { background: transparent; }
.card-hover { transition: transform .25s ease, box-shadow .25s ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }

/* Hero (both Index and Service) */
.hero, .hero-section { min-height: calc(100vh - 70px); display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f1c445 0%, #fced0a 100%); /*, #FFBF00 100%, #fced0a 100%);*/
}
.hero-overlay { position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(0,0,0,0.05)" points="0,1000 1000,0 1000,1000"/></svg>'); background-size: cover; }
.hero-pattern { position: absolute; inset: 0; background: radial-gradient(circle at 20% 80%, rgba(186,142,35,0.4) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(186,142,35,0.2) 0%, transparent 50%); }
.hero-content { position: relative; z-index: 2; padding: 5rem 0; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: center; }
.hero-title { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.2; color: rgba(48,48,48,0.9); margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 2.5rem; color: rgba(48,48,48,0.8); line-height: 1.7; margin-bottom: 2rem; }
.hero-subtitle--accent { color: #f1c30f; text-shadow: 2px 2px #303030,  -2px -2px #303030; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; }
.hero-btn { transition: all 0.3s ease; }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.hero-form { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); padding: 2rem; }
.hero-description { font-size: 1.25rem; color: rgba(48,48,48,0.8); line-height: 1.7; }
.location-tags { display: flex; flex-wrap: wrap; gap: .75rem; }
.location-tag { background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); padding: .5rem 1rem; border-radius: 25px; font-size: .9rem; color: #fff; border: 1px solid rgba(255,255,255,0.3); }

/* Inline highlight used by [[...]] tokens */
.text-highlight { background: #000; color: #ffd362; padding: 0 .35rem; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Video showcase (both) */
.video-showcase { max-width: 800px; margin: 0 auto; }
.video-container { position: relative; aspect-ratio: 16/9; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.video-placeholder { background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); height: 100%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; }
.video-placeholder:hover { background: linear-gradient(135deg, #fcc535 0%, #cf9504 100%); transform: scale(1.02); }
.play-button { display: flex; align-items: center; color: white; font-size: 1.25rem; }
.play-text { margin-left: 0.5rem; font-weight: 600; }
.showreel { background: var(--background-color); }

/* Grids */
.services-grid, .features-grid, .testimonials-grid, .portfolio-grid, .process-grid, .stats-grid{ display: grid; gap: 2rem; }
.clients-grid { display: grid; gap: 0.5rem; }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.process-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); text-align: center; }
.clients-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); align-items: center; justify-items: center; }
.stat-item { padding: 1.5rem; }

/* Sections backgrounds */
/* Default section style = matte yellow */
.services,
.service-overview,
.pricing-section,
.portfolio-section,
.process,
.features-section,
.faq-section,
.cta,
.clients,
.testimonials,
.testimonials-section,
.contact-section,
.showreel { background: var(--brand-yellow); color: #111; }

/* Stats and any highlighted blocks also use matte yellow to keep the strict black/yellow alternation */
.stats { background: var(--brand-yellow); color: #111; }
.section-alt.stats { background: var(--brand-black); color: #eaeaea; }

/* Alternate (dark) sections */
.section-alt {
    background: var(--brand-black);
    color: #eaeaea;
}

/* Breadcrumbs */
.breadcrumbs { background: var(--background-color); padding: 0.75rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.breadcrumbs nav a { color: inherit; text-decoration: none; }
.breadcrumbs .sep { margin: 0 .5rem; color: rgba(0,0,0,0.4); }
.breadcrumbs .current { color: rgba(0,0,0,0.6); }

/* Hero-top breadcrumbs */
.hero-breadcrumbs { display:flex; justify-content: flex-end; padding-top: 1rem; margin-bottom: -2rem; position: absolute; top: 0; right: 10px; z-index: 3; }
.hero-breadcrumbs nav a { color: #fff; text-decoration: none; }
.hero-breadcrumbs .sep { margin: 0 .5rem; color: rgba(255,255,255,0.8); }
.hero-breadcrumbs .current { color: #fff; }

/* Cards and hovers */
.service-card, .feature-card, .testimonial-card, .portfolio-card, .client-logo { transition: transform .25s ease, box-shadow .25s ease; /* box-shadow: none !important; */ }
.service-card:hover, .feature-card:hover, .testimonial-card:hover, .portfolio-card:hover, .client-logo:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important; }
.portfolio-card .mud-card-content img { display: block; }
.client-logo { display:flex; align-items:center; justify-content:center; min-height: 80px; }
.client-logo:hover { box-shadow:none!important; }
.client-logo .mud-paper { display:flex; align-items:center; justify-content:center; width:100%; height:100%; }
.client-logo-img { max-width: 130px; max-height: 100px; width: auto; height: auto; filter: grayscale(0%); opacity: 1; transition: filter .2s ease, opacity .2s ease; }
.client-logo-img:hover { filter: none; opacity: 1; }

/* CTA */
.cta-content { padding: 4rem; background: transparent; }
.cta-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.cta-surface { overflow: visible !important; position: relative; }

/* Ensure CTA section on yellow remains readable */
.cta-surface .mud-typography, .cta-surface .mud-typography-root, .cta-surface p{ color: #111 !important; }
.cta-surface .mud-button-filled-dark { background-color: #111 !important; color: var(--brand-yellow) !important; }
.cta-surface .mud-button-outlined-success { border-color: #2e7d32 !important; color: #2e7d32 !important; background: transparent !important; }

/* Pricing/Stats readability on yellow background */
.pricing-section .mud-typography-color-primary,
.stats:not(.section-alt) .mud-typography-color-primary { color: #111 !important; }
.section-alt.stats .mud-typography-color-primary { color: var(--brand-yellow) !important; }
/* Pricing main heading readable on yellow */
.pricing-section .mud-typography-h3,
.pricing-section h3 { color: #111 !important; }

/* Included services cards on dark section */
.services.section-alt .mud-card { background: var(--brand-yellow) !important; }

/* Process steps */
.process-step { text-align: center; }
.process-number { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: var(--brand-black); color: var(--brand-yellow); border: 3px solid var(--brand-yellow); border-radius: 50%; font-size: 2rem; font-weight: 800; box-shadow: 0 0 0 4px rgba(0,0,0,0.2); margin-bottom: 1.5rem; }
/* On dark sections, invert to yellow pill with black number for contrast */
.section-alt .process-number { background: var(--brand-yellow); color: #111; border-color: #111; box-shadow: 0 0 0 4px rgba(255,188,0,0.2); }

/* Overview and Contact common */
.overview-grid { display: grid; gap: 4rem; align-items: start; }
.contact-content { max-width: 1000px; margin: 0 auto; }
.contact-card { padding: 3rem; }
.contact-details { margin-top: 2rem; }

/* FAQ common */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-panel { margin-bottom: 0rem; }
.faq-question { font-weight: 600; }
.faq-answer { line-height: 1.7; }
.italic { font-style: italic; }

/* Footer */
.site-footer { background: #0f0f0f; color: rgba(255,255,255,0.85); padding: 3rem 0 2rem; margin-top: 0px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; gap: 1rem; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-top: 1rem; }
.footer-socials a { color: rgba(255,255,255,0.8); margin-left: .75rem; }
.footer-socials a:hover { color: #fff; }

/* Footer Cities two-column layout */
.footer-links.footer-links--two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: .5rem;
}
.footer-links.footer-links--two-cols li { margin: 0; }

/* MudBlazor brand alignment */
.mud-typography-color-primary { color: var(--mud-palette-primary) !important; }
.mud-button-filled-primary { background-color: var(--mud-palette-primary) !important; border-color: var(--mud-palette-primary) !important; color: #1b1b1b !important; }
.mud-button-outlined-primary { color: var(--mud-palette-primary) !important; border-color: var(--mud-palette-primary) !important; }
.mud-icon-color-primary { color: var(--mud-palette-primary) !important; }

/* Responsive */
@media (max-width: 768px) {
  .hero-grid, .cta-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center;}
  .hero-grid { padding-top: 4rem; padding-bottom: 3rem; }
  .services-grid, .features-grid, .testimonials-grid, .portfolio-grid, .process-grid, .stats-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; gap: 2rem; }
  /* Ensure footer cities remain two columns on mobile */
  .footer-links.footer-links--two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Service page extras */
.overview-content h2 { background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.service-highlights { margin-top: 2rem; }
.highlight-item { display: flex; align-items: center; margin-bottom: 1rem; }
.feature-icon { display: flex; justify-content: center; margin-bottom: 1rem; }
.pricing-card { text-align: center; padding: 3rem; }
/* removed old conflicting hero-section styles */

.city-card {
    transition: transform 0.3s ease;
}

.city-card:hover {
    transform: translateY(-5px);
}

.service-feature-card {
    height: 100%;
    transition: all 0.3s ease;
}

.service-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .hero-content {
        padding: 1rem;
    }
}

/* Custom MudBlazor overrides */
.mud-appbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mud-drawer {
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
}

.mud-card {
    border-radius: 12px;
    /* box-shadow: none !important; */
}
.mud-paper { overflow: hidden; }

.mud-button {
    text-transform: none;
    font-weight: 500;
}

/* Remove Mud default elevations to prevent double-shadow with hover */
/* Intentionally left without overrides to preserve component defaults */

/* Loading spinner */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 16px;
    z-index: 1000;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
