:root {
    --bg-dark: #05060a;
    --bg-overlay: rgba(0, 0, 0, 0.55);
    --accent: #cc00ff;
    --accent-soft: rgba(180, 19, 255, 0.2);
    --text-light: #f7f7f7;
    --text-muted: #8c8c8c;
    --glass-bg: rgba(10, 10, 15, 0.7);
    --border-glass: rgba(255, 255, 255, 0.35);
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-light);
}

/* Header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.95rem;
    height: 80px;
    /* Adjust as needed */
    width: auto;
    /* Maintain aspect ratio */
}

.nav a {
    margin-left: 16px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav a:hover {
    color: var(--accent);
}

/* Hero */

.hero {
    position: relative;
    height: 100vh;
    background: radial-gradient(circle at top, #1a1b24, #05060a);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent);
}

.hero-content {
    position: relative;
    max-width: 720px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    margin-bottom: 16px;
}

.hero p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Buttons */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: linear-gradient(135deg, var(--accent), #cc00ff);
    color: #05060a;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Service Sections */

.service-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.service-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(5, 6, 10, 0.9) 0%,
            rgba(5, 6, 10, 0.4) 40%,
            rgba(5, 6, 10, 0.8) 100%);
}

.service-content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 96px 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 40px;
}

.service-left h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    margin: 0;
}

.glass-box {
    border-radius: 24px;
    padding: 24px 28px;
    background: var(--glass-bg);
    border: 1px solid var(--border-glass);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

.glass-box p {
    margin: 0 0 16px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Slideshow */

.slideshow {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Booking Section */

.booking-section {
    padding: 96px 24px 64px;
    background: radial-gradient(circle at top, #151624, #05060a);
}

.booking-inner {
    max-width: 900px;
    margin: 0 auto;
}

.booking-inner h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
}

.booking-form .form-group {
    display: flex;
    flex-direction: column;
}

.booking-form label {
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 15, 0.9);
    color: var(--text-light);
    padding: 10px 12px;
    font-size: 0.95rem;
    outline: none;
}

.booking-form textarea {
    resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft);
}

.map-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.inline-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
}

.inline-options label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.booking-form button[type="submit"] {
    grid-column: 1 / -1;
    margin-top: 8px;
}

/* Footer */

.footer {
    padding: 16px 24px 24px;
    background: #05060a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-btn {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 15, 20, 0.9);
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.footer-btn:hover {
    background: var(--accent-soft);
    color: var(--text-light);
    border-color: var(--accent);
}

/* Modals */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

.modal.open {
    display: flex;
}

.modal-content {
    max-width: 640px;
    width: 100%;
    background: #10111a;
    border-radius: 20px;
    padding: 24px 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    position: relative;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 8px 0 16px;
}

.social-links li {
    margin-bottom: 4px;
}

.social-links a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
}

.social-links a:hover {
    text-decoration: underline;
}

.contact-form .form-group {
    margin-top: 12px;
}

.portfolio-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.portfolio-list li {
    margin-bottom: 6px;
    color: var(--text-muted);
}

/* Responsive */

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-content {
        padding-top: 96px;
    }

    .service-left h1 {
        font-size: 2.1rem;
    }

    .booking-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 0 16px;
    }

    .nav a {
        display: none;
        /* keep header clean on very small screens; could be replaced with burger menu */
    }

    .hero-content {
        text-align: left;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

.form-section {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.form-section legend {
    font-weight: bold;
    padding: 0 10px;
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.half-width {
    flex: 1;
    min-width: 0;
    /* Prevents flex items from overflowing */
}

.inline-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .half-width {
        width: 100%;
    }
}