/* Retro Style CSS */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

/* Root Variables */
:root {
    /* New Retro Color Palette */
    --primary-color: #50723C;
    --secondary-color: #F4A259;
    --accent-color: #BC4749;
    --light-color: #F4E8C1;
    --dark-color: #2F4858;
    --beige: #F9F5EB;
    --cream: #FFF8E7;
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --font-family-headings: 'Playfair Display', serif;
    
    /* Misc */
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Patterns */
    --pattern-dots: radial-gradient(var(--secondary-color) 1px, transparent 1px);
    --pattern-lines: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 5px,
        rgba(244, 162, 89, 0.1) 5px,
        rgba(244, 162, 89, 0.1) 10px
    );
}

/* Global Styles */
body {
    font-family: var(--font-family);
    background-color: var(--beige);
    color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 700;
}

.container {
    position: relative;
}

/* Decorative Elements */
.section-title::before,
.section-title::after {
    content: "✿";
    position: absolute;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.section-title::before {
    left: calc(50% - 100px);
}

.section-title::after {
    right: calc(50% - 100px);
}

/* Header Styles */
header {
    background-color: var(--cream);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.logo h1 {
    font-family: var(--font-family-headings);
    color: var(--primary-color);
}

nav ul li a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* Button Styles */
.btn {
    font-family: var(--font-family);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: 4px;
}

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

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Banner Section */
.banner {
    background-color: var(--cream);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--pattern-dots);
    background-size: 20px 20px;
    opacity: 0.4;
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-text h2 {
    color: var(--dark-color);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.banner-text p {
    font-size: 1.25rem;
    color: var(--dark-color);
    opacity: 0.85;
}

/* Services Section */
.services {
    position: relative;
    background-color: var(--beige);
    padding: 100px 0;
}

.service-card {
    background-color: var(--cream);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border-radius: 50%;
    padding: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* About Us Section */
.about-us {
    background-color: var(--light-color);
    padding: 100px 0;
    position: relative;
}

.about-us::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--pattern-lines);
    opacity: 0.6;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 10px solid var(--cream);
}

.about-text h2 {
    color: var(--dark-color);
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text p {
    color: var(--dark-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--beige);
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.gallery-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.5));
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Blog Preview Section */
.blog-preview {
    padding: 100px 0;
    background-color: var(--cream);
    position: relative;
}

.blog-card {
    background-color: var(--beige);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: var(--transition);
}

.blog-card:hover .blog-image::after {
    opacity: 1;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.read-more {
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
    padding: 100px 0;
    position: relative;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--pattern-dots);
    background-size: 20px 20px;
    opacity: 0.3;
}

.testimonial-content {
    background-color: var(--cream);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-content::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    font-family: var(--font-family-headings);
    color: var(--secondary-color);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-style: italic;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.testimonial-author h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Subscription Section */
.subscription {
    background-color: var(--cream);
    padding: 100px 0;
    position: relative;
}

.subscription::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--pattern-lines);
    opacity: 0.4;
}

.subscription-content {
    position: relative;
    z-index: 1;
}

.subscription-text h2 {
    color: var(--dark-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.subscription-form {
    background-color: var(--beige);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-group input {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 12px 15px;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(244, 162, 89, 0.2);
    outline: none;
}

/* Contact Section */
.contact-info {
    background-color: var(--beige);
    padding: 100px 0;
}

.contact-item i {
    color: var(--accent-color);
}

.social-icons a {
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px) rotate(10deg);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--cream);
    padding: 80px 0 20px;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 20px;
}

.footer-links h3 {
    color: var(--light-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul li a {
    color: var(--light-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    opacity: 1;
    padding-left: 8px;
}

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

/* Cookie Banner and Modal */
.cookie-banner {
    border-top: 5px solid var(--primary-color);
    background-color: var(--cream);
}

.cookie-banner h3 {
    color: var(--dark-color);
}

.cookie-buttons .btn {
    margin-right: 10px;
}

.modal-content {
    background-color: var(--cream);
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.cookie-option {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

/* Blog Post Styles */
.blog-post {
    background-color: var(--beige);
}

.post-header h1 {
    color: var(--dark-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 10px;
}

.post-content h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 25px;
}

.post-content ul {
    padding-left: 25px;
    margin-bottom: 25px;
}

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

.post-tags a {
    background-color: var(--light-color);
    color: var(--dark-color);
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.post-share a {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.post-share a:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.related-card {
    background-color: var(--cream);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Legal Pages */
.legal-content {
    background-color: var(--beige);
}

.legal-header h1 {
    color: var(--dark-color);
    font-size: 2.5rem;
}

.legal-body h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 10px;
}

.legal-body h3 {
    color: var(--dark-color);
}

.cookie-table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cookie-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

.cookie-table td {
    background-color: var(--cream);
}

/* Thank You Page */
.thank-you {
    background-color: var(--cream);
    padding: 100px 0;
    position: relative;
}

.thank-you::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--pattern-dots);
    background-size: 20px 20px;
    opacity: 0.3;
}

.thank-you-content {
    position: relative;
    z-index: 1;
}

.thank-you-text h2 {
    color: var(--dark-color);
    font-size: 3rem;
    margin-bottom: 25px;
}

.thank-you-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Media Queries for Retro Styling */
@media (max-width: 992px) {
    .banner-text h2, 
    .thank-you-text h2, 
    .post-header h1 {
        font-size: 2.5rem;
    }
    
    .section-title::before, 
    .section-title::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .banner-text h2, 
    .thank-you-text h2 {
        font-size: 2rem;
    }
    
    .about-text h2, 
    .subscription-text h2 {
        font-size: 2rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .service-card, 
    .blog-card {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .banner-text h2, 
    .thank-you-text h2, 
    .about-text h2, 
    .subscription-text h2, 
    .post-header h1 {
        font-size: 1.8rem;
    }
    
    .footer-links h3::after {
        width: 40px;
    }
    
    .service-card::before {
        height: 3px;
    }
}
