/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
}

.cart-icon {
    cursor: pointer;
    font-size: 1.2rem;
    position: relative;
}

#cart-count {
    background-color: #FCD116;
    color: #000;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    vertical-align: top;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #66CCFF 0%, #0087D1 100%);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 25px;
    background-color: #fff;
    color: #0087D1;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Product Grid */
.container {
    padding: 2rem 5%;
}

.container h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.price {
    color: #0087D1;
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
    margin: 0.5rem 0;
}

button.add-btn {
    background-color: #000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

button.add-btn:hover {
    background-color: #333;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 5% 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #FCD116; /* Saint Lucia Yellow */
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #66CCFF; /* Saint Lucia Blue */
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #aaa;
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0087D1;
    box-shadow: 0 0 5px rgba(0, 135, 209, 0.2);
}

/* Checkout Styles */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.cart-section,
.order-summary {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-section h3,
.order-summary h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.checkout-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f4f4f9;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-total {
    margin-top: 2rem;
    font-size: 1.5rem;
    text-align: right;
    border-top: 2px solid #f4f4f9;
    padding-top: 1.5rem;
    color: #0087D1;
}

.remove-btn {
    background-color: #fff5f5;
    border: 1px solid #ffcccc;
    color: #e53e3e;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

.remove-btn:hover {
    background-color: #e53e3e;
    color: white;
    border-color: #e53e3e;
}

/* Product Details Page */
.product-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.product-image-section img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-info-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-info-section .price {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-options {
    margin: 1.5rem 0;
}

.product-options select {
    padding: 8px;
    font-size: 1rem;
    margin-right: 10px;
}

.size-guide-link {
    color: #555;
    text-decoration: underline;
    font-size: 0.9rem;
}

.add-btn-large {
    width: 100%;
    max-width: 300px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .product-details-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-left: 15px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        right: -100%;
        height: calc(100vh - 72px);
        width: 250px;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        box-shadow: -2px 5px 5px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* Moving Gallery Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: #f4f4f9;
    padding: 20px 0;
    margin-bottom: 6rem;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f4f4f9, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f4f4f9, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track img {
    height: 250px;
    width: auto;
    margin-right: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover;
    transition: transform 0.3s;
}

.marquee-track img:hover {
    transform: scale(1.05);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-track.reverse {
    animation-direction: reverse;
}

/* Receipt Styles */
.receipt-container {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 2rem auto;
}

.receipt-header {
    text-align: center;
    border-bottom: 2px solid #f4f4f9;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.receipt-success-icon {
    color: #4CAF50;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}