/* ============================================
   Adam and Eve Shop - Global Stylesheet
   Dark/Luxury Theme | Responsive | SEO Optimized
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a0a0a;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

h2 {
    font-size: 2rem;
    margin: 1.5rem 0 1rem;
    border-left: 4px solid #d4af37;
    padding-left: 15px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffd966;
}

/* Header */
header {
    background: #111;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #d4af37;
}

.cart-icon a {
    color: #d4af37;
    font-size: 1.5rem;
    text-decoration: none;
    display: inline-block;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #d4af37;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: #eee;
}

/* Buttons */
.btn, button, .button {
    display: inline-block;
    background: #d4af37;
    color: #0a0a0a;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
}

.btn:hover, button:hover, .button:hover {
    background: #ffd966;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
}

.btn-outline:hover {
    background: #d4af37;
    color: #0a0a0a;
}

/* Grid Layouts */
.category-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Cards */
.card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #222;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.price {
    color: #d4af37;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.reviews-mini {
    color: #d4af37;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 3rem 0;
    gap: 1rem;
    text-align: center;
}

.trust-badges div {
    background: #111;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    border: 1px solid #d4af37;
    font-weight: 500;
}

/* Filter Bar */
.filter-bar {
    background: #111;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.filter-group label {
    font-weight: 600;
    color: #d4af37;
}

.filter-btn {
    background: #222;
    color: #fff;
    border: 1px solid #333;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
}

.filter-btn.active {
    background: #d4af37;
    color: #0a0a0a;
    border-color: #d4af37;
}

.filter-btn:hover {
    background: #d4af37;
    color: #0a0a0a;
}

/* Why Choose Us Section */
.why-choose-us {
    margin: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    background: #111;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #ccc;
}

/* How It Works Section */
.how-it-works {
    margin: 4rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #d4af37;
    color: #0a0a0a;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Testimonials Section */
.testimonials {
    margin: 4rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background: #111;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.stars {
    color: #d4af37;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.customer {
    font-weight: bold;
    color: #d4af37;
}

.verified {
    color: #4caf50;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Blog Preview */
.blog-preview {
    margin: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card h3 {
    padding: 1rem 1rem 0;
    font-size: 1.2rem;
}

.blog-card p {
    padding: 0 1rem;
    color: #ccc;
}

.read-more {
    display: inline-block;
    margin: 1rem;
    color: #d4af37;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #111, #1a1a1a);
    text-align: center;
    padding: 3rem;
    border-radius: 12px;
    margin: 4rem 0;
}

.newsletter h2 {
    border-left: none;
    margin-top: 0;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 1.5rem auto 0;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border-radius: 40px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #d4af37;
}

.small {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 1rem;
}

/* Breadcrumb */
.breadcrumb {
    margin: 1rem 0;
    color: #aaa;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #d4af37;
}

/* Category Header */
.category-header {
    text-align: center;
    margin: 2rem 0;
}

.category-header h1 {
    font-size: 2.5rem;
}

.category-header p {
    max-width: 800px;
    margin: 1rem auto;
    color: #ccc;
}

/* Category Info Section */
.category-info {
    margin: 3rem 0;
    background: #111;
    padding: 2rem;
    border-radius: 12px;
}

.category-info h2 {
    border-left: 4px solid #d4af37;
    padding-left: 1rem;
}

.category-info ul {
    margin: 1rem 0 1rem 2rem;
}

.category-info li {
    margin-bottom: 0.5rem;
}

/* Related Links */
.related-links {
    margin: 2rem 0;
    padding: 1rem;
    background: #111;
    border-radius: 12px;
}

.related-links h3 {
    margin-bottom: 1rem;
}

.related-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.related-links li a {
    color: #d4af37;
    text-decoration: none;
}

.related-links li a:hover {
    text-decoration: underline;
}

/* Product Detail Page */
.product-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.product-images {
    flex: 1;
    min-width: 280px;
}

.product-images img {
    width: 100%;
    border-radius: 12px;
}

.product-info {
    flex: 1;
}

.price-large {
    font-size: 2rem;
    color: #d4af37;
    font-weight: 700;
    margin: 1rem 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.specs-table td {
    padding: 0.5rem;
    border-bottom: 1px solid #333;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 40%;
}

.order-btn-large {
    background: #d4af37;
    color: #0a0a0a;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    margin-top: 1rem;
}

.order-btn-large:hover {
    background: #ffd966;
}

/* Reviews Section */
.reviews-section {
    margin: 3rem 0;
    background: #111;
    padding: 2rem;
    border-radius: 12px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rating-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d4af37;
}

.review-count {
    color: #aaa;
}

.review {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.review-stars {
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.reviewer {
    font-size: 0.9rem;
    color: #ccc;
}

/* Order Form */
.order-container {
    max-width: 800px;
    margin: 2rem auto;
    background: #111;
    border-radius: 12px;
    padding: 2rem;
}

.order-summary {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: #222;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 150px;
}

.payment-note {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background: #111;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-col h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #111;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul li a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }
    
    .header-inner {
        justify-content: space-between;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-detail {
        flex-direction: column;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: center;
    }
    
    .related-links ul {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .steps-grid,
    .testimonial-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .btn,
    .order-btn-large {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* Accessibility */
:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    header,
    footer,
    .hero,
    .newsletter,
    .trust-badges {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}