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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fefefe;
}

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

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #8b4513, #a0522d);
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

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

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

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accept-all {
    background: #27ae60;
    color: white;
}

.btn-accept-all:hover {
    background: #229954;
}

.btn-necessary {
    background: #f39c12;
    color: white;
}

.btn-necessary:hover {
    background: #e67e22;
}

.btn-customize {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-customize:hover {
    background: white;
    color: #8b4513;
}

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

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

.cookie-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cookie-modal-content h3 {
    color: #8b4513;
    margin-bottom: 20px;
    font-size: 24px;
}

.cookie-option {
    margin: 15px 0;
}

.cookie-option label {
    display: flex;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

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

.btn-save, .btn-cancel {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-save {
    background: #27ae60;
    color: white;
}

.btn-save:hover {
    background: #229954;
}

.btn-cancel {
    background: #95a5a6;
    color: white;
}

.btn-cancel:hover {
    background: #7f8c8d;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #f4d03f;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    color: #8b4513;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #5d6d7e;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

.hero-image {
    animation: slideInRight 1s ease-out;
}

.hero-img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

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

.section-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: sepia(1) hue-rotate(15deg) saturate(2);
}

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

.section-header p {
    font-size: 1.2rem;
    color: #5d6d7e;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

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

.about-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: sepia(1) hue-rotate(15deg) saturate(2);
}

.about-card h3 {
    font-size: 1.5rem;
    color: #8b4513;
    margin-bottom: 15px;
}

.about-card p {
    color: #5d6d7e;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.service-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: sepia(1) hue-rotate(15deg) saturate(2);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #8b4513;
    margin-bottom: 15px;
}

.service-card p {
    color: #5d6d7e;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #2c3e50;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-features li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid #c0392b;
    transition: transform 0.3s ease;
}

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

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author strong {
    color: #8b4513;
    font-size: 1.1rem;
}

.testimonial-author span {
    display: block;
    color: #5d6d7e;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Blog Section */
.blog-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

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

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

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    margin-bottom: 10px;
}

.blog-content h3 a {
    color: #8b4513;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: #c0392b;
}

.blog-content p {
    color: #5d6d7e;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-date {
    color: #95a5a6;
    font-size: 0.9rem;
}

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

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #8b4513;
    padding: 12px 30px;
    text-decoration: none;
    border: 2px solid #8b4513;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #8b4513;
    color: white;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #8b4513, #a0522d);
    color: white;
}

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

.newsletter-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

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

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    display: grid;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
    color: #2c3e50;
}

.form-group input::placeholder {
    color: #7f8c8d;
}

.btn-submit {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.contact-item strong {
    display: block;
    color: #8b4513;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-item span {
    color: #2c3e50;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: #f4d03f;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #f4d03f;
}

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

.social-links a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    opacity: 0.8;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .about-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .about-card,
    .testimonial-card {
        padding: 25px;
    }
    
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-content p {
        margin: 10px 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #f4d03f;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .cookie-banner,
    .cookie-modal,
    .header,
    .footer {
        display: none;
    }
    
    .hero {
        padding-top: 20px;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}
