/* 
   Crystal Wave - Modern Toilet Cleaner Brand
   Modern, clean design with soft teal and white color scheme
   Japanese aesthetic principles: simplicity, subtlety, and balance
*/

:root {
    --color-primary: #20B2AA; /* Soft teal */
    --color-primary-light: #5fd3cc;
    --color-primary-dark: #168f89;
    --color-secondary: #f8f8f8; /* Crisp white */
    --color-accent: #3D5A80; /* Deep blue accent */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-background: #ffffff;
    --color-border: #e0e0e0;
    --color-error: #e53935;
    --color-success: #43a047;
    --font-main: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --content-max-width: 1200px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
}

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

a:hover {
    color: var(--color-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

ul, ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

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

.container {
    width: 90%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background-color: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn.secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn.secondary:hover {
    background-color: var(--color-primary-light);
    color: white;
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

section {
    padding: 4rem 0;
}

/* Header Styles */
header {
    background-color: var(--color-background);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    border-radius: 50%;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--color-primary);
}

.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-right: 2rem;
}

.language-selector button {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.language-selector button.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1.5rem;
}

nav ul li a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    left: 0;
    bottom: -2px;
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    background-color: var(--color-secondary);
    background-image: linear-gradient(135deg, #f8f9fa 0%, #e9f6f6 100%);
    padding: 6rem 0;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.hero-content .slogan {
    font-style: italic;
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image:before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 178, 170, 0.1);
    border-radius: var(--border-radius);
    z-index: -1;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Features Section */
.features {
    text-align: center;
}

.features h2 {
    margin-bottom: 3rem;
}

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

.feature-item {
    padding: 2rem;
    border-radius: var(--border-radius);
    background-color: var(--color-background);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: rgba(32, 178, 170, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Latest Posts Section */
.latest-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.post-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--color-background);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.2rem;
}

.post-card p {
    padding: 0 1.5rem 1rem;
    color: var(--color-text-light);
}

.read-more {
    display: inline-block;
    padding: 0 1.5rem 1.5rem;
    color: var(--color-primary);
    font-weight: 500;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover:after {
    margin-left: 10px;
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* CTA Section */
.cta {
    background-color: var(--color-accent);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

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

/* Footer */
footer {
    background-color: var(--color-accent);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p svg {
    margin-right: 0.8rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.social-icons a svg {
    color: white;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-accent);
    color: white;
    padding: 1rem;
    z-index: 1000;
    display: none;
    justify-content: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-content {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

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

/* Page Banner */
.page-banner {
    background-color: var(--color-secondary);
    padding: 5rem 0;
    text-align: center;
}

.page-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-banner p {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-style: italic;
}

/* About Page */
.about-intro {
    padding: 5rem 0;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.our-values {
    background-color: var(--color-secondary);
}

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

.value-item {
    padding: 2rem;
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background-color: rgba(32, 178, 170, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
}

.team {
    text-align: center;
}

.team h2 {
    margin-bottom: 3rem;
}

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

.team-member {
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    margin-bottom: 0.3rem;
}

.team-member p {
    padding: 0 1.5rem;
    color: var(--color-text-light);
}

.team-member p:first-of-type {
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.our-history {
    background-color: var(--color-secondary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--color-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: bold;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 3rem;
}

.timeline-content h3 {
    margin-bottom: 1rem;
}

/* Products Page */
.product-intro {
    text-align: center;
    padding-bottom: 0;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto;
}

.product-categories {
    padding-top: 2rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.category-tab.active {
    background-color: var(--color-primary);
    color: white;
}

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

.product-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-description {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    background-color: rgba(32, 178, 170, 0.1);
    color: var(--color-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.why-choose {
    background-color: var(--color-secondary);
    text-align: center;
}

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

.benefit-item {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: rgba(32, 178, 170, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
}

.testimonials {
    text-align: center;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 2rem;
    padding: 1rem;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    min-width: 100%;
    scroll-snap-align: center;
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
}

.testimonial-text:before {
    top: -20px;
    left: -20px;
}

.testimonial-text:after {
    bottom: -40px;
    right: -20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
}

/* Blog Page */
.blog-content {
    padding: 5rem 0;
}

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

.blog-post {
    display: flex;
    margin-bottom: 3rem;
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.post-image {
    width: 35%;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    width: 65%;
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.post-category {
    color: var(--color-primary);
    font-weight: 500;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--color-primary-light);
    padding-bottom: 0.8rem;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.8rem;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    color: var(--color-text);
    transition: var(--transition);
}

.category-list li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.popular-posts {
    list-style: none;
    padding: 0;
}

.popular-posts li {
    margin-bottom: 1.5rem;
}

.popular-posts li a {
    display: flex;
    gap: 1rem;
    color: var(--color-text);
}

.popular-posts li a img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.popular-posts li a h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    transition: var(--transition);
}

.popular-posts li a span {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.popular-posts li a:hover h4 {
    color: var(--color-primary);
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: rgba(32, 178, 170, 0.1);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Contact Page */
.contact-info {
    padding: 5rem 0 3rem;
}

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

.contact-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: rgba(32, 178, 170, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
}

.contact-icon svg {
    width: 32px;
    height: 32px;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(32, 178, 170, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
    transition: var(--transition);
}

.contact-social a:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    padding-top: 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

.form-container h2 {
    margin-bottom: 1rem;
}

.form-container > p {
    margin-bottom: 2rem;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group.full-width {
    grid-column: span 2;
}

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

.form-group .required {
    color: var(--color-error);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

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

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
}

.form-submit {
    grid-column: span 2;
    text-align: center;
    margin-top: 1rem;
}

.map-section {
    background-color: var(--color-secondary);
    text-align: center;
}

.map-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.map-placeholder {
    flex: 2;
    min-width: 300px;
    height: 400px;
    background-color: var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-directions {
    flex: 1;
    min-width: 250px;
    text-align: left;
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.map-directions h3 {
    margin-bottom: 1.5rem;
}

.map-directions ul {
    list-style-type: disc;
}

.faq-section {
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    padding-right: 2rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text-light);
}

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

.check-icon {
    color: var(--color-success);
    margin-bottom: 1.5rem;
}

.thank-you-content h2 {
    margin-bottom: 1rem;
}

.thank-you-content p {
    margin-bottom: 2rem;
}

.close-btn {
    width: fit-content;
}

/* Blog Post Page */
.post-banner {
    background-color: var(--color-secondary);
    padding: 5rem 0;
    text-align: center;
}

.post-banner h2 {
    font-size: 2.2rem;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.post-banner .post-meta {
    justify-content: center;
    margin-bottom: 0;
}

.post-banner .post-meta span {
    margin: 0 0.5rem;
}

.post-content {
    padding: 5rem 0;
}

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

.post-main {
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-body h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    font-size: 1.6rem;
}

.post-body h3:first-child {
    margin-top: 0;
}

.post-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.post-body ul, 
.post-body ol {
    margin-bottom: 2rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-body strong {
    font-weight: 600;
    color: var(--color-accent);
}

.post-tags {
    margin: 3rem 0 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.post-tags span {
    font-weight: 500;
}

.post-tags a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: rgba(32, 178, 170, 0.1);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--color-primary);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.post-share span {
    font-weight: 500;
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(32, 178, 170, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
    transition: var(--transition);
}

.post-share a:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.post-author-bio {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background-color: rgba(32, 178, 170, 0.05);
    border-radius: var(--border-radius);
}

.post-author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h4 {
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.author-details p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.related-posts {
    margin-top: 3rem;
}

.related-posts h3 {
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-post {
    background-color: var(--color-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h4 {
    padding: 1rem;
    font-size: 1rem;
    color: var(--color-text);
    transition: var(--transition);
}

.related-post:hover h4 {
    color: var(--color-primary);
}

.post-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    margin-bottom: 1.5rem;
}

.recent-posts li a {
    display: flex;
    gap: 1rem;
    color: var(--color-text);
}

.recent-posts li a img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.recent-posts li a h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    transition: var(--transition);
}

.recent-posts li a span {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.recent-posts li a:hover h4 {
    color: var(--color-primary);
}

.product-widget {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.product-widget img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.product-widget h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.product-widget p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: 85%;
        margin-left: 60px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 1rem 15px 0.5rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .language-selector {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        margin-right: 0;
    }
    
    nav ul {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .hero .container {
        flex-direction: column-reverse;
    }
    
    .hero-content, .hero-image {
        width: 100%;
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .post-image, .post-content {
        width: 100%;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .product-widget {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 0.8rem 1.5rem;
    }
    
    .post-banner .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .post-banner .post-meta span {
        margin: 0;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}
