/* ============================================
   SAUL J RUBIN BARREL & DRUM CO
   Classic & Elegant — Burgundy + Blush
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5A1F2B;
    --burgundy-light: #8B3A4A;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-dark: #E8D5CC;
    --cream: #FDF8F5;
    --charcoal: #2C2424;
    --text: #3D2E2E;
    --text-muted: #7A6565;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(123, 45, 59, 0.08);
    --shadow-md: 0 4px 20px rgba(123, 45, 59, 0.12);
    --shadow-lg: 0 8px 40px rgba(123, 45, 59, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
}

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

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

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

/* Typography */
.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.text-muted {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    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: var(--shadow-md);
}

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

.btn--outline:hover {
    background: var(--white);
    color: var(--burgundy);
    transform: translateY(-2px);
}

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

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

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

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

.nav.scrolled {
    background: rgba(253, 248, 245, 0.97);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.nav.scrolled .nav__logo {
    color: var(--charcoal);
}

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

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

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--white);
}

.nav.scrolled .nav__link {
    color: var(--text-muted);
}

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

.nav.scrolled .nav__link::after {
    background: var(--burgundy);
}

.nav__link--cta {
    background: var(--burgundy);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--burgundy-dark);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.nav.scrolled .nav__toggle span {
    background: var(--charcoal);
}

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

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

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

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 36, 0.82) 0%,
        rgba(90, 31, 43, 0.72) 100%
    );
    z-index: 1;
}

.hero {
    background: url('https://images.pexels.com/photos/5864548/pexels-photo-5864548.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.hero__eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero__headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.1;
}

.hero__highlight {
    color: var(--blush);
    font-style: italic;
}

.hero__subheadline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.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.6);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

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

/* Sections */
.section {
    padding: 100px 0;
}

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

.section-subtitle {
    max-width: 550px;
    margin: 0 auto;
}

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

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

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

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

.about__image:hover img {
    transform: scale(1.03);
}

.about__content {
    padding: 20px 0;
}

.about__content p {
    margin-bottom: 16px;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--blush-dark);
}

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

.stat__number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
}

.stat__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Products */
.products {
    background: var(--cream);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

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

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

.product-card__body {
    padding: 28px;
}

.product-card__title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.product-card__text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Services */
.services {
    background: var(--white);
}

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

.service-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-md);
    background: var(--blush-light);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--blush-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card__icon {
    margin-bottom: 20px;
    display: inline-flex;
}

.service-card__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--charcoal);
}

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

/* Gallery */
.gallery {
    background: var(--cream);
}

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

.gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

/* Testimonial */
.testimonial {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial__quote {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial__text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 28px;
}

.testimonial__attribution {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: var(--blush);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* CTA */
.cta {
    background: var(--blush);
    text-align: center;
    padding: 80px 0;
}

.cta__text {
    max-width: 500px;
    margin: 0 auto 32px;
}

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

/* Contact */
.contact {
    background: var(--white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 36px;
}

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

.contact__item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--blush-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--charcoal);
}

.contact__item p,
.contact__item a {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact__item a:hover {
    color: var(--burgundy);
}

/* Form */
.contact__form-wrapper {
    background: var(--blush-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--blush-dark);
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form__input:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

.form__input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.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='%237B2D3B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form__success {
    text-align: center;
    padding: 40px 20px;
}

.form__success p {
    margin-top: 16px;
    color: var(--burgundy);
    font-weight: 500;
    font-size: 1.05rem;
}

/* Map */
.map-section {
    border-top: 4px solid var(--blush);
}

.map-section iframe {
    filter: saturate(0.6) contrast(1.05);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

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

.footer h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer ul a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer ul a:hover {
    color: var(--blush);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
    }
    
    .nav__menu.active {
        right: 0;
    }
    
    .nav__link {
        color: var(--text) !important;
        font-size: 1.1rem;
    }
    
    .nav__link::after {
        background: var(--burgundy) !important;
    }
    
    .nav__toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero__headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .about__grid {
        grid-template-columns: 1fr;
    }
    
    .about__image {
        order: -1;
    }
    
    .products__grid {
        grid-template-columns: 1fr;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery__item--large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
    }
    
    .contact__form-wrapper {
        padding: 28px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .section {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about__stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    
    .gallery__item--large {
        grid-column: span 1;
    }
    
    .cta__actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile menu overlay */
.nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav__overlay.active {
    opacity: 1;
    visibility: visible;
}
