/* --- RESET & VARIABLES --- */
:root {
    --bg-body: #F9F9F7;
    --bg-surface: #EBEBE8;
    --text-main: #2C2C2C;
    --text-muted: #666666;
    --accent-gold: #bc8547;
    --border-light: #DCDCDC;

    --font-heading: "Playfair Display", "Georgia", "Times New Roman", serif;
    --font-body: "Helvetica Neue", "Arial", sans-serif;

    --spacing-section: 120px;
    --spacing-tablet: 100px;
    --spacing-mobile: 60px;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-main);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.gold-text {
    color: var(--accent-gold);
}

.text-center {
    text-align: center;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

/* --- UTILITIES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--spacing-section) 0;
    /* scroll-margin-top: calc(var(--header-height) + 40px); */
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}


/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--text-main);
    border-color: var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--text-main);
    color: #fff;
    border-color: var(--text-main);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: #fff;
}

.btn-text {
    padding: 10px 0;
    color: var(--text-main);
    border-bottom: 1px solid var(--text-main);
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(249, 249, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
    text-decoration: none;
}

.logo img {
    max-width: 180px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-main);
    z-index: 1001;
}

/* --- HERO --- */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    padding-right: 20px;
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    font-weight: 300;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.placeholder-img {
    background-color: #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-family: monospace;
    position: relative;
    overflow: hidden;
}

.placeholder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero .placeholder-img {
    height: 600px;
    width: 100%;
}

/* Carousel Styles */
.carousel-item .placeholder-img {
    height: 600px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--accent-gold);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Scroll Down Button */
.scroll-down-container {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    color: var(--text-muted);
    text-decoration: none;
    animation: bounce 2s infinite;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-down-container:hover {
    opacity: 1;
    color: var(--text-main);
}

.scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.arrow-down {
    width: 12px;
    height: 12px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* --- SECTIONS --- */

/* Overview */
.overview {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.benefit-block {
    padding: 40px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Technology & Craft */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-img {
    height: 400px;
    width: 100%;
}

.tech-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fabrics */
.fabrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.fabric-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: 100%;
}

.fabric-img {
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.fabric-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fabric-content {
    padding: 30px;
}

.fabric-contents h3 {
    margin-bottom: 0px;
}

/* Process */
.process-intro {
    max-width: 600px;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 1px solid var(--border-light);
}

.step {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.step::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 6px;
    width: 9px;
    height: 9px;
    background-color: var(--accent-gold);
    border-radius: 50%;
}

.step-number {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: block;
}

/* Find */
.find-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.map-placeholder {
    height: 400px;
    width: 100%;
    background-color: #EBEBE8;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
}

/* Contact */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--border-light);
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
    border-radius: 0;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-bottom-color: var(--text-main);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.success-msg {
    display: none;
    padding: 15px;
    background-color: #f0f8f0;
    color: #2e7d32;
    margin-top: 20px;
    text-align: center;
    border: 1px solid #c8e6c9;
}

/* --- FOOTER --- */
footer {
    background-color: var(--text-main);
    color: #fff;
    padding: 30px 0 15px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-right: 20px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.contact-link {
    margin: 0;
    padding: 0;
    color: rgb(129, 125, 125);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--accent-gold);
}

.footer-grid p {
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.follow-text {
    text-transform: capitalize;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin: 0;
    color: #888;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-link {
    font-size: 1.5rem;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
    color: var(--accent-gold);
}

/* Hidden sections */
#contact {
    display: none;
}

#find {
    display: none;
}

/* ============================================
           TABLET RESPONSIVE (768px - 1024px)
           ============================================ */
@media (max-width: 1024px) {
    :root {
        --spacing-section: var(--spacing-tablet);
    }

    .hero-grid {
        gap: 40px;
    }

    .hero .placeholder-img,
    .carousel-item .placeholder-img {
        height: 450px;
    }

    .benefits-grid {
        gap: 40px;
    }

    .split-section {
        gap: 40px;
    }

    .tech-img {
        height: 350px;
    }

    .fabric-img {
        height: 250px;
    }

    .find-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* ============================================
           MOBILE RESPONSIVE (max-width: 768px)
           ============================================ */
@media (max-width: 768px) {
    :root {
        --spacing-section: var(--spacing-mobile);
        --header-height: 70px;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 1.6rem;
    }

    /* Mobile Navigation */
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        align-items: flex-start;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1rem;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-cta {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
        order: 1;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-grid>div:last-child {
        order: 2;
    }

    .hero .placeholder-img,
    .carousel-item .placeholder-img {
        height: 400px;
    }

    .scroll-down-container {
        display: none;
    }

    /* Grid Layouts Mobile */
    .benefits-grid,
    .split-section,
    .fabrics-grid,
    .find-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .split-section {
        gap: 40px;
    }

    /* Order utility for split sections on mobile */
    .order-mobile-2 {
        order: 2;
    }

    .tech-img {
        height: 300px;
    }

    .fabric-card {
        width: 100%;
    }

    .fabric-img {
        height: 250px;
    }

    .fabric-content {
        padding: 20px;
    }

    /* Timeline Mobile */
    .timeline {
        padding-left: 20px;
    }

    .step {
        padding-left: 20px;
        margin-bottom: 30px;
    }

    .step::before {
        left: -25px;
        width: 8px;
        height: 8px;
    }

    /* Contact Form Mobile */
    .contact-form {
        padding: 30px 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    /* Footer Mobile */
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-links {
        align-items: center;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    #technology {
        padding-top: 80px;
    }
}

/* ============================================
           SMALL MOBILE (max-width: 480px)
           ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .hero .placeholder-img,
    .carousel-item .placeholder-img {
        height: 300px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .tech-img {
        height: 250px;
    }

    .fabric-img {
        height: 200px;
    }

    .fabric-content {
        padding: 20px 15px;
    }

    .contact-form {
        padding: 25px 15px;
    }

    .map-placeholder {
        height: 300px;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }

    .nav-links a:hover {
        color: var(--text-main);
    }

    .social-link:hover {
        transform: none;
        color: #fff;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .scroll-down-container {
        animation: none;
    }

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}