/* 
   CLASS FIT - Modern Website CSS
   Color Palette:
   - Primary (Forest Green): #2C5521
   - Secondary (Mustard/Gold): #C69B22
   - Background (Beige/Cream): #F4EEDF
   - Accents (Olive): #8FA949
   - Text Dark: #222222
   - Text Light: #FFFFFF 
*/

:root {
    --color-primary: #25244E;
    --color-primary-light: #36346B;
    --color-primary-dark: #161530;
    --color-secondary: #DEB860;
    --color-secondary-light: #FCE198;
    --color-accent: #BA9A4D;
    --color-bg: #F8F8F8;
    --color-bg-alt: #EFEFEF;
    --color-text: #222222;
    --color-text-muted: #555555;
    --color-white: #ffffff;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 4px 6px -1px rgba(44, 85, 33, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(44, 85, 33, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(44, 85, 33, 0.15);

    --transition: all 0.3s ease;
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Base Layout & Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-secondary);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-weight: 500;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 1.5rem auto 3rem;
}

.grids {
    display: grid;
    gap: 2rem;
}

.two-col {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.mt-5 {
    margin-top: 3rem;
}

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

.text-gold {
    color: var(--color-secondary);
}

.text-muted {
    color: #cccccc;
}

.w-100 {
    width: 100%;
}

.items-center {
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(44, 85, 33, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 85, 33, 0.4);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(198, 155, 34, 0.3);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(198, 155, 34, 0.4);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(37, 36, 78, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(222, 184, 96, 0.2);
    transition: var(--transition);
    padding: 1rem 0;
}

#navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon-img {
    display: flex;
    align-items: center;
}

.brand-icon {
    height: 38px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: lighten;
    /* Prevents color washout against the background */
    filter: saturate(1.4) brightness(1.15) contrast(1.2);
    /* Adjusts image gold to perfectly match text gradient */
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    background: linear-gradient(to right, #DEB860, #FCE198, #BA9A4D);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle {
    font-family: 'Playball', cursive;
    font-size: 1.15rem;
    line-height: 1;
    margin-top: 0.1rem;
    background: linear-gradient(to right, #DEB860, #FCE198, #BA9A4D);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    color: var(--color-white);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.nav-btn {
    padding: 0.6rem 1.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-secondary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(244, 238, 223, 0.95) 0%, rgba(244, 238, 223, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 0 2rem;
    margin-left: max(2rem, calc((100% - 1200px) / 2));
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(222, 184, 96, 0.2);
    color: var(--color-primary-dark);
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
}

.hero .highlight {
    color: var(--color-secondary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

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

/* About Section */
.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    border: 8px solid var(--color-white);
    box-shadow: var(--shadow-lg);
    background-color: var(--color-white);
    overflow: hidden;
}

.image-wrapper img {
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.floating-stat {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 2rem;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 6px solid var(--color-bg);
    box-shadow: var(--shadow-md);
}

.floating-stat .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-secondary);
}

.floating-stat .text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-bottom: 4px solid var(--color-accent);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-card i {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.stat-card h4 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

/* Features */
.light-bg {
    background-color: var(--color-bg-alt);
}

.features-grid {
    margin-top: 4rem;
}

.feature-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    transition: var(--transition);
    z-index: -1;
    border-radius: 16px;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover h3,
.feature-card:hover p,
.feature-card:hover .icon-box {
    color: var(--color-white);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(198, 155, 34, 0.15);
    color: var(--color-secondary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* Products Section */
.product-gallery {
    overflow: hidden;
    white-space: nowrap;
    margin-top: 3rem;
    padding: 1rem 0;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.product-track {
    display: inline-flex;
    gap: 2rem;
    animation: scrollProducts 40s linear infinite;
    padding-left: 0;
}

.product-track:hover {
    animation-play-state: paused;
}

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

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

.product-card {
    width: 450px;
    max-width: 85vw;
    /* Added for mobile responsiveness */
    flex-shrink: 0;
    white-space: normal;
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.product-img {
    height: 300px;
    background: radial-gradient(circle at center, #FFFFFF 0%, var(--color-secondary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.05), transparent);
}

.ai-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Removed blend mode to let high-res backgrounds shine */
}

.tailor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Removed specific shifts and blend modes meant for previous illustrations */
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

.variety-banner {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-radius: 16px;
    padding: 3rem;
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.variety-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.variety-banner p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Contact */
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-list .icon {
    width: 50px;
    height: 50px;
    background: var(--color-white);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-list .detail strong {
    display: block;
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-form {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(44, 85, 33, 0.2);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-bg);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 85, 33, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0;
}

.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo .footer-icon {
    height: 50px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .four-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        clip-path: circle(0 at top right);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav-links.active {
        clip-path: circle(150% at top right);
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        padding-top: 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .floating-stat {
        width: 100px;
        height: 100px;
        bottom: -10px;
        right: -10px;
        padding: 1rem;
    }

    .floating-stat .number {
        font-size: 1.5rem;
    }

    .floating-stat .text {
        font-size: 0.6rem;
    }

    .contact-form {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .four-col {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}