/* General & Typography */
:root {
    --primary-color: #333;
    --secondary-color: #fff;
    --accent-color: #7a7a7a;
    --bg-color: #f7f7f7;
    --border-color: #ddd;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3 {
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

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

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

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.primary-cta:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

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

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

.hidden {
    display: none;
}

/* Header & Navigation */
.header {
    background-color: var(--secondary-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.header.scrolled {
    transform: translateY(-100%);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

.header.show {
    transform: translateY(0);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

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

.nav-cta {
    margin-left: 2rem;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 100;
}

.burger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.active .burger-menu .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav.active .burger-menu .bar:nth-child(2) {
    opacity: 0;
}

.nav.active .burger-menu .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    padding-top: 100px;
    padding-bottom: 4rem;
    background-color: var(--secondary-color);
}

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

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-container {
    flex: 1;
    position: relative;
    text-align: right;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.image-disclaimer {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 0.75rem;
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 2px 5px;
    border-radius: 3px;
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    text-align: center;
}

.benefit-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
}

/* Catalog Section */
.catalog, .size-guide, .delivery, .reviews, .about, .contact {
    padding: 4rem 0;
}

.section-subtitle {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 3rem;
}

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

.product-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.price {
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 1rem;
}

.product-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.product-cta:hover {
    background-color: var(--accent-color);
}

/* Size Guide Section */
.size-guide {
    background-color: var(--secondary-color);
}

.size-guide h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.size-guide-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .size-guide-content {
        grid-template-columns: 1fr 2fr;
        align-items: start;
    }
}

.sizing-tips h3 {
    margin-bottom: 1rem;
}

.sizing-tips ul {
    list-style: none;
    padding-left: 0;
}

.sizing-tips li {
    margin-bottom: 0.75rem;
}

.size-table-container {
    overflow-x: auto;
}

.size-guide table {
    width: 100%;
    border-collapse: collapse;
}

.size-guide th, .size-guide td {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    text-align: left;
}

.size-guide th {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
}

/* Delivery & Returns Section */
.delivery {
    text-align: center;
}

.delivery-returns-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .delivery-returns-content {
        flex-direction: row;
        justify-content: center;
    }
}

.info-block {
    flex: 1;
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: left;
}

.info-block h3 {
    margin-bottom: 1rem;
}

.info-block ul {
    list-style-position: inside;
    padding-left: 0;
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews {
    background-color: var(--secondary-color);
}

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

.review-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

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

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

.review-location {
    font-style: italic;
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--accent-color);
}

.stars {
    color: #ffc107;
}

.review-text {
    font-style: italic;
    color: #555;
}

/* About Section */
.about {
    text-align: center;
}

/* Contact Section */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .contact-grid {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }
}

.contact-form, .contact-info {
    width: 100%;
    max-width: 500px;
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
    margin-right: 10px;
}

.form-group .error-message {
    font-size: 0.8rem;
    color: #d9534f;
    margin-top: 5px;
    display: block;
    height: 1.2em; /* Prevents layout shift */
}

.form-submit {
    width: 100%;
    text-align: center;
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.contact-info {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-info address p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-info .disclaimer {
    font-size: 0.8rem;
    color: #999;
    margin-top: 2rem;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 3rem 0;
    font-size: 0.9rem;
    text-align: center;
}

.footer a {
    color: var(--secondary-color);
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--secondary-color);
        box-shadow: var(--box-shadow);
        padding: 1rem 0;
    }

    .nav.active {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-cta {
        margin: 1rem auto;
    }

    .burger-menu {
        display: block;
    }

    .nav-container {
        position: relative;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-image-container {
        text-align: center;
    }
    
    .image-disclaimer {
        position: static;
        display: block;
        margin-top: 10px;
        text-align: center;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        align-items: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}