/* ===================================
   Oceano Ice Company — Stylesheet
   Classic & Elegant Design
   Palette: Burgundy + Blush
===================================== */

/* --- CSS Custom Properties --- */
:root {
    --burgundy: #781c25;
    --burgundy-dark: #5a141c;
    --burgundy-light: #9a2530;
    --blush: #f5e6e0;
    --blush-light: #faf3f0;
    --blush-dark: #e8d0c8;
    --cream: #fdf8f5;
    --charcoal: #2a2224;
    --warm-gray: #6b5e60;
    --light-gray: #b8a8aa;
    --white: #ffffff;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(120, 28, 37, 0.06);
    --shadow-md: 0 4px 16px rgba(120, 28, 37, 0.08);
    --shadow-lg: 0 8px 32px rgba(120, 28, 37, 0.10);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--burgundy);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
    color: var(--charcoal);
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 600px;
    line-height: 1.7;
}

.lead {
    font-size: 1.15rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-light:hover {
    background-color: var(--blush);
    border-color: var(--blush);
    color: var(--burgundy-dark);
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 0.95rem;
}

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(253, 248, 245, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--blush-dark);
    transition: box-shadow var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--burgundy);
    text-decoration: none;
}

.logo:hover {
    color: var(--burgundy-dark);
}

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

.main-nav a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--charcoal);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
}

.main-nav a:hover {
    color: var(--burgundy);
    background-color: var(--blush-light);
}

.btn-nav {
    background-color: var(--burgundy) !important;
    color: var(--white) !important;
    border-radius: var(--radius-sm) !important;
    margin-left: 0.5rem;
}

.btn-nav:hover {
    background-color: var(--burgundy-dark) !important;
    color: var(--white) !important;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line: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;
    background-color: var(--charcoal);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/36733403/pexels-photo-36733403.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(42, 34, 36, 0.72) 0%,
        rgba(120, 28, 37, 0.65) 50%,
        rgba(42, 34, 36, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 8rem 1.5rem 4rem;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(245, 230, 224, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--blush);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* --- Services --- */
.services {
    padding: 6rem 0;
    background-color: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    border: 1px solid var(--blush-dark);
    transition: all var(--transition);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blush);
    border-radius: var(--radius-md);
    color: var(--burgundy);
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--burgundy);
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

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

/* --- About --- */
.about {
    padding: 6rem 0;
    background-color: var(--blush-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    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;
}

.about-content .section-title {
    margin-bottom: 1.25rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
}

.feature-item svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

/* --- Delivery --- */
.delivery {
    padding: 6rem 0;
    background-color: var(--cream);
}

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

.delivery-content .section-title {
    margin-bottom: 1.25rem;
}

.delivery-list {
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.delivery-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--charcoal);
}

.delivery-list svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

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

.delivery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- CTA --- */
.cta {
    padding: 5rem 0;
    background-color: var(--burgundy);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 230, 224, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta .section-eyebrow {
    color: var(--blush);
}

.cta .section-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--blush);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

/* --- Contact --- */
.contact {
    padding: 6rem 0;
    background-color: var(--blush-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3.5rem;
}

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

.info-card {
    display: flex;
    gap: 1.25rem;
    background-color: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--blush-dark);
    transition: all var(--transition);
}

.info-card:hover {
    border-color: var(--burgundy);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blush);
    border-radius: var(--radius-md);
    color: var(--burgundy);
    flex-shrink: 0;
}

.info-card h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
    white-space: nowrap;
}

.info-card p a {
    color: var(--burgundy);
    font-weight: 700;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--burgundy);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.link-arrow:hover {
    color: var(--burgundy-dark);
    gap: 0.5rem;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--blush-dark);
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-note {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin-bottom: 1.75rem;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--charcoal);
    background-color: var(--blush-light);
    border: 1.5px solid var(--blush-dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(120, 28, 37, 0.1);
}

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

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

.form-success {
    display: none;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    background-color: rgba(120, 28, 37, 0.06);
    border: 1px solid rgba(120, 28, 37, 0.15);
    border-radius: var(--radius-sm);
    color: var(--burgundy);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
}

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

/* --- Footer --- */
.site-footer {
    background-color: var(--charcoal);
    color: var(--blush);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

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

.footer-brand p {
    font-size: 0.9rem;
    color: var(--light-gray);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 1rem;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--light-gray);
    padding: 0.25rem 0;
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: var(--light-gray);
    line-height: 1.7;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 224, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--light-gray);
}

/* --- Scroll Reveal --- */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 968px) {
    .about-grid,
    .delivery-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        max-height: 400px;
    }

    .delivery-image {
        max-height: 400px;
    }

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

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 101;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--cream);
        box-shadow: var(--shadow-lg);
        padding: 5rem 2rem 2rem;
        transition: right var(--transition);
        z-index: 99;
    }

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

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .main-nav a {
        font-size: 1rem;
        padding: 0.75rem 0;
        width: 100%;
    }

    .btn-nav {
        margin-left: 0 !important;
        margin-top: 1rem;
        text-align: center;
        width: 100%;
        display: block !important;
    }

    .hero-content {
        padding: 7rem 1.5rem 3rem;
    }

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

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

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: 1.75rem;
    }

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

    .info-card p {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .services,
    .about,
    .delivery,
    .contact {
        padding: 4rem 0;
    }

    .service-card {
        padding: 1.75rem;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}
