* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

body {
    background-color: #f8f8f8;
    color: #333;
    margin: 0;
}

/* Header and Navigation */
header {
    background-color: #1a1a1a;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.logo {
    color: #d4af37;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

nav ul.nav-links {
    list-style: none;
    display: flex;
    gap: 12px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #d4af37;
}

.cart {
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.cart span {
    background-color: #d4af37;
    color: #1a1a1a;
    border-radius: 50%;
    padding: 4px 10px;
    font-size: 0.9rem;
}

.hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
        }

.hamburger span {
            width: 25px;
            height: 3px;
            background-color: #fff;
            transition: all 0.3s ease;
        }

.hamburger.toggle span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

.hamburger.toggle span:nth-child(2) {
            opacity: 0;
        }

.hamburger.toggle span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

/* Hero Slider */
.hero {
    position: relative;
    margin-top: 50px; /* Adjusted for navbar height */
    overflow: hidden;
}

.slider {
    display: flex;
    width: 300%;
    height: 100vh; /* Desktop: Full viewport */
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 85%;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: 'Roboto', sans-serif;
}

.hero-content a {
    background-color: #d4af37;
    color: #1a1a1a;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero-content a:hover {
    background-color: #d4af37;
    color: #fff;
}

.slider-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 3;
}

.prev-slide, .next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 3;
}

.prev-slide {
    left: 15px;
}

.next-slide {
    right: 15px;
}

.prev-slide:hover, .next-slide:hover {
    background-color: #d4af37;
}

.slider-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    opacity: 0.5;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    opacity: 1;
    background-color: #d4af37;
}

/* Promo Sections */
.promo, .promo2 {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    position: relative;
}

.promo img, .promo2 img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.promo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 30px;
    border-radius: 5px;
    color: #fff;
    text-align: center;
}

.promo-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.promo-overlay a {
    color: #d4af37;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

/* Categories Section */
.categories {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.categories h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.category-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.category-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-item:hover img {
    transform: scale(1.05);
}

.category-item a {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: #d4af37;
    color: #1a1a1a;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}
.category-item a:hover{
    background-color: #d4af37;
    color: #fff;
}
/* Products Section */
.products {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.products h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-item h3 {
    font-size: 1.1rem;
    margin: 8px 0;
    color: #1a1a1a;
}

.product-item p {
    font-size: 0.9rem;
    color: #d4af37;
    margin-bottom: 8px;
}

.product-item button {
    background-color: #1a1a1a;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}

.product-item button:hover {
    background-color: #d4af37;
    color: #1a1a1a;
}

/* Reviews Section */
.reviews {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.reviews h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.review-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.review-item p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.review-item h4 {
    font-size: 1rem;
    color: #d4af37;
}

/* Style Guide Section */
.style-guide {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/Image12.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    max-width: 1200px;
    margin: 40px auto;
    padding: 100px 15px;
    text-align: center;
}

.style-guide h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.style-guide p {
    max-width: 700px;
    margin: 0 auto 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.style-guide a {
    background-color: #d4af37;
    color: #1a1a1a;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
}

.style-guide a:hover {
    background-color: #f8f8f8;
    color: #d4af37;
}

/* About Section */
.about {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/Image23.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    max-width: 1200px;
    margin: 40px auto;
    padding: 100px 15px;
    text-align: center;
}

.about h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.about p {
    max-width: 700px;
    margin: 0 auto 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.about a {
    background-color: #d4af37;
    color: #1a1a1a;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
}

.about a:hover {
    background-color: #f8f8f8;
    color: #d4af37;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 15px;
    font-family: 'Roboto', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.footer-content h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

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

.footer-content ul li {
    margin-bottom: 8px;
}

.footer-content ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-content ul li a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
}

/* Checkout Page */
.checkout {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 15px;
}

.checkout h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.cart-items {
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.cart-total {
    text-align: right;
    font-size: 1.1rem;
    margin-top: 15px;
}

.checkout-button {
    background-color: #d4af37;
    color: #1a1a1a;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1023px) {
    header {
        padding: 10px 0;
    }

    .logo {
        font-size: 1.4rem;
    }

    .hamburger {
        display: flex;
    }

    nav ul.nav-links {
        display: none;
        position: absolute;
        top: 48px; /* Adjusted for navbar height */
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        flex-direction: column;
        padding: 10px 0;
        z-index: 999;
    }

    nav ul.nav-links.active {
        display: flex;
    }

    nav ul li {
        margin: 8px 0;
    }

    nav ul li a {
        font-size: 0.9rem;
        padding: 8px 15px;
        display: block;
    }

    .cart {
        font-size: 0.9rem;
    }

    .cart span {
        padding: 3px 7px;
        font-size: 0.9rem;
    }

    .hero {
        margin-top: 48px;
    }

    .slider {
        height: 95vh; /* Tablet: Slightly shorter */
        background-size: auto 100%; /* Prioritize height */
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content a {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .slider-controls {
        bottom: 12px;
    }

    .prev-slide, .next-slide {
        padding: 5px;
        font-size: 0.8rem;
    }

    .prev-slide {
        left: 10px;
    }

    .next-slide {
        right: 10px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .promo img, .promo2 img {
        height: 300px;
    }

    .promo-overlay h3 {
        font-size: 1.6rem;
    }

    .style-guide, .about {
        padding: 80px 15px;
    }
}

@media (max-width: 767px) {
    header {
        padding: 20px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hamburger {
        display: flex;
    }

    nav ul.nav-links {
        top: 44px; /* Adjusted for smaller navbar */
    }

    nav ul li a {
        font-size: 0.85rem;
    }

    .cart {
        font-size: 0.9rem;
    }

    .cart span {
        padding: 2px 6px;
        font-size: 0.9rem;
    }

    .hero {
        margin-top: 44px;
    }

    .slider {
        height: 95vh; /* Mobile: Balanced height */
        background-size: auto 100%;
    }

    .hero-content {
        padding: 15px;
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .hero-content a {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .slider-controls {
        bottom: 20px;
        
    }
    .slider-dots{
        top: 200px;
    }

    .prev-slide, .next-slide {
        padding: 20px;
        margin-bottom: 200px;
        font-size: 0.9rem;
    }

    .prev-slide {
        left: 20px;
        margin-bottom: 500px;
    }

    .next-slide {
        right: 10px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .promo img, .promo2 img {
        height: 300px;
    }

    .promo-overlay h3 {
        font-size: 1.4rem;
    }

    .promo-overlay {
        padding: 10px 20px;
    }

    .categories h2, .products h2, .reviews h2, .style-guide h2, .about h2 {
        font-size: 1.8rem;
    }

    .category-grid, .product-grid, .review-grid {
        grid-template-columns: 1fr;
    }

    .category-item img, .product-item img {
        height: 400px;
    }

    .style-guide, .about {
        padding: 170px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}