/* Colors */
:root {
    --bg-color: #F7F3F1;
    --text-color: #2D241E;
    --accent-color: #2D241E; /* Dark Brown/Black */
    --accent-light: #4A3B32;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-color);
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: relative;
    background: transparent;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-color);
}

.navbar a {
    color: var(--text-color);
    margin-left: 2.5rem;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.navbar a:hover {
    opacity: 0.7;
}

.mobile-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section - Split Layout */
.hero {
    display: flex;
    height: 90vh; /* Adjust height based on look */
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.hero-image {
    flex: 1;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    flex: 1;
    padding: 4rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-sub {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 0.5rem; /* Rounded corners */
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.info-block {
    margin-top: 2rem;
    border-top: 1px solid #ccc;
    padding-top: 2rem;
    width: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #444;
}

/* Page Header */
.page-header {
    padding: 6rem 5% 3rem;
    text-align: center;
    background-color: var(--white);
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections General */
.section {
    padding: 5rem 10%;
    text-align: center;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #666;
    font-style: italic;
    font-family: var(--font-heading); /* Serif for taglines */
}

/* Gallery / Glimpse */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-grid img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

/* Bestsellers */
.products-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.product-card {
    background: transparent;
    width: 300px;
    text-align: left;
}

.product-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.product-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.price {
    font-family: var(--font-body);
    font-weight: 600;
}

.product-info p {
    font-size: 0.9rem;
    color: #666;
}

.center-btn {
    text-align: center;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-item {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.feature-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.feature-item:hover img {
    transform: scale(1.05);
}

.full-width {
    grid-column: span 2;
    height: 400px;
}

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 2rem;
    color: white;
    text-align: left;
}

.feature-overlay h3 {
    color: white;
    font-size: 1.5rem;
}

/* Map */
.map-section {
    padding: 0;
}
.map-container iframe {
    filter: grayscale(100%); /* Often high-end cafes use grayscale maps */
}

/* Footer */
.footer {
    background-color: var(--bg-color);
    padding: 4rem 10%;
    border-top: 1px solid #ddd;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 0.5fr 1fr;
    gap: 4rem;
}

.footer-col h3 {
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #555;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--text-color);
}

.newsletter form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter input {
    padding: 0.8rem;
    border: 1px solid #ccc;
    background: transparent;
    flex: 1;
    font-family: var(--font-body);
    border-radius: 0.5rem; /* Rounded corners */
}

.newsletter button {
    padding: 0.8rem 1.5rem;
    background: var(--text-color);
    color: white;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    border-radius: 0.5rem; /* Rounded corners */
}

.social-icons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    font-size: 1.2rem;
}

.social-icons a {
    color: var(--text-color);
}

.copyright {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #888;
}

/* Reservation Form */
.reservation-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 1rem;
}

.reservation-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
}

.full-width-form {
    grid-column: span 2;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 250px;
    height: 250px;
    border-radius: 50%; /* Circle images */
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.team-info p {
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

/* Events Section */
.events-list {
    max-width: 900px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    background: var(--white);
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    text-align: left;
}

.event-date {
    background: var(--text-color);
    color: var(--white);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 80px;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.event-image {
    width: 250px;
    height: auto;
}

.event-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.event-details {
    padding: 2rem;
    flex: 1;
}

.event-details h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.event-time {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.event-desc {
    color: #555;
    margin-bottom: 1.5rem;
}

/* Responsive */
/* Responsive */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .section {
        padding: 4rem 5%;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 5%;
    }
    .mobile-toggle {
        display: block;
    }
    .navbar {
        position: fixed;
        top: 0;
        left: -100%; /* Hide off-screen */
        width: 280px;
        height: 100vh;
        background: var(--white);
        padding: 4rem 2rem;
        flex-direction: column;
        display: flex;
        border-right: 1px solid #ddd;
        transition: 0.4s ease; /* Slide animation */
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    .navbar.active {
        left: 0; /* Slide in */
    }
    .navbar a {
        margin: 1.5rem 0;
        font-size: 1.1rem;
    }

    .hero {
        flex-direction: column;
        height: auto;
    }
    .hero-image {
        width: 100%;
        height: 50vh;
    }
    .hero-content {
        width: 100%;
        padding: 3rem 5%;
        align-items: center;
        text-align: center;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero-buttons {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .newsletter form {
        flex-direction: column;
    }
    .social-icons {
        justify-content: center;
    }
    
    .event-card {
        flex-direction: column;
    }
    .event-image {
        width: 100%;
        height: 200px;
    }
    .event-date {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    .event-date .day {
        font-size: 1.2rem;
    }

    /* Reservation form on mobile */
    .reservation-form {
        grid-template-columns: 1fr;
    }
    .full-width-form {
        grid-column: span 1;
    }

    /* Team on mobile */
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    /* Product adjustments if needed */
    .product-card {
        width: 100%;
    }
}
