/* ============================================
   RYE Rods — Clean Minimalist Retail Site
   Palette: Burgundy (#722F37) + Blush (#F5E6E0)
   Fonts: Cormorant Garamond + Outfit
============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #722F37;
    --burgundy-dark: #5A242B;
    --burgundy-light: #8B3A42;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-dark: #E8D0C8;
    --cream: #FDF8F6;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray-900: #2D2D2D;
    --gray-700: #555555;
    --gray-500: #888888;
    --gray-300: #C4C4C4;
    --gray-100: #F0F0F0;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, sans-serif;
    
    --nav-height: 72px;
    --section-padding: clamp(80px, 12vw, 140px);
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--gray-900);
    background-color: var(--cream);
    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;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 48px);
}

/* ============================================
   NAVIGATION
============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(114, 47, 55, 0.08);
    height: var(--nav-height);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(114, 47, 55, 0.06);
}

.nav-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 48px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--burgundy);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-700);
    transition: color 0.25s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--burgundy);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--burgundy);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--burgundy);
    border: 1px solid var(--burgundy);
    padding: 8px 20px;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--burgundy);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--burgundy);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:first-child {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:last-child {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ============================================
   HERO
============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--nav-height) + 40px) clamp(24px, 4vw, 48px) 60px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-line-top,
.hero-line-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--burgundy));
    opacity: 0.3;
}

.hero-line-top {
    top: var(--nav-height);
    background: linear-gradient(to bottom, var(--burgundy), transparent);
}

.hero-line-bottom {
    bottom: 0;
    background: linear-gradient(to bottom, transparent, var(--burgundy));
}

.hero-content {
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--burgundy);
    opacity: 0.4;
}

.hero-eyebrow::before {
    right: calc(100% + 16px);
}

.hero-eyebrow::after {
    left: calc(100% + 16px);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.hero-title-line {
    display: block;
}

.hero-title em {
    font-style: italic;
    color: var(--burgundy);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 300;
    color: var(--gray-700);
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

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

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(114, 47, 55, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-ghost:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.btn-light {
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--blush);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--burgundy);
}

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

/* ============================================
   SECTION LABELS & TITLES
============================================ */
.section-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform 0.6s ease;
}

.about-image-wrap:hover img {
    transform: scale(1.03);
}

.about-image-wrap::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--blush-dark);
    border-radius: 4px;
    z-index: -1;
}

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

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

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-100);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-100);
}

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

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

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

.service-card {
    background: var(--white);
    border-radius: 4px;
    padding: clamp(28px, 3vw, 40px);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(114, 47, 55, 0.08);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blush);
    margin-bottom: 24px;
    color: var(--burgundy);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.8;
    font-weight: 300;
}

/* ============================================
   GALLERY
============================================ */
.gallery {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

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

.gallery-item {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(114, 47, 55, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* ============================================
   CTA STRIP
============================================ */
.cta-strip {
    background: var(--burgundy);
    padding: clamp(48px, 8vw, 80px) 0;
}

.cta-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-strip-text {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--white);
    font-style: italic;
}

.cta-strip-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-text {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail svg {
    color: var(--burgundy);
    flex-shrink: 0;
    margin-top: 2px;
}

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

.contact-detail-value {
    font-size: 1rem;
    color: var(--gray-900);
    line-height: 1.6;
}

.contact-detail-value a {
    transition: color 0.2s ease;
}

.contact-detail-value a:hover {
    color: var(--burgundy);
}

.contact-form-wrap {
    background: var(--white);
    border-radius: 4px;
    padding: clamp(32px, 4vw, 48px);
    border: 1px solid var(--gray-100);
}

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

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

.form-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-700);
}

.form-input {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--gray-900);
    background: var(--cream);
    border: 1px solid var(--gray-100);
    border-radius: 4px;
    padding: 14px 16px;
    outline: none;
    transition: all 0.25s ease;
}

.form-input:focus {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.06);
}

.form-input::placeholder {
    color: var(--gray-300);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--blush);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--burgundy);
    font-weight: 400;
}

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

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--black);
    color: var(--white);
    padding: clamp(56px, 8vw, 80px) 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: clamp(40px, 6vw, 56px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    max-width: 240px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-links a {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.footer-phone,
.footer-email {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-phone:hover,
.footer-email:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(20px, 4vw, 32px) 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   SCROLL REVEAL (below-fold only)
============================================ */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(253, 248, 246, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px clamp(24px, 4vw, 48px);
        gap: 24px;
        border-bottom: 1px solid rgba(114, 47, 55, 0.08);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s ease;
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-cta {
        justify-content: center;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }
    
    .hero-eyebrow::before,
    .hero-eyebrow::after {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrap {
        aspect-ratio: 4/3;
    }
    
    .about-image-wrap::after {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-strip .container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-strip-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-strip-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
