/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-blue: #1a2b49;  /* Navy */
    --accent-gold: #d4a373;   /* Gold/Tan */
    --light-bg: #f4f6f8;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =========================================
   2. NAVIGATION
   ========================================= */
.navbar {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Adjust based on your actual logo */
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-blue);
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.btn-nav {
    background: var(--accent-gold);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-nav:hover {
    background: #c49265;
}

/* Hamburger is hidden on Desktop */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section {
    /* Linear gradient overlay + Image */
    background-image: 
        linear-gradient(to right, rgba(26, 43, 73, 0.9) 30%, rgba(26, 43, 73, 0.4) 100%), 
        url('images/office.png'); /* Ensure this path is correct */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    color: var(--white);
}

.hero-content h1 {
    font-size: 5rem; /* Large desktop size */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    font-weight: 700;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: rgba(26, 43, 73, 0.9);
    transform: translateY(-3px);
}

/* =========================================
   4. GENERAL SECTIONS & GRIDS
   ========================================= */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

/* Grid Layouts - Desktop Default */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* =========================================
   5. AUDIENCE & FEATURES
   ========================================= */
.card-icon, .feature-item {
    text-align: center;
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.card-icon:hover, .feature-item:hover {
    transform: translateY(-5px);
}

.icon-circle {
    background: #eef2f6; /* Very light blue */
    color: var(--primary-blue);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.difference {
    background: var(--light-bg);
}

.icon-gold {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

/* =========================================
   6. SPACES GALLERY
   ========================================= */
.space-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.space-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.space-card:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 43, 73, 0.85); /* Navy transparent */
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

/* =========================================
   7. CONTACT FORM
   ========================================= */
.contact-section {
    background-color: var(--light-bg);
    padding: 80px 20px;
}

.form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 600px;
    margin: 0 auto; /* Centers the form */
}

.form-container h2 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    text-align: center;
}

.form-container p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.input-group input:focus, 
.input-group textarea:focus {
    border-color: var(--accent-gold);
    outline: none;
}

.submit-btn {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* =========================================
   8. FOOTER
   ========================================= */
.footer-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns on desktop */
    gap: 30px;
}

.footer-col h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.social-links a {
    color: var(--white);
    margin-right: 15px;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding-top: 20px;
    margin-top: 50px;
    color: #888;
}

/* =========================================
   9. RESPONSIVE MEDIA QUERIES
   ========================================= */

/* --- Tablet (Max width 1024px) --- */
@media screen and (max-width: 1024px) {
    /* Change 4 columns and 3 columns to 2 columns */
    .grid-4, .grid-3 {
        grid-template-columns: repeat(2, 1fr); 
    }

    .hero-content h1 {
        font-size: 3.5rem; /* Smaller heading */
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* Footer becomes 2x2 */
    }
}

/* --- Mobile (Max width 768px) --- */
@media screen and (max-width: 768px) {
    
    /* 1. Navigation */
    .hamburger {
        display: block; /* Show hamburger icon */
    }

    .nav-links {
        position: absolute;
        top: 70px; /* Directly below navbar */
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column; /* Stack links vertically */
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        display: none; /* Hidden by default */
    }

    /* Class added by JavaScript to show menu */
    .nav-links.active {
        display: flex;
    }

    /* 2. Hero Section */
    .hero-section {
        height: auto;
        padding: 100px 20px; /* Add top/bottom padding instead of fixed height */
        text-align: center; /* Center text on mobile */
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Much smaller for phones */
    }

    .hero-content p {
        margin: 0 auto 30px; /* Center paragraph */
    }

    /* 3. Grids */
    .grid-4, .grid-3 {
        grid-template-columns: 1fr; /* Stack everything in 1 column */
    }

    /* 4. Footer */
    .footer-container {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }

    .social-links {
        justify-content: center;
        display: flex;
    }
}
/* =========================================
   COMING SOON MODAL
   ========================================= */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Sit on top of everything including navbar */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px); /* Nice blur effect */
}

/* Active class to show it via JS */
.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%; /* Responsive width for mobile */
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-top: 5px solid var(--accent-gold);
}

.modal-content h3 {
    color: var(--primary-blue);
    margin: 15px 0 10px;
    font-size: 1.8rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Close 'X' button */
.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--primary-blue);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}