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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: #2c3e50;
}

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

a:hover {
    color: #c0392b;
}

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

ul {
    list-style-position: inside;
    padding-left: 0;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
    color: white;
}

.btn-submit {
    background-color: #3498db;
    color: white;
    width: 100%;
}

.btn-submit:hover {
    background-color: #2980b9;
}

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

.btn-outline {
    background-color: transparent;
    border: 1px solid #333;
    color: #333;
}

.btn-outline:hover {
    background-color: #333;
    color: white;
}

.btn-link {
    background: none;
    border: none;
    text-decoration: underline;
    color: #666;
    padding: 8px;
}

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

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #333;
    font-weight: 500;
}

.main-nav a:hover {
    color: #e74c3c;
}

/* Hero Section */
.hero {
    background-color: #fff;
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Content Blocks */
.content-block {
    padding: 80px 0;
    background-color: white;
}

.content-block:nth-child(even) {
    background-color: #f9f9f9;
}

.block-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.block-image-right .block-container {
    /* No visual reverse needed if DOM order is handled manually, 
       but if we want to be strict about class names: */
}

.block-image, .block-text {
    flex: 1;
}

.block-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
}

.block-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #e74c3c;
    margin-top: 15px;
}

.block-text p {
    margin-bottom: 15px;
    font-size: 18px;
    color: #555;
}

.block-text ul {
    list-style-type: none;
    margin-top: 20px;
}

.block-text ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.block-text ul li::before {
    content: '✓';
    color: #e74c3c;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Reviews */
.review-quote {
    background-color: #f5f5f5;
    padding: 25px;
    border-left: 4px solid #3498db;
    margin: 20px 0;
    font-style: italic;
    border-radius: 0 4px 4px 0;
}

.review-quote cite {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-style: normal;
    color: #333;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #2c3e50;
    color: white;
}

.contact-container {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: white;
    margin-bottom: 30px;
}

.contact-info address {
    font-style: normal;
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-info address p {
    margin-bottom: 15px;
}

.contact-info address a {
    color: #3498db;
}

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

.social-links a {
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 4px;
}

.social-links a:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
    color: white;
}

.contact-form-wrapper {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    color: #333;
}

.contact-form-wrapper h3 {
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.checkbox-group input {
    margin-top: 4px;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #999;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #999;
    margin: 0 15px;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    font-size: 14px;
}

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

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

.cookie-content p {
    margin: 0;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-settings-panel {
    max-width: 1200px;
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cookie-option {
    margin-bottom: 10px;
}

/* Legal Pages */
.legal-page {
    padding: 60px 0;
}

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

.legal-content h1 {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.legal-content h2 {
    margin-top: 30px;
    font-size: 20px;
}

.legal-content p, .legal-content ul {
    margin-bottom: 15px;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .main-nav {
        margin-top: 15px;
        width: 100%;
    }
    
    .main-nav ul {
        justify-content: space-between;
    }

    .main-nav li {
        margin: 0;
    }

    .hero-content, 
    .block-container {
        flex-direction: column;
        gap: 30px;
    }
    
    /* Ensure image is always on top on mobile */
    .block-container .block-image {
        order: -1;
    }

    .block-image-right .block-container {
        flex-direction: column; /* Reset reverse on mobile */
    }

    .hero-text, .block-text {
        text-align: center;
    }
    
    .block-text h2::after {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-info {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }

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