/* Universal Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #ecf0f1;
    --accent-color: #3498db;
    --light-text-color: #fff;
    --dark-text-color: #222;
    --subtle-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

* {
    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;
    color: var(--dark-text-color);
    line-height: 1.6;
    background-color: #f7f9fa;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color var(--transition-speed);
    border: none;
    cursor: pointer;
}

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

.cta-button.outline-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.outline-button:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

/* Header & Navigation */
.header {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.header.sticky {
    box-shadow: var(--subtle-shadow);
    transform: translateY(0);
}

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

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

.nav {
    display: none;
}

.nav-cta, .social-icons {
    display: none;
}

@media (min-width: 768px) {
    .nav {
        display: block;
    }
    .nav ul {
        display: flex;
        list-style: none;
    }
    .nav ul li {
        margin-left: 1.5rem;
    }
    .nav ul li a {
        font-weight: 500;
        color: var(--primary-color);
    }
    .nav-cta, .social-icons {
        display: block;
    }
    .social-icons a {
        margin-left: 1rem;
        font-size: 1.2rem;
        color: var(--primary-color);
    }
}

/* Hero Section */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background-color: var(--secondary-color);
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    margin: 1rem auto 2rem;
    max-width: 600px;
}

.hero-image {
    margin-top: 2rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
        gap: 4rem;
    }
    .hero-image {
        margin-top: 0;
    }
}

/* General Section Styling */
.section {
    padding: 4rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Shop Section */
.shop-section {
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.product-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--subtle-shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
    text-align: center;
}

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

.product-info .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.product-actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-actions button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    background: none;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.product-actions .quick-view-btn {
    color: var(--primary-color);
}

.product-actions .quick-view-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.product-actions .add-to-cart-btn {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.product-actions .add-to-cart-btn:hover {
    background-color: var(--accent-color);
}

.badges {
    margin: 0.5rem 0;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.badge.new {
    background-color: #2ecc71;
    color: white;
}

.badge.bestseller {
    background-color: #f39c12;
    color: white;
}

/* About Section */
.about-section {
    background-color: var(--secondary-color);
}

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

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        align-items: center;
    }
    .about-text, .about-image {
        flex: 1;
    }
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-list li i {
    color: var(--accent-color);
    margin-right: 1rem;
}

/* Features Section */
.features-section {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-item-long {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--subtle-shadow);
    text-align: center;
    transition: transform var(--transition-speed);
}

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

.feature-item-long i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Sizing Section */
.sizing-section {
    background-color: var(--secondary-color);
}

.sizing-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .sizing-grid {
        flex-direction: row;
        align-items: center;
    }
    .sizing-text, .sizing-image {
        flex: 1;
    }
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.size-table th, .size-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.size-table th {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    font-weight: 600;
}

.care-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.care-list li {
    margin-bottom: 0.5rem;
}

.care-list i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Shipping Section */
.shipping-section {
    background-color: #fff;
}

.shipping-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .shipping-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.shipping-item {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--subtle-shadow);
}

.shipping-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--subtle-shadow);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.review-avatar {
    margin-bottom: 1rem;
}

.review-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin: 0 auto;
}

.review-stars {
    color: gold;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.reviewer {
    font-weight: bold;
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-speed);
}

.accordion-item.active {
    box-shadow: var(--subtle-shadow);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #e0e6e9;
}

.accordion-header i {
    transition: transform var(--transition-speed);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background-color: #fff;
    transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed);
}

.accordion-body p {
    padding: 1rem 0;
}

/* Contact Section */
.contact-section {
    background-color: var(--secondary-color);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        flex-direction: row;
    }
    .contact-info, .contact-form-container {
        flex: 1;
    }
}

.contact-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.contact-list li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-list i {
    color: var(--accent-color);
    margin-right: 0.75rem;
}

.map-placeholder iframe {
    width: 100%;
    border-radius: var(--border-radius);
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input[type="checkbox"] {
    margin-right: 0.5rem;
}

.consent-group {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

#form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
}

#form-message.hidden {
    display: none;
}

#form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

#form-message.error {
    background-color: #ffebee;
    color: #c62828;
}

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

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

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

.footer-text {
    font-size: 0.9rem;
    max-width: 400px;
    margin: 0 auto 1rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

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

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

.footer-right .social-icons, .payment-icons {
    margin-bottom: 1rem;
}

.footer-right .social-icons a {
    margin: 0 0.5rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.payment-icons i {
    font-size: 1.5rem;
    color: var(--light-text-color);
    margin: 0 0.5rem;
}

.privacy-link {
    display: block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity var(--transition-speed);
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 90%;
    width: 800px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
}

.close-button:hover {
    color: var(--primary-color);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modal-body img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
    .modal-body img, .modal-details {
        flex: 1;
    }
}

.modal-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 1rem 0;
}

.modal-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-sizes {
    margin-top: 1.5rem;
}

.modal-sizes select {
    padding: 0.5rem;
    border-radius: 5px;
}

.modal-add-to-cart {
    margin-top: 1.5rem;
}

/* Privacy Page Specific Styles */
.privacy-page .header {
    position: static;
    box-shadow: var(--subtle-shadow);
}

.privacy-main {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.privacy-main h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.privacy-main .last-updated {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

.privacy-main section {
    margin-bottom: 2rem;
}

.privacy-main ul {
    margin-top: 1rem;
    padding-left: 2rem;
}