/* ===================================
   Old Town Espresso & Ice Cream
   Vibrant Modern Style
   =================================== */

:root {
    --navy: #0f1c3f;
    --navy-light: #1a2d5a;
    --gold: #f5a623;
    --gold-light: #ffd700;
    --gold-dark: #d4890a;
    --cream: #fff9f0;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-on-dark: #f0f0f0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(15, 28, 63, 0.08);
    --shadow-md: 0 8px 30px rgba(15, 28, 63, 0.12);
    --shadow-lg: 0 20px 60px rgba(15, 28, 63, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

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

ul {
    list-style: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--navy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
}

.skip-link:focus {
    top: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: 'Outfit', sans-serif;
}

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

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

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

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

.full-width {
    width: 100%;
}

.tag {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 28, 63, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 24px;
    transition: var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 600;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    line-height: 1.2;
}

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

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

.nav-links a {
    color: var(--text-on-dark);
    font-weight: 400;
    font-size: 0.95rem;
}

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

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

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

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 28, 63, 0.88) 0%,
        rgba(26, 45, 90, 0.75) 50%,
        rgba(15, 28, 63, 0.85) 100%
    );
}

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

.hero-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 600;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

/* Geometric Shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gold);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--gold-light);
    bottom: 10%;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--white);
    top: 30%;
    left: 15%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* ===================================
   FEATURES
   =================================== */
.features {
    padding: 80px 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--navy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gold);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   MENU SECTION
   =================================== */
.menu-section {
    padding: 100px 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

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

.menu-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.menu-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.menu-img-wrapper {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    overflow: hidden;
}

.menu-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .menu-img-wrapper img {
    transform: scale(1.1);
}

.menu-info {
    padding: 8px 24px 8px 0;
}

.menu-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.menu-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.menu-cta {
    text-align: center;
    padding: 32px;
    background: var(--navy);
    border-radius: var(--radius-lg);
}

.menu-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.link-primary {
    color: var(--gold);
    font-weight: 600;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

.link-primary:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

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

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

.img-stack {
    position: relative;
    height: 500px;
}

.img-1 {
    width: 75%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: absolute;
    top: 0;
    left: 0;
}

.img-2 {
    width: 55%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    position: absolute;
    bottom: 0;
    right: 0;
    border: 4px solid var(--white);
}

.about-pattern {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--gold);
    opacity: 0.3;
    border-radius: var(--radius-md);
    bottom: 60px;
    left: 20px;
    transform: rotate(15deg);
}

.about-text-col .tag {
    margin-bottom: 16px;
}

.about-text-col h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 24px;
}

.about-text-col p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.check-list {
    margin-top: 24px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-weight: 500;
}

.check-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===================================
   LOCATION SECTION
   =================================== */
.location-section {
    padding: 100px 0;
    background: var(--cream);
}

.location-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.location-info {
    padding: 48px;
}

.location-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 32px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

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

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

.info-item strong {
    display: block;
    color: var(--navy);
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.info-item a:hover {
    color: var(--gold-dark);
}

.contact-form-wrapper {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(15, 28, 63, 0.1);
}

.contact-form-wrapper h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(15, 28, 63, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
}

.form-success {
    margin-top: 16px;
    padding: 16px;
    background: rgba(245, 166, 35, 0.15);
    border-radius: var(--radius-sm);
    color: var(--navy);
    font-weight: 500;
}

.form-success.hidden {
    display: none;
}

.map-col {
    position: relative;
    min-height: 400px;
}

.map-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
}

.map-overlay .btn {
    width: 100%;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--navy);
    color: var(--text-on-dark);
    padding: 60px 0 0;
}

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

.footer-brand h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-hours h4 {
    color: var(--gold);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

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

.footer-hours p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

    .about-grid {
        gap: 40px;
    }

    .location-card {
        grid-template-columns: 1fr;
    }

    .map-col {
        min-height: 350px;
    }

    .map-placeholder {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-120%);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-toggle {
        display: flex;
    }

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

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

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

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

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

    .menu-item {
        flex-direction: column;
        text-align: center;
    }

    .menu-img-wrapper {
        width: 100%;
        height: 200px;
    }

    .menu-info {
        padding: 16px 24px;
    }

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

    .img-stack {
        height: 350px;
    }

    .img-1 {
        width: 80%;
        height: 300px;
    }

    .img-2 {
        width: 60%;
        height: 200px;
    }

    .location-info {
        padding: 32px 24px;
    }

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

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

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 16px;
    }

    .features,
    .menu-section,
    .about-section,
    .location-section {
        padding: 60px 0;
    }
}
