/* ===================================
   Windfall Cafe - Landing Page Styles
   Vibrant · Calm · Professional · Cozy
   =================================== */

/* ===================================
   BASE RESET & FOUNDATION
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.7;
    color: #3a3a3a;
    background: linear-gradient(135deg, #f4ece0 0%, #e8dcc8 50%, #f0e6d8 100%);
    background-attachment: fixed;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1 {
    font-size: 3em;
    line-height: 1.2;
    color: #4a3628;
    margin-bottom: 0.3em;
    font-weight: normal;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 2.2em;
    line-height: 1.3;
    color: #5a4332;
    margin-bottom: 0.8em;
    font-weight: normal;
    letter-spacing: 0.01em;
}

h3 {
    font-size: 1.5em;
    line-height: 1.4;
    color: #5a4332;
    margin-bottom: 0.6em;
    margin-top: 1.8em;
    font-weight: 600;
}

p {
    margin-bottom: 1.2em;
    color: #3a3a3a;
}

b {
    font-weight: 600;
    color: #2a2a2a;
}

::selection {
    background-color: rgba(139, 111, 71, 0.3);
    color: #2a2a2a;
}

/* ===================================
   LINKS
   =================================== */

a {
    color: #8b6f47;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

a:hover {
    color: #5a4332;
    border-bottom: 1px solid #5a4332;
}

a:active {
    transform: translateY(1px);
}

/* ===================================
   NAVIGATION BAR
   =================================== */

.navbar {
    background-color: rgba(232, 220, 200, 0.95);
    backdrop-filter: blur(10px);
    padding: 1em 2em;
    text-align: center;
    font-size: 1em;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(74, 54, 40, 0.1);
    transition: all 0.3s ease;
}

.navbar:hover {
    background-color: rgba(232, 220, 200, 1);
    box-shadow: 0 3px 15px rgba(74, 54, 40, 0.15);
}

.navbar a {
    color: #4a3628;
    margin: 0 1em;
    padding: 0.5em 1em;
    border-bottom: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border-radius: 6px;
}

.navbar a:hover {
    color: #8b6f47;
    background-color: rgba(139, 111, 71, 0.1);
    transform: translateY(-2px);
    border-bottom: none;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 3em 2em 4em;
    text-align: center;
}

/* Logo styling - centered above the title */
.hero-logo {
    margin-bottom: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    max-width: 180px;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 4px 12px rgba(74, 54, 40, 0.15));
    transition: transform 0.4s ease;
    border: 3px solid rgba(139, 111, 71, 0.2);
}

.hero-logo img:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: rgba(139, 111, 71, 0.4);
}

.hero-text h1 {
    margin-bottom: 0.3em;
}

.hero-text h2 {
    font-size: 1.6em;
    color: #8b6f47;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 2em;
}

.hero-text p {
    text-align: left;
    margin-bottom: 1em;
    transition: all 0.3s ease;
}

.hero-text p:hover {
    transform: translateX(6px);
    color: #2a2a2a;
}

.hero-text a {
    color: #8b6f47;
    font-weight: 600;
    padding: 0.3em 0.6em;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hero-text a:hover {
    background-color: rgba(139, 111, 71, 0.12);
    border-bottom: 1px solid #8b6f47;
}

/* ===================================
   SECTIONS - BASE STYLES
   =================================== */

section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4em 2em;
}

section h2 {
    margin-bottom: 1.2em;
    text-align: center;
}

section h3 {
    color: #5a4332;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 4em 3em;
    margin-bottom: 3em;
    box-shadow: 0 4px 20px rgba(74, 54, 40, 0.08);
}

.about-cafe-and-team,
.about-proprietor,
.about-highlights {
    margin-bottom: 3em;
}

.about-proprietor blockquote {
    background-color: rgba(232, 220, 200, 0.5);
    padding: 2em;
    margin: 2em 0;
    border-left: 4px solid #8b6f47;
    font-style: italic;
    line-height: 1.9;
    border-radius: 0 8px 8px 0;
    transition: all 0.35s ease;
}

.about-proprietor blockquote:hover {
    background-color: rgba(232, 220, 200, 0.7);
    transform: translateX(8px);
    box-shadow: -3px 5px 15px rgba(74, 54, 40, 0.1);
}

.about-proprietor blockquote b {
    font-style: normal;
    display: block;
    margin-top: 1em;
    color: #4a3628;
}

/* ===================================
   MENU SECTION
   =================================== */

.menu {
    padding: 4em 2em;
}

.menu h2 {
    margin-bottom: 1.5em;
}

.menu-pages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    margin-top: 2em;
}

.menu-pages img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(74, 54, 40, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    object-fit: cover;
}

.menu-pages img:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 12px 30px rgba(74, 54, 40, 0.25);
    filter: brightness(1.05);
}

.menu-pages img:active {
    transform: scale(0.98);
}

/* Modal/Lightbox for menu images */
.menu-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.menu-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-modal img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.menu-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    line-height: 1;
}

.menu-modal-close:hover {
    color: #e8dcc8;
    transform: scale(1.2);
}

/* Navigation arrows */
.menu-modal-prev,
.menu-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: all 0.3s ease;
    z-index: 10000;
}

.menu-modal-prev {
    left: 20px;
}

.menu-modal-next {
    right: 20px;
}

.menu-modal-prev:hover,
.menu-modal-next:hover {
    color: #e8dcc8;
    transform: translateY(-50%) scale(1.2);
}

/* Image counter */
.menu-modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 10000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    .menu-modal-prev,
    .menu-modal-next {
        font-size: 40px;
        padding: 15px;
    }
    
    .menu-modal-prev {
        left: 10px;
    }
    
    .menu-modal-next {
        right: 10px;
    }
    
    .menu-modal-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
    
    .menu-modal-counter {
        bottom: 20px;
        font-size: 16px;
        padding: 8px 16px;
    }
}

/* ===================================
   LISTS
   =================================== */

ul {
    margin-left: 0;
    margin-bottom: 1.5em;
    list-style: none;
}

li {
    margin-bottom: 1em;
    line-height: 1.8;
    padding-left: 2em;
    position: relative;
    transition: all 0.3s ease;
}

li::before {
    content: '☕';
    position: absolute;
    left: 0;
    color: #8b6f47;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

/* Specific emoticons for "What We Offer" section */
.about-highlights li:nth-child(1)::before {
    content: '🥐';
}

.about-highlights li:nth-child(2)::before {
    content: '☕';
}

.about-highlights li:nth-child(3)::before {
    content: '🎵';
}

/* Same emoticons for "Special Offers" section */
.offers li:nth-child(1)::before {
    content: '🥐';
}

.offers li:nth-child(2)::before {
    content: '☕';
}

.offers li:nth-child(3)::before {
    content: '🎵';
}

li:hover {
    transform: translateX(8px);
    color: #2a2a2a;
}

li:hover::before {
    transform: scale(1.2);
}

/* ===================================
   BLOCKQUOTES (REVIEWS)
   =================================== */

blockquote {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 1.8em 2em;
    margin: 1.8em 0;
    border-left: 4px solid #8b6f47;
    font-style: italic;
    line-height: 1.9;
    border-radius: 0 8px 8px 0;
    transition: all 0.35s ease;
    position: relative;
    box-shadow: 0 2px 10px rgba(74, 54, 40, 0.08);
}

blockquote::before {
    content: '"';
    position: absolute;
    top: 0.1em;
    left: 0.3em;
    font-size: 3.5em;
    color: rgba(139, 111, 71, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

blockquote:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: translateX(10px);
    border-left-color: #5a4332;
    box-shadow: -3px 5px 15px rgba(74, 54, 40, 0.12);
}

blockquote b {
    font-style: normal;
    display: block;
    margin-top: 1em;
    color: #4a3628;
    font-size: 0.95em;
}

/* ===================================
   FOOTER / CONTACT
   =================================== */

.footer {
    background: linear-gradient(to bottom, 
        rgba(232, 220, 200, 0) 0%, 
        rgba(232, 220, 200, 0.6) 30%, 
        rgba(232, 220, 200, 0.9) 100%);
    margin-top: 5em;
    padding: 4em 2em 2.5em;
}

.footer h2 {
    margin-bottom: 1.5em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.2em;
    transition: all 0.3s ease;
}

.footer p:hover {
    transform: translateX(4px);
    color: #2a2a2a;
}

.footer p:last-of-type {
    margin-top: 3em;
    padding-top: 2em;
    border-top: 1px solid rgba(139, 111, 71, 0.2);
    font-size: 0.9em;
    color: #777;
    text-align: center;
}

.footer a {
    font-weight: 500;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablets */
@media (max-width: 768px) {
    body {
        font-size: 17px;
    }
    
    h1 {
        font-size: 2.5em;
    }
    
    h2 {
        font-size: 1.9em;
    }
    
    h3 {
        font-size: 1.3em;
    }
    
    .navbar {
        padding: 0.8em 1em;
        font-size: 0.95em;
    }
    
    .navbar a {
        margin: 0 0.5em;
        padding: 0.4em 0.8em;
    }
    
    .hero {
        padding: 2.5em 1.5em 3em;
    }
    
    .hero-logo img {
        max-width: 150px;
        width: 150px;
        height: 150px;
    }
    
    section {
        padding: 3em 1.5em;
    }
    
    .about {
        padding: 3em 2em;
    }
    
    .menu-pages {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5em;
    }
}

/* Mobile */
@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.6em;
    }
    
    h3 {
        font-size: 1.2em;
    }
    
    .navbar {
        padding: 0.7em 0.5em;
        font-size: 0.85em;
    }
    
    .navbar a {
        margin: 0 0.2em;
        padding: 0.3em 0.5em;
        font-size: 0.9em;
    }
    
    .hero {
        padding: 2em 1em 2.5em;
    }
    
    .hero-logo {
        margin-bottom: 1.5em;
    }
    
    .hero-logo img {
        max-width: 120px;
        width: 120px;
        height: 120px;
    }
    
    .hero-text h2 {
        font-size: 1.3em;
    }
    
    section {
        padding: 2.5em 1em;
    }
    
    .about {
        padding: 2.5em 1.5em;
        border-radius: 8px;
    }
    
    .menu-pages {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
    
    .menu-pages img:hover {
        transform: scale(1.02);
    }
    
    blockquote {
        padding: 1.5em 1.2em 1.5em 1.8em;
        margin: 1.5em 0;
    }
    
    blockquote::before {
        font-size: 2.5em;
    }
    
    li:hover,
    .hero-text p:hover,
    .footer p:hover,
    blockquote:hover {
        transform: none;
    }
    
    li::before {
        font-size: 1em;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .navbar a {
        margin: 0 0.1em;
        padding: 0.3em 0.4em;
        font-size: 0.85em;
    }
    
    .hero-logo img {
        max-width: 100px;
        width: 100px;
        height: 100px;
    }
    
    .menu-pages {
        gap: 1em;
    }
}