/* --- Variables & Reset --- */
:root {
    --primary-color: #0F3D2E; /* Deep Forest Green */
    --secondary-color: #C5A059; /* Muted Gold */
    --accent-light: #F4F7F6; /* Very Light Green/Gray */
    --text-dark: #1A1A1A;
    --text-gray: #555555;     /* Default text color for white backgrounds */
    --text-light: #E0E0E0;    /* Text color for dark backgrounds */
    --white: #FFFFFF;
    --max-width: 1200px;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; color: var(--primary-color); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-gray); }

/* Eyebrow text (small uppercase titles) */
.eyebrow {
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Utilities */
.text-gold { color: var(--secondary-color) !important; }
.text-white { color: var(--white) !important; }

/* --- Layout Utilities --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 6rem 0; }
.bg-light { background-color: var(--accent-light); }

.bg-dark { background-color: var(--primary-color); color: var(--white); }
.no-padding-bottom { padding-bottom: 0; }
.mt-large { margin-top: 4rem; }

.section-header { margin-bottom: 4rem; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; max-width: 600px; }

/* Grid Systems */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

/* --- Specific Text Color Overrides for Dark Backgrounds --- */
.bg-dark h2 { color: var(--white); } 
.bg-dark p { color: var(--text-light); opacity: 0.9; }
.bg-dark .eyebrow { font-size: 1rem; } /* Make subtitle slightly larger on dark bg */

/* Specific: Why Choose Us Section Sizing */
#why-choose h2 { font-size: 3rem; } /* Larger Title */
#why-choose .section-header p { font-size: 1.2rem; max-width: 700px; } /* Larger Subtitle */


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}
.btn-primary:hover {
    background-color: #b08d48;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

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

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 50px; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--white);
    font-size: 0.95rem;
}

#navbar.scrolled .nav-links a { color: var(--primary-color); }
.nav-links a:hover { color: var(--secondary-color) !important; }

.mobile-toggle { display: none; }

/* --- Hero --- */
.hero {
    height: 100vh;
    background: url('https://raksetup.com/images/dubai.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 61, 46, 0.85), rgba(15, 61, 46, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Hero Text Specifics */
.hero-content p {
    color: rgba(255, 255, 255, 0.95); /* Bright white for hero text */
    font-size: 1.25rem; /* Slightly larger */
    max-width: 650px;
    margin-bottom: 2rem;
}

.btn-group { display: flex; gap: 1rem; margin-top: 2rem; }

/* --- Cards --- */
.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.card:hover { transform: translateY(-10px); }

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- About & Split Layout (Grid Fix) --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Strict 50/50 split */
    gap: 4rem;
    align-items: center;
}

.split-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.split-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills space beautifully */
}

.mv-card { border-left: 4px solid var(--secondary-color); }

/* --- Features (Why Choose Us) --- */
.feature-item { text-align: center; }
.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

/* Explicitly target P inside feature items to be light */
.feature-item p {
    color: rgba(255, 255, 255, 0.8); 
    font-size: 1rem;
}
.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}


/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* --- Contact --- */
.contact-wrapper { align-items: stretch; }

.contact-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.c-icon { font-size: 1.5rem; }

.contact-map-placeholder {
    background: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    min-height: 400px;
    background-image: linear-gradient(135deg, #0F3D2E, #14523E);
}

.map-content { padding: 2rem; }
/* Ensure map text is white */
.map-content p { color: rgba(255,255,255,0.9); } 


/* --- Footer --- */
.footer {
    background: #0a291f;
    color: white;
    padding: 5rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer h4 { margin-bottom: 1.5rem; color: var(--secondary-color); }
.footer ul li { margin-bottom: 0.8rem; }
.footer a:hover { color: var(--secondary-color); padding-left: 5px; }
.footer p { color: rgba(255,255,255,0.7); } /* Footer text dimmed */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
}

.legal-text { margin-top: 1rem; font-size: 0.8rem; }

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    /* Switch split layouts to single column on mobile */
    .split-layout { grid-template-columns: 1fr; gap: 2rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
    }
    .mobile-toggle span {
        width: 30px;
        height: 2px;
        background: var(--white);
        transition: 0.3s;
    }
    #navbar.scrolled .mobile-toggle span { background: var(--primary-color); }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: 0.4s;
    }

    .nav-menu.active { transform: translateY(0); }
    .nav-links { flex-direction: column; text-align: center; }
    .nav-links a { color: var(--text-dark); }
}

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .btn-group { flex-direction: column; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}