/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-right: 20px;
}

.cookie-content a {
    color: #ff6b6b;
    text-decoration: underline;
}

.btn-accept {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}

.btn-accept:hover {
    background: #ff5252;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}

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

.nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b6b;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* CTA Buttons */
.cta-btn {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.cta-hero {
    position: relative;
    top: 20px;
    right: -50px;
}

.cta-products {
    position: relative;
    left: 100px;
    top: -10px;
}

.cta-newsletter {
    position: relative;
    right: -30px;
}

.cta-about {
    position: relative;
    left: 80px;
}

.cta-products-page {
    position: relative;
    right: -60px;
}

.cta-faq {
    position: relative;
    left: 120px;
}

.cta-contact {
    position: relative;
    right: -40px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #ff6b6b, #ff8a80);
    color: white;
    text-align: center;
    padding: 6rem 0 4rem;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Grid Layouts */
.features-grid,
.products-grid,
.blog-grid,
.categories-grid,
.arrivals-grid,
.values-grid,
.tips-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Styles */
.feature-card,
.product-card,
.blog-card,
.category-card,
.arrival-card,
.value-card,
.tip-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.product-card:hover,
.blog-card:hover,
.category-card:hover,
.arrival-card:hover,
.value-card:hover,
.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card img,
.product-card img,
.blog-card img,
.category-card img,
.arrival-card img,
.value-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.feature-card h3,
.product-card h3,
.blog-card h3,
.arrival-card h3,
.value-card h3,
.tip-card h3 {
    font-size: 1.3rem;
    margin: 1rem 0 0.5rem;
    color: #333;
}

.feature-card p,
.product-card p,
.blog-card p,
.arrival-card p,
.value-card p,
.tip-card p {
    color: #666;
    line-height: 1.6;
}

.feature-card > *:not(img),
.product-card .product-info,
.blog-card .blog-content,
.arrival-card > *:not(img),
.value-card > *:not(img),
.tip-card > * {
    padding: 0 1.5rem 1.5rem;
}

/* Category Cards */
.category-card {
    position: relative;
    height: 300px;
}

.category-card img {
    height: 100%;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
}

.category-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

/* Product Cards */
.product-info {
    position: relative;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b6b;
    margin: 1rem 0;
}

/* Blog Cards */
.post-date {
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 500;
}

.read-more {
    color: #ff6b6b;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

.read-more:hover {
    text-decoration: underline;
}

/* Sections */
.features,
.products-preview,
.blog-posts,
.featured-products,
.new-arrivals,
.about-content,
.faq-content,
.contact-content {
    padding: 4rem 0;
}

.features h2,
.products-preview h2,
.blog-posts h2,
.featured-products h2,
.new-arrivals h2,
.about-content h2,
.faq-content h2,
.contact-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #ff6b6b, #ff8a80);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* About Page Specific */
.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image img {
    border-radius: 10px;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 4rem 0;
}

.mission,
.vision {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.mission h3,
.vision h3 {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

/* FAQ Specific */
.faq-categories {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: #ff6b6b;
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Contact Page Specific */
.contact-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin: 3rem 0;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

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

.checkbox-group input {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    color: #ff6b6b;
    margin-bottom: 0.5rem;
}

.info-item a {
    color: #333;
}

.info-item a:hover {
    color: #ff6b6b;
}

/* Size Guide Table */
.size-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.size-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.size-table th,
.size-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.size-table th {
    background: #ff6b6b;
    color: white;
    font-weight: 600;
}

.size-table tr:hover {
    background: #f8f9fa;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b6b;
}

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

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

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff6b6b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* CTA Sections */
.cta-section,
.cta-container {
    text-align: center;
    padding: 3rem 0;
}

.cta-section {
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 0;
    }

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

    .page-header h1 {
        font-size: 2rem;
    }

    .features-grid,
    .products-grid,
    .blog-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .about-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .contact-main {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cookie-content p {
        margin-right: 0;
    }

    /* Mobile CTA positioning */
    .cta-hero,
    .cta-products,
    .cta-newsletter,
    .cta-about,
    .cta-products-page,
    .cta-faq,
    .cta-contact {
        position: static;
        margin: 1rem auto;
        display: block;
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 4rem 0 2rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .features,
    .products-preview,
    .blog-posts,
    .about-content,
    .faq-content,
    .contact-content {
        padding: 2rem 0;
    }

    .feature-card > *:not(img),
    .product-card .product-info,
    .blog-card .blog-content,
    .arrival-card > *:not(img),
    .value-card > *:not(img),
    .tip-card > * {
        padding: 0 1rem 1rem;
    }
}

/* Featured Article Styles */
.featured-article {
    padding: 2rem 0;
    background: #f8f9fa;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.featured-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-content h2 {
    font-size: 2rem;
    margin: 1rem 0;
    color: #333;
}

.featured-content .post-date {
    font-size: 0.9rem;
    color: #ff6b6b;
    font-weight: 600;
}

@media (max-width: 768px) {
    .featured-post {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Style Tips Section */
.style-tips {
    background: #f8f9fa;
    padding: 4rem 0;
}

/* Working Hours */
.working-hours {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.working-hours h4 {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.working-hours ul {
    list-style: none;
}

.working-hours li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.working-hours li:last-child {
    border-bottom: none;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #ff5252;
}

@media (max-width: 480px) {
    .social-links {
        flex-wrap: wrap;
    }
}

/* Additional responsive adjustments */
@media (max-width: 1024px) {
    .hero {
        gap: 2rem;
    }
    
    .about-intro {
        gap: 2rem;
    }
    
    .contact-main {
        gap: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

/* Policy Pages Specific Styles */
.policy-content {
    padding: 2rem 0 4rem;
}

.policy-intro {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    border-left: 4px solid #ff6b6b;
}

.policy-intro p:first-of-type {
    font-weight: 600;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.policy-sections {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.policy-section h2 {
    color: #ff6b6b;
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.policy-section h3 {
    color: #333;
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.policy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-section a {
    color: #ff6b6b;
    text-decoration: underline;
}

.policy-section a:hover {
    color: #ff5252;
}

.policy-footer {
    background: #ff6b6b;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 3rem;
}

.policy-footer p {
    margin: 0;
    font-weight: 600;
}

/* Cookie Table Styles */
.cookie-table {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.cookie-table tr:hover {
    background: #f8f9fa;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

/* Responsive adjustments for policy pages */
@media (max-width: 768px) {
    .policy-content {
        padding: 1rem 0 2rem;
    }
    
    .policy-intro,
    .policy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .policy-sections {
        padding: 0 1rem;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-consent,
    .cta-btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .page-header {
        background: none;
        color: black;
    }
    
    .policy-section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}
