/* Variables & Reset */
:root {
    --primary-color: #004d2d; /* Forest Green */
    --secondary-color: #f5f5dc; /* Milk */
    --text-color: #36454f; /* Graphite */
    --border-color: #dcdcdc;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --border-radius: 18px;
    --thin-border: 1px solid var(--border-color);
    --header-height: 80px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 600;
}

h1 { font-size: 3rem; margin-bottom: 0.5em; }
h2 { font-size: 2.5rem; margin-bottom: 1.5em; }
h3 { font-size: 1.75rem; margin-bottom: 0.75em; }

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--border-radius);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border: var(--thin-border);
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.cta-button.primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--text-color);
}

.cta-button.secondary:hover {
    background-color: var(--text-color);
    color: var(--secondary-color);
}

.section {
    padding: 80px 0;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 245, 220, 0.95);
    backdrop-filter: blur(5px);
    z-index: 100;
    border-bottom: var(--thin-border);
    transition: top 0.3s ease-in-out;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

#header.scrolled {
    top: calc(-1 * var(--header-height));
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

#nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

#nav-menu a {
    font-weight: 500;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    position: relative;
    font-size: 1.25rem;
}

.cart-counter {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero-section {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    background-color: var(--secondary-color);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    max-width: 600px;
}

.hero-text .subtitle {
    font-size: 1.1rem;
    margin-bottom: 2em;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 30px;
}

.hero-features div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.hero-features i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.hero-image {
    flex: 1;
    min-width: 300px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px var(--shadow-color);
}

/* Featured Collection */
.product-filters {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.product-filters span {
    font-weight: 500;
    margin-right: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 50px;
    background: transparent;
    border: var(--thin-border);
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-family: var(--font-body);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

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

.product-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow-color);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius) / 2);
    margin-bottom: 15px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.product-price-add {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-price {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.add-to-cart-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    color: white;
    background-color: #00331e;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 50px;
}

.badge.limited { background-color: #e44d26; }
.badge.new { background-color: #26b2e4; }

/* About Us Section */
.about-section {
    background-color: #fcfcfc;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 2;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.about-icons {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.about-icons div {
    text-align: center;
}

.about-icons i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px var(--shadow-color);
}

/* Why Gamers Choose Us Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: var(--border-radius);
    border: var(--thin-border);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Size & Care Guide Section */
.guide-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.guide-item {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    border: var(--thin-border);
}

.guide-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
}

th {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 500;
}

.care-list {
    list-style: none;
    margin-top: 20px;
}

.care-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.care-list i {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Shipping & Returns Section */
.shipping-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.shipping-info p strong {
    font-weight: 600;
    color: var(--primary-color);
}

/* Customer Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-name {
    font-weight: 600;
}

.stars i {
    color: #ffc107;
}

/* Contact Section */
.contact-section {
    background-color: #fcfcfc;
}

.contact-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info-block, .contact-form-block {
    flex: 1;
    min-width: 300px;
}

.contact-info-block p {
    margin-bottom: 10px;
}

.contact-info-block i {
    color: var(--primary-color);
    margin-right: 10px;
}

.map-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
}

.static-map {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

#contact-form .form-group {
    margin-bottom: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 12px;
    border: var(--thin-border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    background-color: transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#contact-form input:focus, #contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 77, 45, 0.2);
}

#contact-form .checkbox-group {
    display: flex;
    align-items: center;
}

#contact-form .checkbox-group label {
    display: inline;
    margin-left: 10px;
}

/* Footer */
#footer {
    background-color: var(--text-color);
    color: var(--secondary-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.shipping-badge {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

.footer-col a {
    color: var(--secondary-color);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-social h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.social-icons a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Privacy Page Specific Styles */
.privacy-page-main {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
}

.privacy-content {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px var(--shadow-color);
    max-width: 900px;
    margin: 0 auto;
}

.privacy-title {
    text-align: center;
    margin-bottom: 20px;
}

.last-updated {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-bottom: 40px;
}

.privacy-content h2 {
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-content p, .privacy-content ul {
    margin-bottom: 20px;
    line-height: 1.8;
}

.privacy-content li {
    margin-bottom: 10px;
}

.back-to-home {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content, .about-content, .contact-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image, .about-image {
        min-width: unset;
        width: 100%;
    }

    .about-text, .about-image {
        flex: auto;
    }

    .about-icons {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        justify-content: center;
        gap: 20px;
    }

    .footer-col {
        min-width: 150px;
    }

    .footer-social {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .header-container {
        padding: 0 15px;
    }

    #nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 70%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(245, 245, 220, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
    }

    #nav-menu.open {
        right: 0;
    }

    #nav-menu ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        text-align: center;
    }

    #nav-menu a {
        font-size: 1.25rem;
        display: block;
        padding: 10px 0;
        width: 100%;
    }

    .burger-menu {
        display: block;
    }

    .header-icons {
        z-index: 101;
    }
}