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

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
}

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

.cta-button,
.repair-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    letter-spacing: 1px;
}

.cta-button {
    background: #ff6200;
}

.cta-button:hover {
    background: #e55a00;
}

.repair-button {
    background: #ff0000;
}

.repair-button:hover {
    background: #cc0000;
}

.cta-button[type="submit"],
.repair-button[type="submit"] {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    gap: 1.5rem;
}

:root {
    --header-height: 60px;
}

.hero {
    background: #89CFF0;
    text-align: center;
    padding: 3rem;
    margin-top: var(--header-height);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.6px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 0.6px;
}

.gallery {
    padding: 2rem 0;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.masonry-gallery {
    column-count: 1;
    column-gap: 1rem;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (min-width: 900px) {
    .masonry-gallery {
        column-count: 3;
    }
}

@media (min-width: 1200px) {
    .masonry-gallery {
        column-count: 4;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

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

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 3rem;
    padding: 1rem;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: opacity 0.3s;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.lightbox-nav.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.lightbox-nav:focus {
    outline: 2px solid #ff6200;
    outline-offset: 2px;
}

.process {
    padding: 2rem 0;
    background: #fff;
}

.process h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-container iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.video-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.contact {
    padding: 2rem 0;
    background: #f4f4f4;
    margin-top: var(--header-height);
}

.contact h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

#repair-contact {
padding-top: 4rem;
}

@media (min-width: 768px) {
    #repair-contact {
    padding-top: 3rem;
    }
}

#contact-form,
#repair-form {
max-width: 600px;
margin: 0 auto;
padding: 0 20px;
}

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

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

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.radio-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#message {
min-height: 250px;
resize: none;
line-height: 1.4;
box-sizing: border-box;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}

footer p {
    font-size: 0.9rem;
}

.repair-footer {
    background: #fff;
    text-align: center;
    padding: 3rem 0;
}

.repair-footer-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero {
        margin-top: 80px;
    }

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

    .hero-text {
        font-size: 1.1rem;
        margin: 0;
    }

    .header-container {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .cta-button,
    .repair-button {
        padding: 0.5rem 1rem;
    }

    .lightbox-nav {
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    #repair-form,
    #contact-form {
    padding: 0 15px;
    }

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

@media (max-width: 480px) {
    #repair-form,
    #contact-form {
    padding: 0 10px;
    }

    .form-group textarea {
        font-size: 0.95rem;
    }
}
