/* ============================================
   Jarrell Nutrish — Classic & Elegant Styles
   Deep Navy + Warm Gold Palette
   ============================================ */

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

:root {
    --navy: #1a2744;
    --navy-deep: #111d35;
    --navy-light: #243352;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --gold-pale: #f0e4c0;
    --cream: #faf8f4;
    --cream-dark: #f3efe8;
    --warm-white: #fefcf9;
    --text-dark: #1a1a1a;
    --text-body: #3d3d3d;
    --text-muted: #6b6b6b;
    --text-light: #999;
    --border: #e8e4dc;
    --border-light: #f0ece4;
    
    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Lato', 'Helvetica Neue', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(26, 39, 68, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 39, 68, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 39, 68, 0.12);
    --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.2);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.accent {
    color: var(--gold);
    font-style: italic;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-deep);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--cream);
}

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 252, 249, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition);
}

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

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--navy);
}

.logo--light {
    color: var(--cream);
}

.logo-icon {
    color: var(--gold);
}

.logo-text {
    letter-spacing: 0.02em;
}

/* Nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition: all var(--transition);
}

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

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

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

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--navy);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.8rem;
}

/* --- Hero --- */
.hero {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--warm-white);
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

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

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.eyebrow-line {
    width: 40px;
    height: 1.5px;
    background: var(--gold);
    flex-shrink: 0;
}

.eyebrow-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-headline {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--navy);
}

.hero-headline .accent {
    font-size: 1.1em;
}

.hero-subtext {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-trust {
    display: flex;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-item svg {
    color: var(--gold);
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 7/9;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-img-wrapper:hover img {
    transform: scale(1.03);
}

.hero-accent-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--navy);
    color: var(--cream);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.badge-year {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--gold);
}

/* --- Section Shared --- */
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.label-line {
    width: 32px;
    height: 1.5px;
    background: var(--gold);
    flex-shrink: 0;
}

.section-label span:last-child {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-label {
    justify-content: center;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

.about-content .section-label {
    margin-bottom: 16px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-body);
    margin-bottom: 20px;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    color: var(--navy);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
}

.about-signature svg {
    opacity: 0.5;
}

.about-images {
    position: relative;
    height: 680px;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 620px;
    width: 100%;
}

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

.about-img-float {
    position: absolute;
    bottom: 0;
    right: -40px;
    width: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.about-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    top: 40px;
    right: 20px;
}

.accent-square {
    width: 80px;
    height: 80px;
    background: var(--gold);
    border-radius: var(--radius-sm);
    opacity: 0.3;
}

/* --- Divider --- */
.section-divider {
    padding: 40px 0;
    background: var(--cream);
    color: var(--navy);
    opacity: 0.4;
}

/* --- Offerings --- */
.offerings {
    padding: 120px 0;
    background: var(--warm-white);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.offering-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.offering-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-pale);
    background: var(--warm-white);
}

.offering-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    border: 1.5px solid var(--gold-pale);
    border-radius: 50%;
    transition: all var(--transition);
}

.offering-card:hover .offering-icon {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
}

.offering-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.offering-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* --- Gallery --- */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 39, 68, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--cream);
    font-style: italic;
}

.gallery-item--large {
    grid-column: span 5;
}

.gallery-item:nth-child(2) {
    grid-column: 6 / span 3;
}

.gallery-item:nth-child(3) {
    grid-column: 9 / span 4;
}

.gallery-item:nth-child(4) {
    grid-column: 6 / span 3;
}

.gallery-item:nth-child(5) {
    grid-column: span 5;
}

/* --- Visit --- */
.visit {
    padding: 120px 0;
    background: var(--warm-white);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.visit-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    color: var(--gold);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
}

.contact-value {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--navy);
    line-height: 1.5;
}

.contact-link {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--navy);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.contact-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* Form */
.form-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--border-light);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--warm-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.form-success {
    text-align: center;
    padding: 40px 20px;
    color: var(--navy);
}

.form-success svg {
    color: var(--gold);
    margin: 0 auto 16px;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

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

/* --- Footer --- */
.site-footer {
    background: var(--navy);
    color: var(--cream);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(250, 248, 244, 0.1);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(250, 248, 244, 0.6);
    line-height: 1.7;
    max-width: 280px;
    margin-top: 16px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(250, 248, 244, 0.6);
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--cream);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(250, 248, 244, 0.6);
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(250, 248, 244, 0.6);
    border-bottom: 1px solid rgba(250, 248, 244, 0.2);
    transition: all var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(250, 248, 244, 0.4);
}

.footer-bottom a {
    color: rgba(250, 248, 244, 0.4);
}

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

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Mobile Navigation Overlay --- */
@media (max-width: 1023px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--warm-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        padding: 80px 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 1000;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(26, 39, 68, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }
}

/* --- Responsive --- */
@media (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-img-wrapper {
        aspect-ratio: 4/3;
    }

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

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

    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-images {
        height: 480px;
        max-width: 500px;
        margin: 0 auto;
    }

    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-item,
    .gallery-item--large {
        grid-column: span 1;
        height: 240px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-headline {
        font-size: 2.4rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .hero-trust {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .about {
        padding: 80px 0;
    }

    .about-images {
        height: 360px;
    }

    .about-img-main {
        height: 360px;
    }

    .about-img-float {
        width: 140px;
        right: -10px;
    }

    .offerings {
        padding: 80px 0;
    }

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

    .gallery {
        padding: 80px 0;
    }

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

    .gallery-item,
    .gallery-item--large {
        grid-column: span 1;
        height: 220px;
    }

    .gallery-overlay {
        opacity: 1;
    }

    .visit {
        padding: 80px 0;
    }

    .form-card {
        padding: 32px 24px;
    }

    .site-footer {
        padding: 60px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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