:root {
    --primary: #c5a059;
    /* Elegant Gold */
    --accent: #d4af37;
    --dark: #0a0a0a;
    --dark-grey: #1a1a1a;
    --light: #f4f4f4;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: var(--dark);
    color: var(--light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition);
}

#main-nav.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-family: var(--font-heading);
    letter-spacing: 12px;
    color: var(--primary);
    font-weight: 900;
    margin-right: 2rem;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background: var(--dark-grey);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    /* Higher z-index to stay on top */
    top: 100%;
    left: 0;
    border: 1px solid var(--glass-border);
    margin-top: 0;
    padding-top: 0.5rem;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--glass-border);
}

.dropdown-content a:hover {
    background: var(--primary);
    color: black;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('assets/hero-panorama.png') no-repeat center center/cover;
    position: relative;
    padding: 0 5%;
}

.hero-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 2;
    gap: 4rem;
}

.hero-left {
    flex: 1;
    text-align: left;
}

.hero-right {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-section h4 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-section h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 2rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: black;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: white;
    transform: scale(1.05);
}

.btn.ghost {
    background: transparent;
    color: white;
    border: 1px solid var(--primary);
}

/* Generic Sections */
.section {
    padding: 10rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.grid.reverse {
    direction: rtl;
}

.grid.reverse .text-content {
    direction: ltr;
}

.text-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.text-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.image-box img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dark {
    background-color: var(--dark-grey);
}

/* Capabilities Section */
.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.cap-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
}

.cap-item:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.cap-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.cap-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1e1e1e;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #333;
    width: 60%;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 10px 20px;
    cursor: pointer;
}

.excel-header {
    background: #2a2a2a;
    padding: 30px;
    border-bottom: 1px solid #333;
}

.excel-header h3 {
    color: var(--primary);
    margin-bottom: 5px;
}

.excel-form {
    padding: 20px 40px;
}

.excel-row {
    display: flex;
    border-bottom: 1px solid #333;
    align-items: center;
}

.excel-cell {
    padding: 15px;
}

.excel-cell.labels {
    width: 250px;
    background: rgba(255, 255, 255, 0.02);
    font-weight: 600;
    color: #999;
    border-right: 1px solid #333;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.excel-cell.input {
    flex-grow: 1;
}

.excel-cell input,
.excel-cell select,
.excel-cell textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    outline: none;
    padding: 5px;
}

.excel-cell textarea {
    height: 100px;
    resize: none;
}

.excel-footer {
    padding: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    background: #2a2a2a;
}

/* Responsive */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-section h1 {
        font-size: 3.5rem;
    }

    .modal-content {
        width: 90%;
    }
}

/* Contact Section */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.contact-info-item {
    background: #000000;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #333333;
    transition: var(--transition);
}

.contact-info-item:hover {
    background: #0a0a0a;
    border-color: #ffffff;
}

.contact-info-item i {
    font-size: 2rem;
    color: #ffffff !important;
    margin-bottom: 1.5rem;
}

.contact-info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;
}

.contact-info-item p {
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-info-item a {
    color: #ffffff !important;
}

/* Full Width Banner Section */
.full-width-banner {
    height: 80vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
    margin: 5rem 0;
}

.bungalow-bg {
    background-image: url('assets/private-bungalow.png');
}

.office-bg {
    background-image: url('assets/luxury-office.png');
}

.land-bg {
    background-image: url('assets/land-industrial.png');
}

.full-width-banner .overlay {
    background: rgba(0, 0, 0, 0.4);
}

.full-width-banner .content {
    position: relative;
    z-index: 2;
    padding: 0 10%;
    max-width: 800px;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments for mobile navigation */
@media (max-width: 768px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cap-item {
        padding: 2rem;
    }

    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        color: var(--primary);
        cursor: pointer;
        z-index: 1002;
        /* Higher than nav-links */
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .dropdown-content {
        position: relative;
        background: transparent;
        box-shadow: none;
        padding: 0;
        text-align: center;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        letter-spacing: 4px;
        font-size: 1.2rem;
        margin-right: 0;
    }

    .section {
        padding: 5rem 0;
    }

    .hero-section {
        padding-top: 140px !important;
        /* Force space for fixed logo */
        justify-content: center;
        text-align: center;
        padding-left: 5%;
        padding-right: 5%;
        height: auto;
        min-height: 100vh;
        padding-bottom: 50px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 3rem;
    }

    .hero-left,
    .hero-right {
        text-align: center;
        align-items: center;
    }

    .hero-section h1 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .action-btns {
        justify-content: center;
    }

    .hero-section .content {
        max-width: 100%;
    }

    .hero-section h1 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .subtitle {
        line-height: 1.5;
        margin-bottom: 2rem !important;
    }
}