/* ====================================
   Silky Suds - Main Stylesheet
   ==================================== */

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    color: #2d7a4f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1f5738;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: none;
    flex-direction: column;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.nav-menu.active {
    display: flex;
}

.nav-menu li {
    padding: 0.5rem 1.5rem;
}

.nav-menu a {
    display: block;
    padding: 0.5rem 0;
    font-weight: 500;
    color: #333;
}

.nav-menu a.active {
    color: #2d7a4f;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1f5738;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-cta {
    margin-top: 1.5rem;
}

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

.hero-visual img {
    margin: 0 auto;
}

/* Page Hero */
.page-hero {
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2rem;
    color: #1f5738;
    margin-bottom: 0.5rem;
}

.page-hero .hero-subtitle {
    font-size: 1rem;
    color: #555;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #2d7a4f;
    color: #fff;
    border-color: #2d7a4f;
}

.btn-primary:hover {
    background-color: #1f5738;
    border-color: #1f5738;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #2d7a4f;
    border-color: #2d7a4f;
}

.btn-secondary:hover {
    background-color: #2d7a4f;
    color: #fff;
}

/* Sections */
section {
    padding: 3rem 0;
}

section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #1f5738;
    text-align: center;
}

section h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #2d7a4f;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #555;
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Content Blocks */
.content-block {
    margin-bottom: 2rem;
}

.content-block h2 {
    text-align: left;
}

.content-block p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Grids */
.services-grid,
.philosophy-grid,
.benefits-grid,
.values-grid,
.team-grid,
.testimonials-grid,
.insights-grid,
.products-grid,
.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card,
.philosophy-item,
.benefit-item,
.value-card,
.team-member,
.testimonial-card,
.insight-item,
.product-card,
.step-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card h3,
.product-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.service-icon,
.product-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.service-icon img,
.product-icon img {
    width: 100%;
    height: 100%;
}

.price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d7a4f;
    margin-top: 1rem;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.product-card.featured {
    position: relative;
    border: 2px solid #2d7a4f;
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #2d7a4f;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-details ul {
    list-style: none;
    margin: 1rem 0;
}

.product-details li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-details li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2d7a4f;
    font-weight: bold;
}

.product-price {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Stats */
.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d7a4f;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

/* Testimonials */
.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: #2d7a4f;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #777;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    position: relative;
    padding-left: 4rem;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: #2d7a4f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #2d7a4f;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-year {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: #2d7a4f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

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

/* Team */
.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.member-role {
    color: #2d7a4f;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Content Columns */
.content-columns {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.col-text,
.col-visual {
    flex: 1;
}

/* Story */
.story-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Mission/Vision */
.mission-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mission-item {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.mission-item h2 {
    text-align: left;
    margin-bottom: 1rem;
}

/* Achievements */
.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.achievement-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}

.achievement-content h3 {
    margin-bottom: 0.5rem;
}

/* Comparison Table */
.comparison-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-header {
    background-color: #2d7a4f;
    color: #fff;
    font-weight: 700;
}

.comparison-feature,
.comparison-traditional,
.comparison-silky {
    padding: 1rem;
}

.comparison-feature {
    font-weight: 600;
    background-color: #f5f5f5;
}

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

.faq-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: #f9f9f9;
    border: none;
    padding: 1rem 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #eee;
}

.faq-icon {
    font-size: 1.5rem;
    color: #2d7a4f;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1rem 1.5rem;
    line-height: 1.7;
}

/* Contact */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-block {
    margin-bottom: 2rem;
}

.contact-block h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-note {
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.5rem;
}

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

.directions-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.directions-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2d7a4f;
}

.map-placeholder {
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.map-visual {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

/* Company Info */
.company-info-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.info-block h3 {
    margin-bottom: 1rem;
}

.info-block p {
    margin-bottom: 0.5rem;
}

/* Thank You */
.thank-you-section {
    padding: 4rem 0;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.thank-you-message {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.next-steps {
    background: #f5f5f5;
    padding: 3rem 0;
}

/* Legal Content */
.legal-content {
    padding: 2rem 0 3rem;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    text-align: left;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.legal-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-text ul {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.7;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

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

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

.cookies-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

/* CTA Section */
.cta-section,
.cta-final {
    background: linear-gradient(135deg, #2d7a4f 0%, #1f5738 100%);
    color: #fff;
    padding: 3rem 0;
}

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

.cta-content h2 {
    color: #fff;
    margin-bottom: 1rem;
}

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

.cta-final .btn-primary {
    background-color: #fff;
    color: #2d7a4f;
    border-color: #fff;
}

.cta-final .btn-primary:hover {
    background-color: #f5f5f5;
    border-color: #f5f5f5;
}

/* Footer */
.footer {
    background-color: #1f5738;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-col p {
    line-height: 1.7;
    color: #ccc;
}

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

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

.footer-col a {
    color: #ccc;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: #ccc;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.98);
    color: #fff;
    padding: 1.5rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-banner.active {
    display: block;
}

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

.cookie-content p {
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    color: #1f5738;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.cookie-option:last-of-type {
    border-bottom: none;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.25rem;
}

.cookie-option p {
    margin-left: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.modal-buttons .btn {
    flex: 1;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        padding: 0;
        gap: 2rem;
    }

    .nav-menu li {
        padding: 0;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-content {
        text-align: left;
    }

    .content-columns {
        flex-direction: row;
    }

    .story-content {
        flex-direction: row;
    }

    .services-grid,
    .philosophy-grid,
    .benefits-grid,
    .values-grid,
    .products-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card,
    .philosophy-item,
    .benefit-item,
    .value-card,
    .product-card {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .stats-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .testimonials-grid {
        flex-direction: row;
    }

    .testimonial-card {
        flex: 1;
    }

    .process-steps {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .process-step {
        flex: 0 0 calc(50% - 1rem);
    }

    .team-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .team-member {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .insights-grid {
        flex-direction: row;
    }

    .insight-item {
        flex: 1;
    }

    .mission-grid {
        flex-direction: row;
    }

    .achievements-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .achievement-item {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .comparison-row {
        flex-direction: row;
    }

    .comparison-feature,
    .comparison-traditional,
    .comparison-silky {
        flex: 1;
    }

    .comparison-feature {
        background-color: transparent;
        font-weight: 700;
    }

    .comparison-header .comparison-feature {
        background-color: #2d7a4f;
    }

    .contact-grid {
        flex-direction: row;
    }

    .contact-details {
        flex: 1;
    }

    .map-placeholder {
        flex: 1;
    }

    .company-info-grid {
        flex-direction: row;
    }

    .info-block {
        flex: 1;
    }

    .thank-you-actions {
        flex-direction: row;
        justify-content: center;
    }

    .steps-grid {
        flex-direction: row;
    }

    .step-card {
        flex: 1;
    }

    .footer-grid {
        flex-direction: row;
    }

    .footer-col {
        flex: 1;
    }

    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .cookie-content p {
        flex: 1;
    }

    .cookie-buttons {
        flex-shrink: 0;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    section {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .service-card,
    .philosophy-item,
    .benefit-item,
    .value-card,
    .product-card {
        flex: 0 0 calc(33.333% - 1rem);
    }

    .stat-item {
        flex: 0 0 calc(25% - 1.125rem);
    }

    .process-step {
        flex: 0 0 calc(25% - 1.5rem);
        padding-top: 4rem;
        padding-left: 0;
    }

    .step-number {
        left: 50%;
        transform: translateX(-50%);
    }

    .team-member {
        flex: 0 0 calc(25% - 1.125rem);
    }

    .comparison-traditional,
    .comparison-silky {
        text-align: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }