:root {
    /* Colors */
    --primary: #002B52;
    --primary-light: #0a3d6e;
    --secondary: #D32F2F;
    --secondary-hover: #b71c1c;
    --accent-gray: #334155;
    --background-light: #F1F5F9;
    --background-dark: #070B14;
    --surface-light: #FFFFFF;
    --surface-dark: #0F172A;
    --text-light: #0F172A;
    --text-dark: #F1F5F9;
    --text-muted: #475569;
    --border-light: #e2e8f0;
    --border-dark: #1e293b;
    --facebook-blue: #1877F2;

    /* Typography */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --header-height: 64px;
    --section-padding: 6rem;
    --container-max: 1280px;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-light);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gray);
    border-radius: 4px;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ==================== FADE IN ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for staggered animations */
.fade-delay-1 {
    transition-delay: 0.1s;
}

.fade-delay-2 {
    transition-delay: 0.2s;
}

.fade-delay-3 {
    transition-delay: 0.3s;
}

.fade-delay-4 {
    transition-delay: 0.4s;
}

.fade-delay-5 {
    transition-delay: 0.5s;
}

.fade-delay-6 {
    transition-delay: 0.6s;
}

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-height);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header__brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.header__social {
    display: none;
    align-items: center;
    gap: 1rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border-light);
}

@media (min-width: 1024px) {
    .header__social {
        display: flex;
    }
}

.header__social a {
    color: #9ca3af;
    transition: all var(--transition-normal);
}

.header__social a:hover {
    color: var(--facebook-blue);
    transform: scale(1.15);
}

.header__social svg {
    width: 2.5rem;
    height: 2.5rem;
}

/* Navigation */
.nav {
    display: none;
    gap: 2rem;
}

.nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    align-items: center;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav__link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0.25rem;
    transition: color var(--transition-fast);
}

.nav__link:hover {
    color: var(--primary);
}

/* CTA Button in Header */
.header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    height: calc(100% - 16px);
    margin: 8px 0;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    transition: background var(--transition-fast);
}

.header__cta:hover {
    background: #000;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .header__inner {
        gap: 0.75rem;
    }

    .header__brand {
        gap: 0.75rem;
    }

    .header__logo-img {
        height: 32px;
    }

    .header__cta {
        padding: 0 1rem;
        height: 40px;
        margin: 0;
        font-size: 0.75rem;
        letter-spacing: 0.06em;
    }
}

@media (max-width: 480px) {
    .header__cta {
        max-width: 160px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    background: var(--surface-dark);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(1) contrast(1.25);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(3, 7, 18, 0.95), rgba(3, 7, 18, 0.7), transparent);
}

.hero__content {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}

.hero__title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    max-width: 48rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .hero__title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: 3.75rem;
    }
}

.hero__title span {
    color: #4d8bc9;
}

.hero__description {
    font-size: 1.125rem;
    color: #d1d5db;
    max-width: 36rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .hero__buttons {
        padding: 0 0.75rem;
    }

    .hero__buttons .btn {
        width: 100%;
    }
}

@media (min-width: 640px) {
    .hero__buttons {
        flex-direction: row;
    }
}

/* Hero Grid Layout with Video */
.hero__content--grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero__content--grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero__text {
    max-width: 100%;
}

.hero__video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    background: #000;
}

.hero__video-wrapper iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 560/316;
    display: block;
}

@media (max-width: 640px) {
    .hero__video-wrapper {
        max-width: 100%;
    }
}

/* Slider Mode Styles */
.hero--slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero__content--center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.hero__content--center .hero__text {
    max-width: 800px;
    margin: 0 auto;
}

/* Slider Controls */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {

    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn--primary {
    background: var(--secondary);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3);
}

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

.btn--outline {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
}

.btn--outline:hover {
    background: white;
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn__icon {
    margin-left: 0.5rem;
    font-size: 1.25rem;
}

/* ==================== CLIENTS CAROUSEL ==================== */
.clients {
    background: white;
    border-bottom: 1px solid var(--border-light);
    padding: 4rem 0;
    overflow: hidden;
    border-radius: 0;
}

.clients__title {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 3rem;
}

.clients__track {
    position: relative;
    overflow: hidden;
}

.clients__stream {
    display: flex;
    width: fit-content;
    animation: stream 40s linear infinite;
}

.clients__stream:hover {
    animation-play-state: paused;
}

@keyframes stream {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.clients__item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 2rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .clients__item {
        padding: 0 3rem;
    }
}

/* ==================== CATALOG SECTION ==================== */
.catalog {
    padding: var(--section-padding) 0;
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 0.875rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-light);
}

@media (min-width: 640px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-divider {
    width: 6rem;
    height: 0.375rem;
    background: var(--primary);
    margin: 2rem auto 0;
    border-radius: 9999px;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product Card */
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all var(--transition-slow);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-card__image {
    aspect-ratio: 4 / 3;
    background: #f3f4f6;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.2) brightness(0.9);
    transition: all var(--transition-slow);
}

.product-card:hover .product-card__image img {
    filter: grayscale(0.5) contrast(1.1) brightness(1);
    transform: scale(1.03);
}

.product-card__content {
    padding: 1.5rem;
}

.product-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.product-card:hover .product-card__title {
    color: var(--primary);
}

.product-card__description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.product-card__link {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-card__link span {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.product-card__link:hover span {
    transform: translateX(4px);
}

/* Catalog CTA */
.catalog__cta {
    margin-top: 4rem;
    text-align: center;
}

.btn--outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all var(--transition-normal);
}

.btn--outline-primary:hover {
    background: var(--primary);
    color: white;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: var(--section-padding) 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.about__glow-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(0, 43, 82, 0.1);
    border-radius: 50%;
    filter: blur(120px);
    transform: translate(5rem, -5rem);
}

.about__glow-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(0, 43, 82, 0.05);
    border-radius: 50%;
    filter: blur(120px);
    transform: translate(-5rem, 5rem);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.about__content h3 {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.about__title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .about__title {
        font-size: 3rem;
    }
}

.about__text {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 1rem;
}

/* Stats */
.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid #f1f5f9;
}

.stat-card__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card__label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* About Image */
.about__image-wrapper {
    position: relative;
}

.about__image {
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale(1) contrast(1.2) brightness(0.9);
    transition: filter var(--transition-slow);
}

.about__image:hover {
    filter: grayscale(0.5) contrast(1.1) brightness(1);
}

.about__quote {
    display: none;
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: var(--primary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    color: white;
    max-width: 20rem;
}

@media (min-width: 768px) {
    .about__quote {
        display: block;
    }
}

.about__quote p {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    font-style: italic;
}

.about__quote cite {
    display: block;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.8;
    color: #bfdbfe;
    font-style: normal;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    padding: 5rem 0;
    background: var(--background-light);
    border-top: 1px solid var(--border-light);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 2rem;
    transition: transform var(--transition-normal);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: rgba(0, 43, 82, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.service-card__icon .material-symbols-outlined {
    font-size: 2.25rem;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.service-card__description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 500;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #030712;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__main {
    padding: 5rem 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1280px) {
    .footer__grid {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }
}

.footer__brand {
    max-width: 24rem;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer__logo-img {
    height: 50px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer__description {
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 1.5rem;
}

.footer__social a {
    color: #6b7280;
    transition: all var(--transition-normal);
}

.footer__social a:hover {
    color: var(--facebook-blue);
    transform: scale(1.15);
}

.footer__social svg {
    width: 2rem;
    height: 2rem;
}

/* Footer Links */
.footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer__links {
        grid-template-columns: repeat(2, 1fr) 1fr;
    }
}

.footer__column h4 {
    font-size: 0.75rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
}

.footer__column ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__column a {
    color: #6b7280;
    font-size: 1rem;
    transition: color var(--transition-fast);
}

.footer__column a:hover {
    color: white;
}

/* Footer Contact */
.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer__contact-item .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.25rem;
}

.footer__contact-item span,
.footer__contact-item a {
    color: #9ca3af;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.footer__contact-item a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(0, 43, 82, 0.5);
}

.footer__contact-item a:hover {
    color: white;
}

/* Footer Bottom */
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 0;
    text-align: center;
}

.footer__copyright {
    font-size: 0.875rem;
    color: #4b5563;
}

/* ==================== UTILITIES ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast--success {
    background: rgba(34, 197, 94, 0.9);
}

.toast--error {
    background: rgba(239, 68, 68, 0.9);
}

/* ==================== CONTACT PANEL ==================== */
.contact-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

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

.contact-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    background: white;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 101;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.contact-panel.active {
    transform: translateX(0);
}

.contact-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
}

.contact-panel__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.contact-panel__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--background-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.contact-panel__close:hover {
    background: var(--primary);
    color: white;
}

.contact-panel__body {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

@media (max-width: 640px) {
    .contact-panel {
        max-width: 100%;
        border-radius: 0;
    }

    .contact-panel__header {
        padding: 1.25rem 1.5rem;
    }

    .contact-panel__body {
        padding: 1.5rem;
    }
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    transition: border-color var(--transition-fast);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    margin-top: 1rem;
    width: 100%;
    padding: 1.25rem;
    font-size: 1rem;
}

/* Success State */
.contact-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeInUp 0.5s ease;
}

.contact-success.active {
    display: flex;
}

.contact-form.hidden {
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.contact-success__icon {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.contact-success__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.contact-success__message {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
}

/* ========================================
   Developer Credit Card
   ======================================== */

.footer__developer {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer__developer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__developer a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Developer Card Overlay */
.developer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Developer Card */
.developer-card {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    left: auto;
    width: 320px;
    max-width: calc(100% - 3rem);
    background: white;
    border-radius: var(--radius-lg);
    z-index: 1001;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.developer-card.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.developer-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.developer-card__title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-light);
}

.developer-card__close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.developer-card__close:hover {
    background: var(--background-light);
    color: var(--text-light);
}

.developer-card__body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.developer-card__avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.developer-card__avatar .material-symbols-outlined {
    font-size: 2.5rem;
    color: white;
}

.developer-card__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.developer-card__contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.developer-card__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.developer-card__item .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.25rem;
}

.developer-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 280px;
}

/* Developer Form */
.developer-form {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.developer-form .form-group {
    margin-bottom: 1rem;
}

.developer-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.developer-form input,
.developer-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.developer-form input:focus,
.developer-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.developer-form textarea {
    resize: vertical;
    min-height: 100px;
}

.developer-form__actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.developer-form__actions .btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
    min-width: 0;
}

.developer-form__actions .btn .material-symbols-outlined {
    font-size: 1rem;
}

@media (max-width: 480px) {
    .developer-card {
        right: 50%;
        transform: translateX(50%) translateY(20px);
        bottom: 1rem;
        width: 300px;
    }

    .developer-card.active {
        transform: translateX(50%) translateY(0);
    }

    .developer-card__body {
        padding: 1.5rem 1rem;
    }

    .developer-form__actions {
        flex-direction: column-reverse;
    }

    .developer-form__actions .btn {
        width: 100%;
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(34, 197, 94, 0.95);
    color: white;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast--success {
    background: rgba(34, 197, 94, 0.95);
}

.toast--error {
    background: rgba(239, 68, 68, 0.95);
}

.toast .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-delay-1 {
    transition-delay: 0.1s;
}

.fade-delay-2 {
    transition-delay: 0.2s;
}

.fade-delay-3 {
    transition-delay: 0.3s;
}

.fade-delay-4 {
    transition-delay: 0.4s;
}

.fade-delay-5 {
    transition-delay: 0.5s;
}

.fade-delay-6 {
    transition-delay: 0.6s;
}

/* ==================== QUOTE SYSTEM ==================== */
.quote-builder {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quote-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.quote-search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}

.quote-search-wrapper input {
    padding-left: 3rem;
    width: 100%;
}

.quote-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    margin-top: 0.5rem;
}

.quote-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.quote-result-item:hover {
    background: var(--background-light);
}

.quote-result-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.quote-result-item .info {
    flex: 1;
}

.quote-result-item .name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
}

.quote-result-item .price {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
}

.quote-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.quote-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.quote-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--background-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.quote-item__info {
    display: flex;
    flex-direction: column;
}

.quote-item__info .name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.quote-item__info .price {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.quote-empty {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
}

.btn-remove {
    color: var(--error);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.btn-remove:hover {
    opacity: 1;
}

.fade-delay-2 {
    transition-delay: 0.2s;
}

.fade-delay-3 {
    transition-delay: 0.3s;
}

.fade-delay-4 {
    transition-delay: 0.4s;
}

.fade-delay-5 {
    transition-delay: 0.5s;
}

/* Red Danger Button with Style */
.btn--danger-soft {
    background-color: #fee2e2;
    color: #ef4444;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #fecaca;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn--danger-soft:hover {
    background-color: #ef4444;
    color: white;
    border-color: #ef4444;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.2);
}

/* ==================== QUOTE SYSTEM REFINEMENT ==================== */
.quote-items {
    max-height: 220px;
    /* Adjusted for 4 items */
    overflow-y: auto;
}

.contact-panel .contact-form label {
    display: none;
    /* Hide labels as requested */
}

/* Form Actions - Mobile First */
.contact-panel .form-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-panel .form-actions .btn--primary {
    width: 100%;
    order: 1;
    /* Primary button first */
    justify-content: center;
    background-color: var(--primary);
    /* Ensure explicit color */
}

.contact-panel .form-actions #continue-browsing {
    order: 2;
    border: none;
    background: none;
    color: var(--text-muted);
    text-decoration: underline;
    width: auto;
    font-size: 0.9rem;
    padding: 0.5rem;
}

/* ==================== CONTACT SECTION BACKGROUND ==================== */
.contact-section {
    position: relative;
    background-image: url('../assets/images/kitchen_bg_bw.png');
    background-size: cover;
    background-position: center;
    color: var(--text-dark);
    /* Ensure text remains dark on overlay */
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    /* Strong white overlay */
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section .section-tag {
    background: rgba(var(--primary-rgb), 0.1);
    /* Ensure tag is visible */
}

/* ==================== HERO MODS (VIDEO & SLIDER) ==================== */

/* Full Height Utility */
.hero--full-height {
    min-height: 80vh;
    /* Taller for immersive effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Video Background */
.hero__video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero__video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__video-bg .hero__overlay {
    z-index: 1;
    /* Ensure overlay is above video */
}

/* Center Content Utility */
.hero__content--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero__content--center .hero__title {
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .hero__content--center .hero__title {
        font-size: 4.5rem;
    }
}

.hero__content--center .hero__description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    font-size: 1.25rem;
}

/* Slider */
.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide .hero__bg img {
    opacity: 1;
    filter: brightness(0.9);
    transform: scale(1.05);
    /* Slight zoom for effect */
    transition: transform 6s ease;
}

.hero-slide.active .hero__bg img {
    transform: scale(1);
    /* Zoom out effect */
}

/* Slider Controls */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: white;
    color: var(--primary);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

@media (max-width: 768px) {

    .slider-prev,
    .slider-next {
        display: none;
        /* Hide arrows on mobile for cleaner look */
    }
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Video Iframe Wrapper (YouTube/Vimeo) */
.video-iframe-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw;
    /* 16:9 Aspect Ratio */
    min-height: 100%;
    min-width: 177.77vh;
    /* 16:9 Aspect Ratio based on height */
    pointer-events: none;
    z-index: 0;
}

.video-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==================== FLOATING WHATSAPP ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: float-wa 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

@keyframes float-wa {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
