/* ========================================
   Keva Smoothie Company — Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #1e293b;
    background-color: #fafbfc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* --- Focus --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #0f4c5c;
    color: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 0 0 6px 6px;
    z-index: 200;
    font-weight: 500;
}
.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.25;
    color: #0f2b3a;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: #0d9488;
    color: #f0fdfa;
    border-color: #0d9488;
}
.btn-primary:hover {
    background: #0f4c5c;
    border-color: #0f4c5c;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.btn-outline {
    background: transparent;
    color: #f1f5f9;
    border-color: rgba(241, 245, 249, 0.6);
}
.btn-outline:hover {
    background: rgba(241, 245, 249, 0.1);
    border-color: #f1f5f9;
}

.btn-outline-light {
    background: transparent;
    color: #0d9488;
    border-color: #0d9488;
}
.btn-outline-light:hover {
    background: #0d9488;
    color: #f0fdfa;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 43, 58, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.7rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #f1f5f9;
    letter-spacing: 0.02em;
}

.logo-icon {
    color: #0d9488;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(241, 245, 249, 0.85);
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #0d9488;
    transition: width 0.25s ease;
}

.nav-menu a:hover {
    color: #f1f5f9;
}
.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: #0d9488;
    color: #f0fdfa !important;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease !important;
}
.nav-cta::after {
    display: none;
}
.nav-cta:hover {
    background: #0f4c5c !important;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #f1f5f9;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0f2b3a;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 43, 58, 0.88) 0%,
        rgba(13, 76, 92, 0.78) 50%,
        rgba(15, 43, 58, 0.85) 100%
    );
}

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

.hero-tagline {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 1.25rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(94, 234, 212, 0.3);
    border-radius: 50px;
}

.hero-headline {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-headline em {
    color: #5eead4;
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(241, 245, 249, 0.8);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(241, 245, 249, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.hero-scroll svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
    color: #0f2b3a;
}

.section-desc {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
}

/* --- Features --- */
.features {
    padding: 7rem 0;
    background: #fafbfc;
}

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

.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}
.feature-card:hover {
    border-color: #0d9488;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(13, 148, 136, 0.08);
    color: #0d9488;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #0f2b3a;
}

.feature-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
}

/* --- Menu Section --- */
.menu-section {
    padding: 7rem 0;
    background: #f0fdfa;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.menu-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}
.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.menu-card-img {
    height: 220px;
    overflow: hidden;
}
.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}

.menu-card-body {
    padding: 2rem;
}

.menu-card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #0f2b3a;
}

.menu-card-body > p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.menu-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #334155;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.menu-list li:last-child {
    border-bottom: none;
}
.menu-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0d9488;
    flex-shrink: 0;
}

/* --- Specials --- */
.specials {
    padding: 7rem 0;
    background: #0f2b3a;
}

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

.specials .section-tag {
    color: #5eead4;
}

.specials .section-title {
    color: #f1f5f9;
    text-align: left;
    margin-bottom: 1.25rem;
}

.specials .section-desc {
    color: rgba(241, 245, 249, 0.7);
    text-align: left;
    margin-bottom: 2rem;
}

.specials-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}
.specials-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(241, 245, 249, 0.85);
    font-size: 1rem;
}
.specials-list svg {
    color: #5eead4;
    flex-shrink: 0;
}

.specials-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.specials-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Testimonials --- */
.testimonials {
    padding: 7rem 0;
    background: #fafbfc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    border-color: #0d9488;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.08);
}

.quote-mark {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    color: rgba(13, 148, 136, 0.12);
}

.testimonial-card p {
    font-size: 1rem;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d9488;
    letter-spacing: 0.03em;
}

/* --- Location --- */
.location {
    padding: 7rem 0;
    background: #f0fdfa;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.location-info {
    padding: 2rem 0;
}

.location-info .section-title {
    text-align: left;
    margin-bottom: 0.75rem;
}

.location-info .section-desc {
    text-align: left;
    margin-bottom: 2.5rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-item svg {
    color: #0d9488;
    flex-shrink: 0;
    margin-top: 2px;
}

.location-item span,
.location-item a {
    font-size: 1rem;
    color: #334155;
    line-height: 1.6;
}

.location-item a:hover {
    color: #0d9488;
    text-decoration: underline;
}

.location-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.location-map {
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* --- Footer --- */
.footer {
    background: #0a1f2b;
    color: rgba(241, 245, 249, 0.7);
    padding: 5rem 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(241, 245, 249, 0.08);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links a {
    font-size: 0.9rem;
    color: rgba(241, 245, 249, 0.6);
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #f1f5f9;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-contact p {
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.6;
}
.footer-contact svg {
    color: #0d9488;
    flex-shrink: 0;
    margin-top: 3px;
}
.footer-contact a:hover {
    color: #5eead4;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    color: rgba(241, 245, 249, 0.4);
}
.footer-bottom a {
    color: rgba(241, 245, 249, 0.5);
    transition: color 0.2s ease;
}
.footer-bottom a:hover {
    color: #5eead4;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0d9488;
    color: #f0fdfa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #0f4c5c;
    transform: translateY(-2px);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .specials-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .specials-image {
        order: -1;
        max-height: 360px;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(15, 43, 58, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: 1.75rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
    }
    .nav-menu.open {
        transform: translateX(0);
    }
    .nav-menu a {
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .features,
    .menu-section,
    .specials,
    .testimonials,
    .location {
        padding: 5rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

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

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

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

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

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

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

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .menu-card-body {
        padding: 1.5rem;
    }
}
