/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Enhanced body styles with modern typography and white background */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff; /* Changed to white */
    color: #000000; /* Changed to black */
    line-height: 1.6;
    overflow-x: hidden;
}

/* Optimized container with responsive padding */
.container,
.container-reviews {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem;
    transition: padding 0.3s ease;
}

@media (max-width: 768px) {
    .container,
    .container-reviews {
        padding: 1rem;
    }
}

/* Enhanced product card with glassmorphism effect */
.product,
.maps-product,
.reviewss {
    display: flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.95); /* Kept white with transparency */
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover,
.maps-product:hover,
.reviewss:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.reviewss h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #000000; /* Changed to black */
    margin-bottom: 1.5rem;
}

/* Improved image and iframe containers */
.product-images,
.maps-images,
.reviews-images {
    flex: 2;
    min-width: 280px;
    padding: 0.75rem;
}

.product-images img,
.reviews-images img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-images img:hover,
.reviews-images img:hover {
    transform: scale(1.03);
}

.maps-images iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    border: none;
}

/* Enhanced details sections */
.product-details,
.maps-details,
.reviews-details {
    flex: 2;
    min-width: 280px;
    padding: 0.75rem;
}

/* Modern typography for titles */
.product-title,
.review-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000; /* Changed to black */
    margin-bottom: 1rem;
    line-height: 1.3;
}

.review-title {
    text-align: center;
}

/* Improved price styling */
.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000; /* Changed to black */
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ffd700, #b8860b); /* Changed to gold gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Clean description styling */
.product-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #333333; /* Darkened slightly for contrast on white */
    margin: 1.5rem 0;
}

/* Modern review styling */
.reviews {
    margin-top: 1.5rem;
}

.review {
    background: rgba(255, 255, 255, 0.9); /* Kept white with transparency */
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: background 0.3s ease;
}

.review:hover {
    background: rgba(255, 255, 255, 1); /* Kept white */
}

.review h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000; /* Changed to black */
    margin-bottom: 0.5rem;
}

/* Futuristic call-to-action button */
.add-to-cart {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #b8860b); /* Changed to gold gradient */
    color: #000000; /* Changed to black for contrast */
    padding: 0.9rem 1.5rem;
    text-align: center;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    margin-top: 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: linear-gradient(45deg, #b8860b, #ffd700); /* Reversed gold gradient */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4); /* Gold shadow */
}

/* Modern header with subtle animation */
header {
    background: linear-gradient(90deg, #000000, #333333); /* Changed to black gradient */
    padding: 1rem;
    color: #ffffff; /* Kept white for contrast */
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.logo img {
    width: 160px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Enhanced links */
a {
    text-decoration: none;
    color: #ffd700; /* Changed to gold */
    transition: color 0.3s ease;
}

a:hover {
    color: #b8860b; /* Darker gold */
}

/* Modern footer */
footer {
    background: linear-gradient(90deg, #000000, #333333); /* Changed to black gradient */
    color: #ffffff; /* Kept white for contrast */
    text-align: center;
    padding: 1.5rem 0;
    width: 100%;
    font-size: 0.9rem;
}

/* Improved table styling */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
}

td {
    background: #000000; /* Changed to black */
    border: 1px solid #333333; /* Darker border for contrast */
    padding: 0.75rem;
    color: #ffffff; /* Kept white for contrast */
    transition: background 0.3s ease;
}

td:first-child {
    width: 35%;
}

td:hover {
    background: #333333; /* Darker black/gray */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .product-images,
    .maps-images,
    .reviews-images,
    .product-details,
    .maps-details,
    .reviews-details {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

@media (max-width: 600px) {
    .product-title,
    .review-title {
        font-size: 1.5rem;
    }

    .product-price {
        font-size: 1.25rem;
    }

    .add-to-cart {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

/* Accessibility enhancements */
:focus {
    outline: 3px solid #ffd700; /* Changed to gold */
    outline-offset: 2px;
}

/* SEO optimization: Ensure text is readable and high contrast */
:root {
    --darkest-color: #000000; /* Changed to black */
    --primary-color: #ffd700; /* Changed to gold */
    --text-color: #000000; /* Changed to black */
}