/* ===================================
   Theme 2: Card-Based Asymmetric
   Layout: Offset cards, staggered grids, photo-like frames
   Colors: Medium Green #2d7a3e, Cream, Warm Tan, Gold
   =================================== */

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

:root {
    --primary-green: #2d7a3e;
    --dark-green: #1f5a2d;
    --cream: #fef9f3;
    --warm-tan: #e8dcc8;
    --gold: #d4a76a;
    --brown: #6b4423;
    --white: #ffffff;
    --text-dark: #3d2d1f;
    --text-light: #7a6d5c;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    line-height: 1.3;
    color: var(--brown);
}

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

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

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

/* Navigation - Slightly offset */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1a5d39;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    background: #1a5d39;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-green);
}

.nav-los-img {
    height: 1.2rem;
    width: auto;
    vertical-align: middle;
}

.nav-logo img {
    height: 70px;
    width: auto;
    border-radius: 8px;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.mobile-only {
    display: none;
}

.nav-menu a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    transition: var(--transition);
    position: relative;
}

.nav-menu a:not(.nav-cta):hover {
    color: var(--gold);
}

.nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: #efc083;
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 3px 15px rgba(239, 192, 131, 0.3);
}

.nav-cta:hover {
    background: var(--white);
    color: #1a5d39 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('../banner.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    padding: 140px 20px 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
    text-align: center;
}

.hero-title {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-los-img {
    height: 5.5rem;
    width: auto;
    vertical-align: middle;
    display: inline-block;
    margin-right: 0.5rem;
}

.title-cafe {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: #efc083;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
    color: var(--warm-tan);
    font-style: italic;
    font-family: 'Lora', serif;
    transform: rotate(0.5deg);
}

.hero-location {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 600;
}

.hero-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-green);
    padding: 18px 45px;
    border-radius: 35px;
    font-weight: 700;
    font-size: 1.15rem;
    transition: var(--transition);
    margin-top: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: rotate(-0.5deg);
}

.hero-btn:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px) rotate(0deg);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 32px;
    height: 52px;
    border: 3px solid var(--white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    opacity: 0.9;
    z-index: 2;
}

.scroll-indicator span {
    width: 6px;
    height: 10px;
    background: var(--white);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

/* Story Section - Card with Pinned Photo */
.story {
    padding: 80px 0;
    background: var(--cream);
    position: relative;
}

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

.section-header h2 {
    font-size: 3.2rem;
    color: var(--brown);
    margin-bottom: 20px;
    font-family: 'Lora', serif;
}

.section-line {
    width: 100px;
    height: 4px;
    background: var(--gold);
    margin: 0 auto;
    border-radius: 2px;
}

.story-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.story-text {
    background: var(--white);
    padding: 50px 45px;
    border-radius: 25px;
    box-shadow: 0 12px 45px rgba(61, 45, 31, 0.1);
    transform: translateY(-20px);
}

.story-text h3 {
    font-size: 2.3rem;
    color: var(--primary-green);
    margin-bottom: 1.8rem;
    font-family: 'Lora', serif;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.story-image {
    position: relative;
    transform: rotate(3deg) translateY(20px);
}

.story-image img {
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(61, 45, 31, 0.2);
    border: 8px solid var(--white);
    background: var(--white);
    padding: 10px;
}

.story-media {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 80px;
    flex-wrap: wrap;
}

.story-video {
    flex: 1;
    max-width: 500px;
}

.story-facebook {
    flex: 1;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.story-facebook .fb-page,
.story-facebook .fb-page > span {
    display: flex !important;
    justify-content: center !important;
}

.story-facebook .fb-page > span > iframe {
    margin: 0 auto;
    max-width: 100%;
}

.story-video video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-carousel {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.video-container {
    flex: 1;
    max-width: 500px;
}

.carousel-arrow {
    background: #ffffff;
    color: #2d7a3e;
    width: 55px;
    height: 55px;
    border: 4px solid #e8dcc8;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(61, 45, 31, 0.15);
    transform: rotate(2deg);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: #d4a76a;
    color: #ffffff;
    border-color: #d4a76a;
    transform: translateY(-3px) rotate(-2deg);
    box-shadow: 0 8px 30px rgba(212, 167, 106, 0.4);
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
}

/* Menu Preview Section - Asymmetric Staggered Grid */
.menu-preview {
    padding: 80px 0;
    background: var(--cream);
}

.menu-intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto 80px;
    line-height: 1.8;
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-bottom: 80px;
}

.menu-category {
    background: var(--white);
    border-radius: 25px;
    text-align: center;
    transition: var(--transition);
    border: 4px solid var(--warm-tan);
    box-shadow: 0 8px 25px rgba(61, 45, 31, 0.08);
}

.menu-category:nth-child(1) {
    padding: 50px 35px;
    transform: translateY(0) rotate(-0.5deg);
}

.menu-category:nth-child(2) {
    padding: 60px 40px;
    transform: translateY(-15px) rotate(1deg);
}

.menu-category:nth-child(3) {
    padding: 55px 35px;
    transform: translateY(10px) rotate(-1deg);
}

.menu-category:nth-child(4) {
    padding: 65px 40px;
    transform: translateY(5px) rotate(0.5deg);
}

.menu-category:nth-child(5) {
    padding: 50px 35px;
    transform: translateY(-10px) rotate(-0.5deg);
}

.menu-category:nth-child(6) {
    padding: 55px 35px;
    transform: translateY(15px) rotate(1deg);
}

.menu-category:hover {
    border-color: var(--primary-green);
    background: var(--cream);
    box-shadow: 0 15px 40px rgba(61, 45, 31, 0.15);
    transform: translateY(-10px) rotate(0deg) !important;
}

.menu-category h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: 'Lora', serif;
}

.menu-category p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.menu-cta {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 20px 50px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.15rem;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(45, 122, 62, 0.25);
    transform: rotate(-0.5deg);
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-3px) rotate(0deg);
    box-shadow: 0 12px 35px rgba(45, 122, 62, 0.35);
}

/* Contact Section - Offset Card Layout */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-content {
    max-width: 950px;
    margin: 0 auto;
    background: var(--cream);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 12px 45px rgba(61, 45, 31, 0.1);
    transform: rotate(-0.5deg);
    border: 5px solid var(--warm-tan);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.info-item {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(61, 45, 31, 0.08);
    transition: var(--transition);
}

.info-item:nth-child(odd) {
    transform: rotate(0.5deg);
}

.info-item:nth-child(even) {
    transform: rotate(-0.5deg);
}

.info-item:hover {
    transform: translateY(-5px) rotate(0deg) !important;
    box-shadow: 0 10px 30px rgba(61, 45, 31, 0.12);
}

.info-item h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1.2rem;
    font-family: 'Lora', serif;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

.info-item a {
    color: var(--primary-green);
    transition: var(--transition);
    font-weight: 600;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 3px 15px rgba(45, 122, 62, 0.2);
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 20px rgba(212, 167, 106, 0.4);
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(61, 45, 31, 0.1);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-green);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--warm-tan);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--cream);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 122, 62, 0.1);
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
.footer {
    background: #1a5d39;
    color: var(--cream);
    padding: 70px 0 35px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 100px;
    width: auto;
    border-radius: 8px;
}

.footer-content {
    display: grid;
    grid-template-columns: auto auto;
    gap: 80px;
    justify-content: center;
    align-items: start;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 2px solid rgba(232, 220, 200, 0.2);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-address {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

.footer-phone,
.footer-email {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-phone a,
.footer-email a {
    color: var(--cream);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-phone a:hover,
.footer-email a:hover {
    color: #efc083;
}

.footer-hours {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 600;
    color: #efc083;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--cream);
    color: #1a5d39;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: #efc083;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(239, 192, 131, 0.4);
}

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

.footer-map iframe {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    opacity: 0.85;
    font-size: 0.95rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll {
    0%, 20% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 25px;
        box-shadow: 0 10px 35px rgba(0,0,0,0.12);
        transition: var(--transition);
        gap: 1.2rem;
        z-index: 1001;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        color: var(--text-dark);
    }

    .nav-menu a:not(.nav-cta):hover {
        color: var(--primary-green);
    }

    .mobile-only {
        display: list-item;
    }

    .hero {
        padding: 120px 20px 60px;
        min-height: 90vh;
    }

    .hero-content {
        transform: translateX(0);
        padding: 0 15px;
    }

    .title-los-img {
        height: 3.5rem;
    }

    .title-cafe {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        transform: rotate(0deg);
    }

    .hero-btn {
        transform: rotate(0deg);
        padding: 16px 35px;
        font-size: 1.05rem;
    }

    .scroll-indicator {
        transform: translateX(-50%) rotate(0deg);
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-text {
        transform: translateY(0);
        padding: 40px 30px;
    }

    .story-image {
        transform: rotate(0deg) translateY(0);
    }

    .story-media {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .story-video {
        margin-top: 0;
        width: 100%;
    }

    .story-facebook {
        width: 100%;
        height: auto !important;
    }

    .story-facebook .fb-page,
    .story-facebook .fb-page > span {
        width: 100% !important;
    }

    .story-facebook .fb-page > span > iframe {
        width: 100% !important;
        height: 600px !important;
    }

    .story-video video {
        border-radius: 8px;
    }

    .video-carousel {
        gap: 12px;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
        transform: rotate(0deg);
    }

    .carousel-arrow:hover {
        transform: translateY(-2px) rotate(0deg);
    }

    .carousel-arrow svg {
        width: 16px;
        height: 16px;
    }

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

    .menu-category:nth-child(1),
    .menu-category:nth-child(2),
    .menu-category:nth-child(3),
    .menu-category:nth-child(4),
    .menu-category:nth-child(5),
    .menu-category:nth-child(6) {
        padding: 45px 35px;
        transform: translateY(0) rotate(0deg);
    }

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

    .contact-content {
        padding: 40px 30px;
        transform: rotate(0deg);
    }

    .info-item:nth-child(odd),
    .info-item:nth-child(even) {
        transform: rotate(0deg);
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-info {
        align-items: center;
    }

    .footer-phone,
    .footer-email {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-location {
        align-items: center;
    }

    .footer-map iframe {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 15px 50px;
        min-height: 85vh;
    }

    .hero-title {
        margin-bottom: 1.2rem;
    }

    .title-los-img {
        height: 2.8rem;
    }

    .title-cafe {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-location {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .hero-btn {
        padding: 14px 30px;
        font-size: 1rem;
        min-height: 44px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .container {
        padding: 0 15px;
    }

    .story {
        padding: 60px 0;
    }

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

    .story-text {
        padding: 30px 20px;
    }

    .story-text h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .story-text p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .menu-preview {
        padding: 60px 0;
    }

    .menu-intro {
        font-size: 1.1rem;
        margin-bottom: 60px;
    }

    .menu-category {
        padding: 35px 25px;
    }

    .menu-category h3 {
        font-size: 1.3rem;
    }

    .menu-category p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 16px 35px;
        font-size: 1.05rem;
        min-height: 44px;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-content {
        padding: 30px 20px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .info-item {
        padding: 25px 20px;
    }

    .info-item h3 {
        font-size: 1.3rem;
    }

    .info-item p {
        font-size: 1rem;
    }

    .social-links a {
        width: 48px;
        height: 48px;
        min-height: 44px;
        min-width: 44px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-logo img {
        height: 40px;
    }

    .nav-cta {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-height: 44px;
    }
}
