/* ============================================
   RELIABLE JUBILEE — Custom Styles
   Warm terracotta + sand palette
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Terracotta palette */
    --terracotta-50:  #fdf0eb;
    --terracotta-100: #f9dace;
    --terracotta-200: #f3b8a0;
    --terracotta-300: #ec8f6e;
    --terracotta-400: #e46a47;
    --terracotta-500: #c0603a;
    --terracotta-600: #a85230;
    --terracotta-700: #8b4327;
    --terracotta-800: #733820;
    --terracotta-900:  #5e2f1b;
    
    /* Sand palette */
    --sand-50:  #fefcf8;
    --sand-100: #fdf6ea;
    --sand-200: #f9e9cc;
    --sand-300: #f3d5a0;
    --sand-400: #eabb70;
    --sand-500: #d4a04a;
    --sand-600: #b88635;
    --sand-700: #966a28;
    
    /* Neutrals */
    --warm-black: #2a1f17;
    --warm-dark:  #3d2e22;
    --warm-mid:   #6b5344;
    --warm-light: #9e8575;
    --warm-pale:  #e8ddd3;
    --warm-bg:    #faf5f0;
    --white:      #ffffff;
    
    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body:    'Nunito', 'Segoe UI', system-ui, sans-serif;
    
    /* Spacing */
    --section-pad: clamp(4rem, 10vw, 8rem) 0;
    --container-pad: 0 1.5rem;
    
    /* Borders */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(42, 31, 23, 0.06);
    --shadow-md:  0 4px 20px rgba(42, 31, 23, 0.08);
    --shadow-lg:  0 8px 40px rgba(42, 31, 23, 0.12);
    --shadow-hover: 0 12px 48px rgba(42, 31, 23, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--warm-dark);
    background-color: var(--sand-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--terracotta-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--terracotta-500);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-pad);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--warm-black);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

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

.btn-terracotta {
    background: var(--terracotta-500);
    color: var(--white);
    border-color: var(--terracotta-500);
}

.btn-terracotta:hover {
    background: var(--terracotta-600);
    border-color: var(--terracotta-600);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.7);
}

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

.btn-white {
    background: var(--white);
    color: var(--terracotta-600);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--sand-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* ---------- Section Tag ---------- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta-500);
    background: var(--terracotta-50);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--warm-mid);
    line-height: 1.7;
}

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 245, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 96, 58, 0.1);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--warm-black);
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--terracotta-500);
    color: var(--white);
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--warm-black);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--warm-mid);
    transition: all 0.2s ease;
}

.main-nav a:hover {
    color: var(--terracotta-600);
    background: var(--terracotta-50);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--warm-dark);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--warm-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.pexels.com/photos/7447291/pexels-photo-7447291.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 31, 23, 0.72) 0%,
        rgba(94, 47, 27, 0.65) 50%,
        rgba(42, 31, 23, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--sand-200);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.hero h1 em {
    color: var(--sand-300);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ========== PRODUCTS ========== */
.products {
    padding: var(--section-pad);
    background: var(--sand-50);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-card-img {
    height: 220px;
    overflow: hidden;
}

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

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 1.75rem;
}

.product-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    color: var(--warm-black);
}

.product-card-body p {
    color: var(--warm-mid);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== ABOUT ========== */
.about {
    padding: var(--section-pad);
    background: var(--terracotta-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--terracotta-50);
}

.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--terracotta-500);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-accent .accent-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.2;
}

.about-accent .accent-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.about-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1.25rem;
}

.about-content > p {
    color: var(--warm-mid);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-values {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--terracotta-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
}

.value-item strong {
    display: block;
    font-size: 1rem;
    color: var(--warm-black);
    margin-bottom: 0.15rem;
}

.value-item span {
    font-size: 0.9rem;
    color: var(--warm-mid);
}

/* ========== VISIT ========== */
.visit {
    padding: var(--section-pad);
    background: var(--sand-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.visit-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.visit-card-icon {
    width: 56px;
    height: 56px;
    background: var(--terracotta-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
    margin-bottom: 1.25rem;
}

.visit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.visit-card p {
    color: var(--warm-mid);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.visit-card a {
    font-weight: 700;
    font-size: 0.9rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.75rem;
    color: var(--terracotta-600);
}

.link-arrow:hover {
    color: var(--terracotta-500);
}

.call-note {
    font-size: 0.85rem !important;
    color: var(--warm-light) !important;
    margin-top: 0.5rem !important;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--warm-mid);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--warm-pale);
}

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

.hours-list li span:first-child {
    font-weight: 700;
    color: var(--warm-dark);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ========== CTA BANNER ========== */
.cta-banner {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, var(--terracotta-600) 0%, var(--terracotta-800) 100%);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

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

/* ========== CONTACT ========== */
.contact {
    padding: var(--section-pad);
    background: var(--sand-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--warm-mid);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

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

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--terracotta-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--warm-light);
    margin-bottom: 0.15rem;
}

.contact-detail a,
.contact-detail span {
    font-size: 1rem;
    color: var(--warm-dark);
    font-weight: 600;
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--warm-dark);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--warm-pale);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--warm-dark);
    background: var(--sand-50);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terracotta-400);
    box-shadow: 0 0 0 3px rgba(192, 96, 58, 0.15);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-light);
}

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

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--warm-black);
    margin: 1rem 0 0.5rem;
}

.form-success p {
    color: var(--warm-mid);
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--warm-black);
    color: rgba(255,255,255,0.7);
    padding: 4rem 1.5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand .logo-mark {
    background: var(--terracotta-500);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-hours h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--sand-300);
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 0.3rem 0;
}

.footer-hours span:first-child {
    color: rgba(255,255,255,0.6);
}

.footer-hours span:last-child {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.footer-contact a {
    color: var(--sand-300);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.5rem 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ========== SCROLL REVEAL (progressive enhancement) ========== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Hidden by default for JS-enhanced reveal; shown if JS is off */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .about-grid {
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 245, 240, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 1rem;
        border-bottom: 1px solid rgba(192, 96, 58, 0.1);
        box-shadow: var(--shadow-md);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .main-nav a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
    }
    
    .main-nav a:hover {
        background: var(--terracotta-50);
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-wrap {
        padding: 1.5rem;
    }
}
