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

body {
    font-family: 'Krona One', cursive;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-accept,
.btn-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Krona One', cursive;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-accept {
    background: #007bff;
    color: white;
}

.btn-accept:hover {
    background: #0056b3;
}

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

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

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

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

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

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

/* Hero Section */
.hero {
    background: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #333;
}

.hero-text p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.maintenance-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.section-intro {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

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

.maintenance-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.maintenance-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.maintenance-card p {
    font-size: 0.8rem;
    line-height: 1.6;
    opacity: 0.9;
}

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

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 5px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
}

/* Repairs Section */
.repairs-section {
    background: #34495e;
    color: white;
    padding: 80px 0;
}

.repairs-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

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

.repair-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.repair-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.repair-card p {
    font-size: 0.8rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Expert Section */
.expert-section {
    background: white;
    padding: 80px 0;
}

.expert-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expert-text h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.expert-text > p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #666;
}

.expert-tips {
    space-y: 2rem;
}

.tip-item {
    margin-bottom: 2rem;
}

.tip-item h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
}

.tip-item p {
    font-size: 0.8rem;
    line-height: 1.8;
    color: #666;
}

.expert-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.contact-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.contact-intro {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: white;
    font-family: 'Krona One', cursive;
    font-size: 0.9rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    background: rgba(255, 255, 255, 0.15);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: white;
    color: #2c3e50;
    border: none;
    border-radius: 5px;
    font-family: 'Krona One', cursive;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: white;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

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

.social-link {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #007bff;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #333;
}

.copyright p {
    color: #666;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        margin: 1rem 0;
        font-size: 1rem;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .expert-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .maintenance-grid {
        grid-template-columns: 1fr;
    }
    
    .repairs-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .maintenance-section,
    .repairs-section,
    .expert-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-accept,
    .btn-decline {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.2rem;
    }
    
    .hero-text p,
    .section-intro,
    .expert-text > p {
        font-size: 0.8rem;
    }
    
    .maintenance-section h2,
    .repairs-section h2,
    .expert-section h2,
    .contact-section h2 {
        font-size: 1.5rem;
    }
    
    .maintenance-card,
    .repair-card {
        padding: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

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

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

.hero-text,
.hero-image,
.maintenance-card,
.repair-card,
.expert-text,
.expert-image {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-image {
    animation-delay: 0.2s;
}

.maintenance-card:nth-child(2) {
    animation-delay: 0.1s;
}

.maintenance-card:nth-child(3) {
    animation-delay: 0.2s;
}

.maintenance-card:nth-child(4) {
    animation-delay: 0.3s;
}

.repair-card:nth-child(2) {
    animation-delay: 0.1s;
}

.repair-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Focus States for Accessibility */
.nav-link:focus,
.btn-secondary:focus,
.btn-submit:focus,
.social-link:focus,
.footer-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Loading States */
.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .maintenance-card,
    .repair-card {
        border: 2px solid white;
    }
    
    .form-group input,
    .form-group textarea {
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
}