/* CORE DESIGN RULES & VARIABLES */
:root {
    --midnight-navy: #0A192F;
    --antique-gold: #C5A059;
    --off-white: #F8F9FA;
    --glass-bg: rgba(10, 25, 47, 0.7);
    --glass-border: rgba(197, 160, 89, 0.3);
}

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

body {
    font-family: Verdana, sans-serif;
    background-color: var(--midnight-navy);
    color: var(--off-white);
    font-size: 1.25rem; /* 20px */
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--antique-gold);
    margin-bottom: 1rem;
}

/* Responsive Refinement for Hero Text */
h1 {
    font-size: clamp(36px, 8vw, 60px);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

h2 {
    font-size: clamp(28px, 6vw, 48px);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--antique-gold);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--off-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* BUTTONS */
.btn {
    display: inline-block;
    background-color: var(--antique-gold);
    color: var(--midnight-navy);
    padding: 15px 30px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--off-white);
    color: var(--midnight-navy);
    transform: translateY(-2px);
}

/* HEADER & NAVIGATION */
header {
    position: sticky;
    top: 0;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--antique-gold);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Enhancement */
.logo-container {
    padding: 5px 10px; /* Subtle padding to prevent touching edges */
}

.logo-container img {
    height: 72px; /* Increased by 20% from 60px */
    width: auto;
    transition: transform 0.3s ease;
}

.logo-container:hover img {
    transform: scale(1.02);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--antique-gold);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--off-white);
    font-size: 1.1rem;
    font-weight: bold;
    position: relative;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--antique-gold);
}

/* HAMBURGER MENU (Hidden on Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001; /* Must stay above the mobile menu overlay */
    padding: 10px; /* Easy touch target */
}

.hamburger span {
    width: 32px;
    height: 3px;
    background-color: var(--antique-gold);
    border-radius: 3px;
    transition: all 0.4s ease-in-out;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    width: 100vw;
    background: url('images/hero.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 25, 47, 0.5);
}

.glass-box {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    max-width: 800px;
    width: 90%;
    z-index: 1;
    margin-top: 40px; /* Prevents overlap with sticky header on smaller screens */
}

.glass-box p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* PAGE LAYOUTS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5%;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* CARDS */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--antique-gold);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

/* SEARCH BAR */
.search-container {
    margin-bottom: 40px;
    text-align: center;
}

.search-bar {
    width: 100%;
    max-width: 600px;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-family: Verdana, sans-serif;
    background: transparent;
    border: 2px solid var(--antique-gold);
    color: var(--off-white);
    border-radius: 30px;
    outline: none;
}

.search-bar::placeholder {
    color: rgba(248, 249, 250, 0.6);
}

/* FORMS */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--antique-gold);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 15px;
    font-family: Verdana, sans-serif;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--antique-gold);
    color: var(--off-white);
    border-radius: 5px;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

/* MAP */
.map-container iframe {
    width: 100%;
    height: 400px;
    border: 2px solid var(--antique-gold);
    border-radius: 8px;
}

/* FOOTER */
footer {
    background-color: #050d1a;
    padding: 40px 5%;
    text-align: center;
    border-top: 1px solid var(--antique-gold);
    margin-top: auto;
}

/* FLOATING WHATSAPP BUTTON */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.floating-wa:hover {
    transform: scale(1.05);
    color: #ffffff;
}

/* =========================================
   MOBILE RESPONSIVENESS (< 768px)
   ========================================= */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    /* Hamburger Display */
    .hamburger {
        display: flex;
    }

    /* Hamburger Animation to 'X' */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Mobile Overlay Menu */
    nav {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen by default */
        width: 100vw;
        height: 100vh;
        background-color: var(--midnight-navy);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 1000;
    }

    nav.active {
        right: 0; /* Slide in */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    nav ul li a {
        font-size: 1.8rem; /* Larger touch targets */
        color: var(--antique-gold);
    }

    nav ul li a:hover, nav ul li a.active {
        color: var(--off-white);
    }

    /* Hero Refinements for Mobile */
    .glass-box {
        padding: 40px 20px;
        margin-top: 60px;
    }
    
    .floating-wa {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}