/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fdfdfd;
    color: #111;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* BUTTONS */
.primary-btn,
.secondary-btn,
.nav-btn,
.text-btn {
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    padding: 12px 24px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    font-weight: 500;
}

.primary-btn {
    background-color: #111;
    color: #fff;
    border: 1px solid #111;
}

.primary-btn:hover {
    background-color: #333;
    border-color: #333;
}

.secondary-btn {
    background-color: transparent;
    color: #111;
    border: 1px solid #111;
}

.secondary-btn:hover {
    background-color: #111;
    color: #fff;
}

.text-btn {
    background-color: transparent;
    color: #111;
    padding: 5px 0;
    border-bottom: 1px solid #111;
    border-radius: 0;
    font-size: 0.8rem;
    display: inline-block;
}

.text-btn:hover {
    color: #666;
    border-bottom: 1px solid #666;
}

.nav-btn {
    background-color: transparent;
    color: #111;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s, padding 0.3s;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px 50px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 35px;
    filter: brightness(0);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.nav-link:hover {
    color: #888;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #111;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .close-btn {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #999;
}

.mobile-menu .close-btn:hover {
    color: #111;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    color: #eee;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

/* SECTION BASICS */
.section-pad {
    padding: 120px 50px;
    max-width: 1300px;
    margin: 0 auto;
}

/* ABOUT SECTION */
.about-section {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 120px 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 25px;
}

.about-image {
    flex: 1;
    height: 600px;
    background-size: cover;
    background-position: center;
}

/* PROJECTS SECTION */
.projects-section {
    background-color: #f8f8f8;
    padding: 120px 50px;
}

.projects-container {
    max-width: 1300px;
    margin: 0 auto;
}

.projects-section>h2 {
    text-align: center;
    margin-bottom: 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.project-card {
    background: #fff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-img {
    height: 350px;
    background-size: cover;
    background-position: center;
}

.project-info {
    padding: 35px;
    text-align: center;
}

.project-info h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.project-info .text-btn {
    margin: 0 10px;
}

/* SERVICES SECTION */
.services-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 50px;
}

.services-section p {
    margin-bottom: 40px;
}

/* TESTIMONIAL */
.testimonial-section {
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 50px;
}

.testimonial-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.testimonial-section .content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.testimonial-section p {
    color: #fff;
    font-size: 1.6rem;
    font-style: italic;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

/* CONTACT SECTION */
.contact-section {
    padding: 120px 50px;
}

.contact-container {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact-container p {
    margin-bottom: 30px;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.subscribe-form input {
    padding: 18px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 1rem;
    letter-spacing: 0.05em;
    font-family: inherit;
}

.subscribe-form input:focus {
    border-color: #111;
}

.form-feedback {
    display: none;
    padding: 18px;
    background: #f9f9f9;
    color: #000;
    border-left: 4px solid #111;
    margin-top: 10px;
    text-align: left;
}

/* FOOTER */
footer {
    background-color: #111;
    color: #fff;
    padding: 80px 50px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

footer p,
footer a {
    color: #888;
    line-height: 1.8;
}

footer a:hover {
    color: #fff;
}

/* FLOATING CONTACT */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #000;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s ease;
}

.floating-contact:hover {
    transform: translateY(-5px);
    background: #333;
}

/* --- MODALS AND FAKE UI ELEMENTS --- */

/* OVERLAYS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* SPLASH SCREEN */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.splash-screen img {
    max-height: 60px;
    filter: brightness(0);
    margin-bottom: 30px;
}

/* SPINNER */
.spinner {
    width: 25px;
    height: 25px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: #111;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

.spinner.light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* TRANSITION LOADER */
.page-trans {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 200000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.page-trans.active {
    opacity: 1;
    pointer-events: auto;
}


/* BOOKING & MODAL CONTENT */
.modal-content {
    background: #fff;
    padding: 50px;
    width: 90%;
    max-width: 550px;
    position: relative;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2.2rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
    font-weight: 300;
}

.close-modal:hover {
    color: #111;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    margin-top: 10px;
}

.booking-form .form-group input,
.booking-form .form-group select,
.booking-form .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fdfdfd;
}

.booking-form .form-group input:focus,
.booking-form .form-group select:focus,
.booking-form .form-group textarea:focus {
    border-color: #111;
}

.booking-feedback {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #111;
    text-align: left;
    font-size: 0.95rem;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 200000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.lightbox.active img {
    transform: scale(1);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    font-weight: 300;
}

.close-lightbox:hover {
    color: #ccc;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .about-section {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        height: 400px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    header.scrolled {
        padding: 15px 30px;
    }

    header {
        padding: 25px 30px;
    }

    .section-pad,
    .about-section,
    .contact-section {
        padding: 80px 30px;
    }

    h1 {
        font-size: 2.8rem;
    }
}