/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #0A192F; 
    --accent-color: #D4AF37;   
    --text-light: #F8F9FA;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background-color: var(--text-light); color: #333; overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }

.btn-primary { background-color: var(--accent-color); color: var(--primary-color); padding: 10px 20px; text-decoration: none; border-radius: 4px; font-weight: 600; display: inline-block; transition: background 0.3s ease; }
.btn-primary:hover { background-color: #bfa030; }
.btn-secondary { background-color: transparent; color: var(--accent-color); padding: 10px 20px; text-decoration: none; border: 2px solid var(--accent-color); border-radius: 4px; font-weight: 600; display: inline-block; transition: all 0.3s ease; }
.btn-secondary:hover { background-color: var(--accent-color); color: var(--primary-color); }

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.utility-bar { background-color: #050d18; color: #ccc; font-size: 0.8rem; padding: 8px 0; }
.utility-flex { display: flex; justify-content: space-between; align-items: center; }
.utility-right a, .utility-left a { color: #ccc; text-decoration: none; margin-left: 20px; transition: color 0.3s ease; }
.utility-right a:hover { color: var(--accent-color); }
.login-btn { border: 1px solid var(--accent-color); padding: 3px 12px; border-radius: 3px; color: var(--accent-color) !important; }

.main-nav { background-color: #ffffff; padding: 15px 0; box-shadow: 0 4px 10px rgba(0,0,0,0.05); position: relative; z-index: 1000; }
.logo h2 { font-size: 1.8rem; font-weight: 600; color: var(--primary-color); }
.logo span { font-weight: 300; }

.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--primary-color); font-weight: 500; font-size: 0.9rem; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--accent-color); }

/* =========================================
   DESKTOP DROPDOWN MENU
   ========================================= */
.has-dropdown { position: relative; }
.nav-item-flex { display: flex; align-items: center; gap: 5px; }
.caret { font-size: 0.7rem; transition: transform 0.3s ease; display: inline-block; cursor: pointer; color: var(--primary-color); }

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top: 3px solid var(--accent-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
    list-style: none;
    text-align: left;
}

.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown li { border-bottom: 1px solid #f5f5f5; width: 100%; }
.dropdown li:last-child { border-bottom: none; }
.dropdown a { display: block !important; padding: 15px 20px !important; color: var(--primary-color) !important; font-size: 0.9rem !important; transition: all 0.3s ease; }
.dropdown a:hover { background-color: #f8f9fa; color: var(--accent-color) !important; padding-left: 25px !important; }

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-section { position: relative; height: 80vh; min-height: 500px; overflow: hidden; background-color: var(--primary-color); }
.slider-container { width: 100%; height: 100%; position: relative; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1; }
.slide.active { opacity: 1; z-index: 2; }
.hero-background { width: 100%; height: 100%; background-size: cover; background-position: center; transform: scale(1.1); transition: transform 8s ease-out; }
.slide.active .hero-background { transform: scale(1); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(10,25,47,0.9) 0%, rgba(10,25,47,0.4) 100%); }
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: left; width: 90%; color: #fff; z-index: 3; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 15px; }
.hero-content h1 span { color: var(--accent-color); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; line-height: 1.6; }
.slider-controls { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); z-index: 10; padding: 0 5%; pointer-events: none; }
.slide-arrow { background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 2rem; padding: 10px 20px; cursor: pointer; pointer-events: auto; transition: background 0.3s; border-radius: 4px; }
.slide-arrow:hover { background: var(--accent-color); color: var(--primary-color); }
.slider-dots { position: absolute; bottom: 30px; width: 100%; text-align: center; z-index: 10; }
.dot { display: inline-block; width: 12px; height: 12px; margin: 0 5px; background-color: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active, .dot:hover { background-color: var(--accent-color); transform: scale(1.2); }

/* =========================================
   INNER PAGE HEADERS (FIX)
   ========================================= */
.inner-page-header {
    padding: 120px 0 80px; /* Ensures consistent vertical spacing */
    color: #ffffff;
}

.inner-page-header h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 15px;
}

.inner-page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    line-height: 1.6;
}


/* =========================================
   CARDS & GRIDS
   ========================================= */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.service-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.4s ease, box-shadow 0.4s ease; text-align: left; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.card-img-wrapper { width: 100%; height: 220px; overflow: hidden; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .card-img-wrapper img { transform: scale(1.08); }
.card-content { padding: 30px; }
.card-content h3 { color: var(--primary-color); font-size: 1.5rem; margin-bottom: 15px; }
.card-content p { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }
.card-link { color: var(--accent-color); text-decoration: none; font-weight: 600; font-size: 0.9rem; }

/* =========================================
   SCROLL REVEAL (SAFE MODE OPACITY 1)
   ========================================= */
.reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
.mobile-menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; cursor: pointer; z-index: 101; }
.mobile-menu-toggle span { display: block; height: 3px; width: 100%; background-color: var(--primary-color); border-radius: 3px; transition: all 0.3s ease; }

@media (max-width: 992px) {
    .nav-links { gap: 15px; }
    .nav-links a { font-size: 0.8rem; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%; background-color: #ffffff;
        flex-direction: column; gap: 0; max-height: 0; overflow: hidden;
        transition: max-height 0.4s ease-in-out; box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        max-height: 1500px; /* Fixes dropdown cutoff */
        overflow-y: auto;
    }
    
    .nav-links li { width: 100%; border-top: 1px solid #f0f0f0; }
    .nav-links > li > a { display: block; padding: 15px 20px; font-size: 0.95rem; }

    /* Mobile Dropdown Overrides */
    .nav-item-flex { justify-content: space-between; padding: 0 20px; width: 100%; border-top: 1px solid #eee; }
    .nav-item-flex a { padding: 15px 0 !important; width: 80%; text-align: left; }
    .caret { padding: 10px 15px; font-size: 1.2rem; background: rgba(0,0,0,0.03); border-radius: 4px; margin-top: 5px; }
    
    .dropdown { position: static; box-shadow: none; border-top: none; background: #f8f9fa; opacity: 1; visibility: visible; transform: none; display: none; width: 100%; }
    .dropdown.active { display: block; }
    .dropdown a { padding: 12px 40px !important; font-size: 0.85rem !important; text-align: left; }

    /* Global scaling */
    .hero-content h1 { font-size: 2.2rem; }
    .slider-controls { display: none; }
    .utility-flex { flex-direction: column; gap: 12px; text-align: center; }
    .utility-bar a { margin: 0 10px; }
}

/* =========================================
   GOOGLE TRANSLATE NATIVE STYLING
   ========================================= */
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: 1px solid var(--accent-color) !important;
    padding: 3px 8px !important;
    border-radius: 3px;
}
.goog-te-gadget-simple .goog-te-menu-value span {
    color: var(--accent-color) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.8rem;
}
.goog-te-gadget-simple .goog-te-menu-value span:hover {
    text-decoration: none !important;
}
