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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #1b161f;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    font-size: 16px;
}

.btn-primary {
    background-color: #714c8a;
    color: white;
    border-color: #714c8a;
}

.btn-primary:hover {
    background-color: #5a3c6e;
    border-color: #5a3c6e;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #1b161f;
    color: white;
    border-color: #1b161f;
}

.btn-secondary:hover {
    background-color: #2a2229;
    border-color: #2a2229;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #714c8a;
    border-color: #714c8a;
}

.btn-outline:hover {
    background-color: #714c8a;
    color: white;
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1b161f;
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner p {
    margin-bottom: 0;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
}

/* Cookie Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h3 {
    color: #714c8a;
    margin-bottom: 20px;
}

.cookie-category {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    margin-top: 2px;
}

.cookie-category span {
    font-size: 14px;
    color: #666;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.nav-brand a {
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 700;
    color: #714c8a;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: #1b161f;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #714c8a;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #1b161f;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 5px);
}

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

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

/* Banner Section */
.banner {
    background: linear-gradient(135deg, #714c8a 0%, #1b161f 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 1;
}

.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-advantages {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.advantage {
    display: flex;
    align-items: center;
    gap: 8px;
}

.advantage-icon {
    color: #8bc34a;
    font-weight: bold;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1b161f;
    margin-bottom: 15px;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

/* Company Section */
.company-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.company-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.company-features {
    display: grid;
    gap: 30px;
}

.feature h4 {
    color: #714c8a;
    margin-bottom: 10px;
}

/* Achievements Section */
.achievements-section {
    padding: 80px 0;
}

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

.achievement-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: transform 0.3s ease;
}

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

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: #714c8a;
    margin-bottom: 10px;
}

.achievement-label {
    font-size: 1.1rem;
    color: #666;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-image {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #1b161f;
    margin-bottom: 15px;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #714c8a;
    margin-top: 20px;
}

.services-cta {
    text-align: center;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
}

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

.review-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #714c8a;
}

.review-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.review-author {
    font-weight: 600;
    color: #714c8a;
}

/* Q&A Section */
.qa-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.qa-item {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.qa-item h4 {
    color: #714c8a;
    margin-bottom: 15px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #714c8a 0%, #1b161f 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-form {
    margin-top: 30px;
}

.form-row {
    display: flex;
    gap: 15px;
    align-items: stretch;
    flex-wrap: wrap;
}

.form-row input,
.form-row textarea,
.form-row select {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    min-width: 200px;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: 2px solid #8bc34a;
}

.form-row .btn {
    flex-shrink: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #714c8a 0%, #1b161f 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* About Page Styles */
.company-story {
    padding: 80px 0;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-image {
    text-align: center;
}

.story-image img {
    max-width: 200px;
}

.mission-values {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.value-card h3 {
    color: #714c8a;
    margin-bottom: 15px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    text-align: center;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.member-role {
    color: #714c8a;
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Catalog Page Styles */
.filter-section {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.filter-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background-color: white;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #714c8a;
    color: white;
    border-color: #714c8a;
}

.products-section {
    padding: 50px 0;
}

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

.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #f8f9fa;
    padding: 20px;
}

.product-info {
    padding: 25px;
}

.product-rating {
    margin-bottom: 10px;
}

.stars {
    color: #ffc107;
    margin-right: 10px;
}

.rating-text {
    font-size: 0.9rem;
    color: #666;
}

.product-description {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature {
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #666;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #714c8a;
    margin-bottom: 20px;
}

.product-form {
    display: grid;
    gap: 10px;
}

.product-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.product-form .btn {
    margin-top: 10px;
}

/* Custom Order Section */
.custom-order-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.custom-order-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.custom-order-form {
    margin-top: 30px;
}

.custom-order-form textarea {
    width: 100%;
    margin-bottom: 20px;
}

/* Terms Page Styles */
.terms-content {
    padding: 50px 0;
}

.terms-grid {
    display: grid;
    gap: 40px;
}

.terms-section {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.terms-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.terms-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-item h3 {
    color: #714c8a;
    margin-bottom: 10px;
}

.payment-methods {
    display: grid;
    gap: 25px;
}

.payment-method {
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #714c8a;
}

.payment-method h3 {
    color: #1b161f;
    margin-bottom: 10px;
}

.payment-method ul {
    margin-top: 15px;
    padding-left: 20px;
}

.payment-method li {
    list-style: disc;
    margin-bottom: 5px;
}

.delivery-info {
    display: grid;
    gap: 25px;
}

.delivery-option {
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #714c8a;
}

.delivery-option h3 {
    color: #1b161f;
    margin-bottom: 5px;
}

.delivery-option p:first-of-type {
    font-weight: 700;
    color: #714c8a;
    margin-bottom: 10px;
}

.delivery-note {
    margin-top: 30px;
    padding: 20px;
    background-color: #e8f5e8;
    border-radius: 8px;
}

.delivery-note ul {
    margin-top: 10px;
    padding-left: 20px;
}

.delivery-note li {
    list-style: disc;
    margin-bottom: 5px;
}

.warranty-info h3 {
    color: #714c8a;
    margin-bottom: 10px;
    margin-top: 20px;
}

.warranty-info h3:first-child {
    margin-top: 0;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item h3 {
    color: #714c8a;
    margin-bottom: 15px;
}

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

.contact-item a {
    color: #714c8a;
    font-weight: 500;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
}

.contact-form {
    max-width: 800px;
    margin: 30px auto 0;
    display: grid;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid #714c8a;
    border-color: #714c8a;
}

/* Legal Content */
.legal-content {
    padding: 50px 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-text h2 {
    color: #714c8a;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    color: #1b161f;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-text ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-text li {
    list-style: disc;
    margin-bottom: 8px;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookies-table th,
.cookies-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.cookies-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #714c8a;
}

#manage-cookies {
    margin: 20px 0;
}

/* Thank You Page */
.thank-you-section {
    padding: 80px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 30px;
}

.thank-you-content h1 {
    font-size: 3rem;
    color: #714c8a;
    margin-bottom: 20px;
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

.thank-you-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.detail-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
}

.detail-item h3 {
    color: #714c8a;
    margin-bottom: 15px;
}

.detail-item ul {
    margin-left: 20px;
}

.detail-item li {
    list-style: disc;
    margin-bottom: 8px;
}

.thank-you-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Related Products */
.related-products {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.related-products h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.related-products .product-card {
    text-align: center;
    padding: 30px;
}

.related-products .product-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

/* Footer */
.footer {
    background-color: #1b161f;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #714c8a;
    margin-bottom: 15px;
}

.footer-section ul {
    display: grid;
    gap: 8px;
}

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

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: block;
    width: 32px;
    height: 32px;
}

.social-links img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.social-links a:hover img {
    filter: brightness(0) saturate(100%) invert(49%) sepia(29%) saturate(1435%) hue-rotate(268deg) brightness(83%) contrast(92%);
}

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

/* Hidden class */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .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: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .banner h1 {
        font-size: 2rem;
    }
    
    .banner-advantages {
        flex-direction: column;
        gap: 15px;
    }
    
    .company-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-row input,
    .form-row textarea,
    .form-row select {
        min-width: auto;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .thank-you-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner {
        padding: 60px 0;
    }
    
    .banner h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-text {
        padding: 25px;
    }
    
    .modal-content {
        padding: 20px;
    }
    [class*="-grid"] {
        grid-template-columns: 1fr;
    }
    .cookies-table {
        display: none;
    }
}
