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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf9f7;
}

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

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #8b4513;
    font-family: 'Georgia', serif;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #d2691e;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-count {
    background-color: #d2691e;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.6rem;
    font-size: 0.9rem;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5deb3 0%, #d2b48c 100%);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    color: #5d4037;
    margin-bottom: 1rem;
    font-weight: normal;
}

.hero p {
    font-size: 1.3rem;
    color: #6d4c41;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #8b4513;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #6d3410;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139,69,19,0.3);
}

.btn-secondary {
    background-color: #d2691e;
}

.btn-secondary:hover {
    background-color: #a0521e;
}

/* Welcome Section */
.welcome {
    padding: 80px 20px;
    background-color: #fff;
}

.welcome h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #5d4037;
    margin-bottom: 1rem;
}

.lead {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

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

.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Featured/Product Grid */
.featured {
    padding: 80px 20px;
    background-color: #faf9f7;
}

.featured h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #5d4037;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card h3 {
    color: #5d4037;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.price {
    color: #d2691e;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

.add-to-cart-btn {
    background-color: #8b4513;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.add-to-cart-btn:hover {
    background-color: #6d3410;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139,69,19,0.3);
}

.cart-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background-color: #4caf50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

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

/* Hours Section */
.hours-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #fff5ee 0%, #ffe4e1 100%);
}

.hours-content {
    text-align: center;
}

.hours-content h2 {
    font-size: 2.5rem;
    color: #5d4037;
    margin-bottom: 2rem;
}

.hours-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
}

.hours-info h3 {
    color: #8b4513;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.hours-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.location-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f5deb3;
}

/* About Page Specific */
.about-hero {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffe4e1 0%, #ffd6cc 100%);
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    color: #5d4037;
    margin-bottom: 1rem;
}

.about-content {
    padding: 80px 20px;
    background: white;
}

.about-section {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-section h2 {
    color: #8b4513;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: #faf9f7;
    border-radius: 15px;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5deb3 0%, #d2b48c 100%);
    margin: 0 auto 1rem;
}

.team-member h3 {
    color: #8b4513;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666;
    font-style: italic;
}

/* Menu Page */
.menu-hero {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5deb3 0%, #d2b48c 100%);
    text-align: center;
}

.menu-hero h1 {
    font-size: 3rem;
    color: #5d4037;
}

.menu-content {
    padding: 80px 20px;
    background: white;
}

.menu-category {
    margin-bottom: 4rem;
}

.menu-category h2 {
    color: #8b4513;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.menu-item {
    background: #faf9f7;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #d2691e;
}

.menu-item h3 {
    color: #5d4037;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item .item-price {
    color: #d2691e;
    font-size: 1.2rem;
}

.menu-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Page */
.contact-hero {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffe4e1 0%, #ffd6cc 100%);
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    color: #5d4037;
}

.contact-content {
    padding: 80px 20px;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background: #faf9f7;
    padding: 2rem;
    border-radius: 15px;
}

.contact-info h2 {
    color: #8b4513;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-info p {
    margin: 1rem 0;
    font-size: 1.1rem;
    color: #555;
}

.contact-form {
    background: #faf9f7;
    padding: 2rem;
    border-radius: 15px;
}

.contact-form h2 {
    color: #8b4513;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #5d4037;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d2691e;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #5d4037;
    color: white;
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #f5deb3;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #f5deb3;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .features,
    .product-grid,
    .menu-items {
        grid-template-columns: 1fr;
    }
    
    .about-hero h1,
    .menu-hero h1,
    .contact-hero h1 {
        font-size: 2.5rem;
    }
}

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

/* Order Page Styles */
.order-info-banner {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
}

.order-info-banner h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.order-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.order-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.order-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.order-item-image {
    height: 200px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.order-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.order-item-image-placeholder {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.order-item h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: #5d4037;
    font-size: 1.3rem;
}

.order-item p {
    padding: 0 1.5rem;
    color: #666;
    font-size: 0.95rem;
    flex-grow: 1;
}

.order-item .price {
    padding: 0.5rem 1.5rem;
}

.order-item .add-to-cart-btn {
    margin: 0 1.5rem 1.5rem;
}

/* Cart Page Styles */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-items-section h2 {
    color: #8b4513;
    margin-bottom: 2rem;
}

.cart-item {
    background: #faf9f7;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-info h3 {
    color: #5d4037;
    margin-bottom: 0.5rem;
}

.item-price {
    color: #666;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls button {
    background-color: #8b4513;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.quantity-controls button:hover {
    background-color: #6d3410;
}

.quantity-controls span {
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.item-total {
    font-weight: bold;
    color: #d2691e;
    font-size: 1.1rem;
    min-width: 80px;
    text-align: right;
}

.remove-btn {
    background: none;
    border: none;
    color: #d32f2f;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
}

.remove-btn:hover {
    color: #b71c1c;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
    background: #faf9f7;
    border-radius: 15px;
}

.empty-cart p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.cart-summary {
    background: #faf9f7;
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    color: #8b4513;
    margin-bottom: 1.5rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.summary-line.total {
    border-top: 2px solid #d2691e;
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1.3rem;
    color: #5d4037;
}

.free-delivery-notice {
    color: #4caf50;
    font-weight: bold;
}

.delivery-info {
    font-size: 0.9rem;
    color: #666;
    margin: 1rem 0;
    text-align: center;
}

.cart-summary .btn {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
}

/* Checkout Page Styles */
.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-section {
    background: #faf9f7;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.checkout-section h2 {
    color: #8b4513;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.payment-disclaimer {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.payment-disclaimer p {
    margin: 0;
    font-size: 0.95rem;
    color: #856404;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    background: white;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: #d2691e;
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
}

.payment-option span {
    font-size: 1.1rem;
}

#card-details {
    margin-top: 1.5rem;
}

.btn-large {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.2rem;
}

.checkout-summary {
    background: #faf9f7;
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-summary h2 {
    color: #8b4513;
    margin-bottom: 1.5rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.checkout-item:last-child {
    border-bottom: none;
}

.summary-divider {
    height: 2px;
    background-color: #e0e0e0;
    margin: 1.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .cart-container,
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .cart-summary,
    .checkout-summary {
        position: static;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .order-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
