/* --- GLOBAL VARIABLES --- */
:root {
    --gold: #d4af37;
    --black: #000000;
    --dark-grey: #111111;
    --light-grey: #bbbbbb;
    --border: #333333;
}

/* --- RESET & BASE STYLES --- */
* {
    box-sizing: border-box;
}

html, 
body {
    margin: 0;
    padding: 0;
    background-color: var(--black);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden; /* Scrolling is handled strictly inside #main-display */
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: -webkit-fill-available;
}

/* --- HEADER & NAVIGATION --- */
header {
    flex-shrink: 0;
    width: 100%;
    background-color: var(--black);
    border-bottom: 2px solid var(--gold);
    z-index: 1000;
    padding: 10px 0;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo img {
    height: 100px;
    width: auto;
    cursor: pointer;
}

/* --- MOBILE MENU TOGGLE --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--gold);
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* --- NAVIGATION LINKS --- */
nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
}

/* --- PREMIUM CTA BUTTONS --- */
.cta-btn {
    background-color: var(--gold);
    color: #000000 !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    letter-spacing: 1px;
}

.cta-btn:hover {
    background-color: #ffffff;
    box-shadow: 0 0 20px var(--gold);
    transform: scale(1.05);
    color: #000000 !important;
}

/* --- MAIN DISPLAY (The Scrollable Area) --- */
#main-display {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* --- HOME SECTION ALIGNMENT --- */
#home.content-pane {
    display: none;
    min-height: calc(100vh - 200px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 20px !important;
}

#home.active {
    display: flex !important;
}

.content-pane {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.active {
    display: block !important;
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- IFRAME HANDLER --- */
.full-frame {
    width: 100%;
    height: 100%;
    min-height: 75vh;
    border: none;
    background: transparent;
}

/* --- HERO CONTENT --- */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    color: var(--gold);
    margin: 0;
    text-transform: uppercase;
}

.hero-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--light-grey);
    margin: 25px 0 45px 0;
}

/* --- SERVICE GRIDS & CARDS --- */
.main-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: var(--gold);
    margin: 40px 0 50px 0;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px 60px 20px;
}

.service-item h2 {
    font-family: 'Monoton', cursive;
    color: var(--gold);
    text-align: center;
    margin-bottom: 15px;
}

/* --- IMAGE CARDS & HOVER GLOW --- */
.image-card {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    border: 2px solid var(--border);
    background-size: 100% auto;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-card:hover {
    transform: scale(1.03);
    background-size: 115% auto;
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

/* --- SCROLL REVEAL ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- LIGHTBOX (IMAGE POPUP) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    border: 2px solid var(--gold);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

#lightbox-caption {
    color: var(--gold);
    font-family: 'Oswald', sans-serif;
    margin-top: 20px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

/* --- FAQ ACCORDION --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    padding: 25px 15px;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.faq-question:hover {
    background: var(--dark-grey);
    color: var(--gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    color: var(--light-grey);
    padding: 0 15px;
}

.faq-answer.show {
    max-height: 1000px;
    padding-bottom: 30px;
    transition: max-height 0.4s ease-in;
}

/* --- CONTACT FORM --- */
#contact {
    padding-bottom: 60px;
}

.contact-container {
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
    padding: 30px;
    background: #080808;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--gold);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-group input:not([type="checkbox"]), 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #111;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    transition: 0.3s;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #0a0a0a;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
}

.check-item input[type="checkbox"] {
    accent-color: var(--gold);
    width: 18px;
    height: 18px;
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none; /* Controlled by script.js */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--gold);
}

/* --- COMPACT FOOTER --- */
footer {
    flex-shrink: 0;
    background: var(--black);
    border-top: 1px solid var(--border);
    padding: 15px 10px;
    text-align: center;
    width: 100%;
}

.footer-contact {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.footer-contact a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
}

.footer-contact span {
    color: var(--border);
    margin: 0 8px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 8px 0;
}

.social-links a {
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-5px);
}

.copyright {
    font-size: 0.7rem;
    color: var(--light-grey);
    margin: 0;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.98);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        z-index: 1500;
        border-left: 2px solid var(--gold);
    }

    nav.mobile-active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 25px;
    }

    .logo img {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .form-row, 
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    .contact-container {
        padding: 20px;
    }

    .back-to-top {
        bottom: 80px; 
        right: 20px;
    }
}

/* --- LOADER --- */
.loader-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 2000;
}

.loader {
    border: 4px solid var(--border);
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}
