/* Color Variables */
:root {
    --white: #ffffff;
    --charcoal: #1c1c1c;
    --mustard: #f5a735;
    --red: #df3c30;
    --olive: #73a941;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/* Logo styling: responsive, visible, and fits header */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    display: block;
    width: auto;
    height: 50px;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: var(--mustard);
    border-bottom-color: var(--mustard);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--mustard) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    animation: fadeIn 1s ease-in;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--mustard);
    color: var(--charcoal);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: var(--red);
}

/* About */
.about {
    padding: 80px 0;
    background-color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s, transform 1s;
}

.about.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--mustard);
    margin-bottom: 20px;
}

/* Booking */
.booking {
    padding: 80px 0;
    background-color: #f9f9f9;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s, transform 1s;
}

.booking.animate {
    opacity: 1;
    transform: translateY(0);
}

.booking h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--charcoal);
}

#booking-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mustard);
    outline: none;
}

/* Products */
.products {
    padding: 80px 0;
    background-color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s, transform 1s;
}

.products.animate {
    opacity: 1;
    transform: translateY(0);
}

.products h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--charcoal);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h4 {
    margin: 15px 0 10px;
}

.product-card p {
    color: var(--mustard);
    font-weight: 500;
    margin-bottom: 15px;
}

.add-to-cart {
    background-color: var(--olive);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: var(--mustard);
}

/* Cart */

.cart {
    padding: 36px 0;
    margin: 24px 0;
    background: linear-gradient(180deg, #fbf8f2 0%, #f6efe2 100%);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(28, 28, 28, 0.06);
    border-left: 6px solid var(--olive);
}

.cart h3 {
    text-align: left;
    margin: 0 0 18px 0;
    color: var(--charcoal);
    padding: 0 20px;
    font-size: 1.4rem;
}

#cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px 16px 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(250, 245, 238, 0.9));
    border-radius: 10px;
    border: 1px solid rgba(28, 28, 28, 0.06);
    box-shadow: 0 6px 18px rgba(28, 28, 28, 0.03);
    transform-origin: center;
    animation: cartPop 220ms ease;
}

.cart-item h4 {
    margin: 0;
    font-weight: 600;
    color: var(--charcoal);
}

.cart-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-left img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-right {
    text-align: right;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    background: var(--olive);
    color: var(--white);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease;
    box-shadow: 0 6px 14px rgba(115, 169, 65, 0.12);
}

.qty-btn:active {
    transform: translateY(1px) scale(0.99);
}

.qty {
    font-weight: 600;
    min-width: 22px;
    display: inline-block;
    text-align: center;
}

.item-sub {
    margin: 6px 0 0 0;
    color: var(--mustard);
    font-weight: 700;
}

#cart-total {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: right;
    padding: 12px 20px 20px 20px;
    border-top: 1px dashed rgba(28, 28, 28, 0.04);
    color: var(--charcoal);
}

#checkout-btn,
#checkout-btn.cta-button,
.cta-button {
    display: inline-block;
}

#checkout-btn {
    margin: 0 20px 20px 20px;
    background: linear-gradient(180deg, var(--mustard), #e6922b);
    color: var(--charcoal);
    padding: 12px 18px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(245, 167, 53, 0.12);
}

@keyframes cartPop {
    from {
        transform: translateY(6px) scale(0.995);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 1fr auto;
    }

    .cart-right {
        text-align: right;
    }
}

/* Checkout */
.checkout {
    padding: 80px 0;
    background-color: var(--white);
}

.checkout h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--charcoal);
}

#checkout-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#order-summary {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

/* Gallery */
.gallery {
    padding: 80px 0;
    background-color: var(--charcoal);
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s, transform 1s;
}

.gallery.animate {
    opacity: 1;
    transform: translateY(0);
}

.gallery h3 {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Contact */
.contact {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s, transform 1s;
}

.contact.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact h3 {
    margin-bottom: 20px;
    color: var(--charcoal);
}

.contact p {
    margin-bottom: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .about-content {
        flex-direction: column;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}