/* ============================================
   SevenMade — Artisan Bakery & Grocer
   Classic & Elegant Design System
   ============================================ */

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

:root {
    --navy: #0a1930;
    --navy-light: #132744;
    --navy-dark: #060f1e;
    --gold: #c5a059;
    --gold-light: #d4b76e;
    --gold-dark: #a8853e;
    --cream: #f8f5ef;
    --cream-dark: #efe9dd;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6b6b6b;
    --text-light: #9a9a9a;
    
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(10, 25, 48, 0.06);
    --shadow-md: 0 8px 30px rgba(10, 25, 48, 0.10);
    --shadow-lg: 0 20px 60px rgba(10, 25, 48, 0.14);
    
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

ul {
    list-style: none;
}

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

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

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition);
}

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

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

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

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ---------- Section Eyebrow & Title ---------- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 24px;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 25, 48, 0.97);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
}

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

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

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

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

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

.nav-links .btn-gold {
    padding: 10px 24px;
    font-size: 0.7rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(
            180deg,
            rgba(10, 25, 48, 0.55) 0%,
            rgba(10, 25, 48, 0.40) 50%,
            rgba(10, 25, 48, 0.70) 100%
        );
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.9s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s infinite;
}

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

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.about-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--gold);
    border-radius: 2px;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

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

.about-signature {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-signature img {
    width: 160px;
}

.signature-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
}

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

.offerings .section-eyebrow {
    color: var(--gold);
}

.offerings .section-title {
    color: var(--white);
    margin-bottom: 60px;
}

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

.offering-card {
    background: var(--navy-light);
    border-radius: 2px;
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid rgba(197, 160, 89, 0.08);
}

.offering-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(197, 160, 89, 0.2);
}

.offering-image {
    overflow: hidden;
    height: 260px;
}

.offering-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.offering-card:hover .offering-image img {
    transform: scale(1.08);
}

.offering-body {
    padding: 32px 28px;
}

.offering-body h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
}

.offering-body p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

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

.gallery .section-title {
    margin-bottom: 60px;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.gallery-item:nth-child(2) {
    grid-column: 6 / 9;
    grid-row: 1 / 2;
}

.gallery-item:nth-child(3) {
    grid-column: 9 / 13;
    grid-row: 1 / 2;
}

.gallery-item:nth-child(4) {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

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

/* ---------- Visit Section ---------- */
.visit {
    padding: 120px 0;
    background: var(--cream-dark);
}

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

.visit-info {
    padding: 40px 0;
}

.visit-info .section-title {
    margin-bottom: 40px;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.icon-gold {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.detail-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.detail-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--navy);
    line-height: 1.6;
}

.detail-link {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--navy);
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 2px;
    transition: border-color var(--transition);
}

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

.visit-map {
    border-radius: 2px;
    overflow: hidden;
    min-height: 450px;
    box-shadow: var(--shadow-md);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* ---------- Contact Section ---------- */
.contact {
    padding: 120px 0;
    background: var(--navy);
}

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

.contact-content .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 36px;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding-bottom: 8px;
    transition: all var(--transition);
}

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

/* Contact Form */
.contact-form-wrap {
    background: var(--navy-light);
    padding: 48px;
    border-radius: 2px;
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--white);
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.06);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 2px;
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    margin-top: 8px;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
}

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

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.7);
        transform-origin: top;
    }
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 50px;
    }
    
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto auto;
    }
    
    .gallery-item:nth-child(1) {
        grid-column: 1 / 4;
    }
    
    .gallery-item:nth-child(2) {
        grid-column: 4 / 7;
    }
    
    .gallery-item:nth-child(3) {
        grid-column: 1 / 4;
    }
    
    .gallery-item:nth-child(4) {
        grid-column: 4 / 7;
    }
    
    .contact-grid {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrap img {
        height: 400px;
    }
    
    .about-accent {
        top: -12px;
        right: -12px;
    }
    
    .offerings-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .visit-map iframe {
        min-height: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .about,
    .offerings,
    .gallery,
    .visit,
    .contact {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-eyebrow {
        font-size: 0.6rem;
        letter-spacing: 0.25em;
    }
}

/* ---------- Mobile overlay ---------- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

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