/* ============================================================
   JL INTERIOR UPHOLSTERY LLC — Stylesheet
   Color palette: Warm & earthy (cream, leather, espresso, gold)
   Fonts: Playfair Display (headings) + Lato (body)
============================================================ */

/* ── CSS VARIABLES ── */
:root {
    --cream:      #F5EFE6;
    --cream-dark: #EDE3D5;
    --leather:    #8B5E3C;
    --leather-dk: #6B4529;
    --espresso:   #2C1A0E;
    --gold:       #D4A96A;
    --gold-light: #E8C999;
    --warm-gray:  #6B5744;
    --white:      #FFFFFF;
    --shadow:     rgba(44, 26, 14, 0.12);
    --shadow-md:  rgba(44, 26, 14, 0.2);

    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', system-ui, sans-serif;

    --radius:    10px;
    --radius-lg: 18px;
    --transition: 0.3s ease;
    --max-width: 1160px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px; /* offset for sticky header */
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--espresso);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
p  { color: var(--warm-gray); }

/* ── CONTAINER ── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── SECTION BASE ── */
.section { padding: 96px 0; }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--leather);
    margin-bottom: 12px;
}

.section-header h2 { color: var(--espresso); margin-bottom: 16px; }
.section-header .section-desc { font-size: 1.05rem; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--leather);
    color: var(--white);
    border-color: var(--leather);
}
.btn-primary:hover {
    background: var(--leather-dk);
    border-color: var(--leather-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── LOGO ── */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-monogram {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--leather);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 2px solid var(--gold);
    letter-spacing: 0.05em;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--espresso);
    white-space: nowrap;
}

.logo-llc {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

/* Logo variant for dark backgrounds */
.logo-light .logo-name { color: var(--gold-light); }
.logo-light .logo-llc  { color: rgba(255,255,255,0.6); }
.logo-light .logo-monogram {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================================
   HEADER
============================================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 239, 230, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 94, 60, 0.12);
    transition: box-shadow var(--transition);
}

#header.scrolled {
    box-shadow: 0 4px 24px var(--shadow);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--warm-gray);
    padding: 8px 14px;
    border-radius: 50px;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--leather);
    background: rgba(139, 94, 60, 0.08);
}

.nav-cta {
    background: var(--leather);
    color: var(--white) !important;
    padding: 10px 20px;
}

.nav-cta:hover {
    background: var(--leather-dk) !important;
    color: var(--white) !important;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    flex-shrink: 0;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--warm-gray);
    padding: 5px 8px;
    border-radius: 6px;
    transition: color var(--transition), background var(--transition);
}

.lang-btn:hover { color: var(--leather); background: rgba(139, 94, 60, 0.08); }
.lang-btn.active { color: var(--leather); }

.lang-divider {
    color: var(--cream-dark);
    font-size: 0.85rem;
    pointer-events: none;
    user-select: none;
}

/* Hamburger (mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--espresso);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* Warm textile-inspired gradient background (replace with a real photo later) */
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 169, 106, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 94, 60, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #3D1F0B 0%, #5C3418 30%, #8B5E3C 60%, #6B4529 100%);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 26, 14, 0.55) 0%,
        rgba(44, 26, 14, 0.3) 50%,
        rgba(44, 26, 14, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-location {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.scroll-indicator:hover { opacity: 1; }

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--gold-light);
    border-bottom: 2px solid var(--gold-light);
    transform: rotate(45deg);
    animation: bounce 1.8s infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%       { transform: rotate(45deg) translateY(6px); }
}

/* ============================================================
   ABOUT
============================================================ */
.about { background: var(--white); }

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--cream-dark);
    transition: transform var(--transition), box-shadow var(--transition);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px var(--shadow);
}

.about-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--leather), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.about-icon i {
    font-size: 1.6rem;
    color: var(--white);
}

.about-card h3 {
    color: var(--espresso);
    margin-bottom: 12px;
}

/* ============================================================
   SERVICES
============================================================ */
.services { background: var(--cream); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    position: relative;
    border: 1px solid var(--cream-dark);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px var(--shadow);
    border-color: var(--leather);
}

.service-card.featured {
    background: linear-gradient(160deg, #FFFAF5 0%, var(--white) 100%);
}

.service-card.selected {
    border-color: var(--leather);
    box-shadow: 0 20px 50px var(--shadow);
}

.service-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--leather);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
}

.service-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--leather), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 1.7rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--espresso);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-card > p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-list {
    margin-bottom: 32px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid var(--cream-dark);
    font-size: 0.95rem;
    color: var(--warm-gray);
}

.service-list li:last-child { border-bottom: none; }

.service-list li .fa-check {
    color: var(--leather);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ============================================================
   GALLERY
============================================================ */
.gallery { background: var(--espresso); }

.gallery .section-label { color: var(--gold); }
.gallery .section-header h2 { color: var(--white); }
.gallery .section-header .section-desc { color: rgba(255,255,255,0.65); }

/* Swiper overrides */
.gallery-swiper {
    padding-bottom: 56px !important;
}

.swiper-slide {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--leather-dk);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.swiper-slide:hover img {
    transform: scale(1.04);
}

/* Placeholder slides (shown when no real image is loaded) */
.slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    background: linear-gradient(135deg, #3D1F0B, #6B4529);
}

.slide-placeholder i {
    font-size: 2.5rem;
    opacity: 0.4;
}

/* Swiper nav buttons */
.swiper-button-prev,
.swiper-button-next {
    color: var(--gold) !important;
    background: rgba(255,255,255,0.08);
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    transition: background var(--transition);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(255,255,255,0.18);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1rem !important;
    font-weight: 900;
}

.swiper-pagination-bullet {
    background: rgba(255,255,255,0.35) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
}

.gallery-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gallery-note i { color: var(--gold); }
.gallery-note a { color: var(--gold-light); text-decoration: underline; }
.gallery-note a:hover { color: var(--gold); }

/* ============================================================
   CONTACT
============================================================ */
.contact { background: var(--cream); }

.contact-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Big call button */
.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--leather);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    box-shadow: 0 8px 32px rgba(139, 94, 60, 0.35);
    text-decoration: none;
}

.call-btn i { font-size: 1.4rem; }

.call-btn:hover {
    background: var(--leather-dk);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(139, 94, 60, 0.45);
}

.contact-cta-note {
    font-size: 0.9rem;
    color: var(--warm-gray);
    font-style: italic;
    margin-bottom: 16px;
}

/* Detail cards row */
.contact-details {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
    width: 100%;
    max-width: 860px;
}

.contact-detail-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    flex: 1;
    min-width: 220px;
}

.contact-detail-item i {
    font-size: 1.2rem;
    color: var(--leather);
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-detail-item h4 {
    color: var(--espresso);
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.contact-detail-item p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: var(--espresso);
    padding: 56px 0 32px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 32px;
}

.footer-tagline {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold-light);
}

.footer-contact {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-contact a,
.footer-contact span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition);
}

.footer-contact a:hover { color: var(--gold); }
.footer-contact i { color: var(--gold); }

.footer-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children */
.about-cards .reveal:nth-child(2) { transition-delay: 0.1s; }
.about-cards .reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.15s; }

/* ============================================================
   RESPONSIVE — Tablet (≤900px)
============================================================ */
@media (max-width: 900px) {
    .section { padding: 72px 0; }

    /* Nav */
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--cream-dark);
        box-shadow: 0 8px 24px var(--shadow);
        gap: 4px;
    }

    .nav-links.open { display: flex; }
    .nav-link { padding: 12px 16px; border-radius: var(--radius); width: 100%; }
    .nav-cta { text-align: center; }

    /* About */
    .about-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .service-card { padding: 40px 32px; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrap { padding: 36px 28px; }
    .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤600px)
============================================================ */
@media (max-width: 600px) {
    .section { padding: 56px 0; }
    .section-header { margin-bottom: 40px; }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .hero-content { padding: 120px 20px 64px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }

    .about-card { padding: 32px 24px; }
    .service-card { padding: 32px 24px; }

    .contact-form-wrap { padding: 28px 20px; }

    .footer-contact { flex-direction: column; gap: 12px; }
}
