* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

/* New content wrapper for fade transition */
.main-content-wrapper {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.main-content-wrapper.faded {
    opacity: 0.3;
    transform: translateY(20px);
}

.main-content-wrapper.fade-out {
    opacity: 0.3;
    transform: translateY(-20px);
}

/* Navigation */
nav {
    background: linear-gradient(180deg, #121212, rgba(0, 0, 0, 0.8) 70px, transparent);
    position: fixed;
    width: 100%;
    top: 0;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: padding 0.3s ease;
}

.logo {
    height: 100px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease, height 0.3s ease;
    padding: 5px;
    border-radius: 4px;
}

.logo:hover {
    opacity: 0.8;
}

nav ul {
    list-style: none;
    display: flex;
    transition: margin-top 0.3s ease;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem; /* Reduced from 0.9rem */
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: #007aff;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/new-hero-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    background-position: center 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 30px;
}

/* Buttons */
.cta-button {
    background: transparent;
    color: #ffffff;
    border: 3px solid #ffffff;
    padding: 10px 20px;
    height: 40px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
    transform: scale(1.08);
}

.cta-button:active {
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
    transform: scale(0.98);
}

/* Highlights Section */
.highlights {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.highlight {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.highlight i {
    font-size: 2rem;
    color: #007aff;
    margin-bottom: 15px;
}

.highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
    text-align: center;
    padding: 50px 20px;
    background: #1e1e1e;
}

.testimonials p {
    font-style: italic;
    color: #ffffff;
    margin: 15px 0;
}

/* About Page */
.about, .pricing, .equipment, .contact {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
}

.about h2, .pricing h2, .equipment h2, .contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.equipment-list li {
    font-size: 1.2rem;
    padding: 10px 0;
    position: relative;
}

.equipment-list li::before {
    content: "•";
    color: #007aff;
    position: absolute;
    left: -20px;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pricing-card {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.pricing-card .price {
    font-size: 2rem;
    color: #007aff;
    margin: 10px 0;
}

/* Gallery */
.gallery {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transform: scale(0.95);
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

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

.gallery-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 20px auto;
}

form input, form textarea {
    background: #2a2a2a;
    border: none;
    padding: 12px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact p i {
    color: #007aff;
    margin-right: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #1e1e1e;
    color: #ffffff;
    font-size: 0.9rem;
}

/* Mobile Scroll Behavior */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 10px 20px;
    }
    nav ul {
        margin-top: 10px;
    }
    nav ul li {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    nav.scrolled .logo {
        opacity: 0;
        height: 0;
        padding: 0;
    }
    nav.scrolled {
        padding-top: 0;
    }
    nav.scrolled ul {
        margin-top: 0;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Lightbox CSS */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: transparent;
    margin: auto;
    padding: 40px 0 20px;
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mySlides {
    display: none;
    width: 100%;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mySlides img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
}

.close {
    color: #ffffff;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1002;
}

.close:hover,
.close:focus {
    color: #cccccc;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.numbertext {
    color: #ffffff;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 40px;
    left: 10px;
}

.caption-container {
    text-align: center;
    background-color: #1e1e1e;
    padding: 2px 16px;
    color: #ffffff;
    width: 100%;
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}

img.demo {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 5px;
    opacity: 0.6;
    cursor: pointer;
}

img.demo.active,
img.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    .modal {
        padding-top: 0;
    }
    .mySlides img {
        max-height: 60vh;
    }
    .prev, .next {
        font-size: 18px;
        padding: 12px;
    }
    .close {
        font-size: 30px;
        top: 5px;
        right: 15px;
    }
    .numbertext {
        top: 35px;
        font-size: 10px;
    }
}