/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    --primary-color: #1a2332; /* Deep architectural blue/charcoal */
    --secondary-color: #c9a050; /* Elegant gold/bronze accent */
    --text-color: #4a4a4a;
    --heading-color: #111;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    
    --font-heading: 'Josefin Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.2;
    font-weight: 600;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* ==========================================================================
   Typography & Buttons
   ========================================================================== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    display: inline-block;
    padding: 13px 28px;
    background-color: transparent;
    color: var(--primary-color);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
}

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

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-top: 15px;
}

.link-arrow i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.link-arrow:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(26, 35, 50, 1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
    letter-spacing: 1px;
}

.logo h1 span {
    font-weight: 300;
    color: var(--secondary-color);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 15px 0;
    display: block;
}

.nav-links a:not(.btn-outline)::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-outline):hover::after {
    width: 100%;
}

/* Two-Column Dropdown Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(20px);
    background-color: var(--white);
    min-width: 600px; /* Wider for two columns */
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top: 4px solid var(--secondary-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    color: var(--primary-color);
    padding: 10px 15px;
    text-transform: none;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.4;
    border-radius: 4px;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

.dropdown-menu li a::after {
    display: none;
}

.nav-cta {
    margin-left: 30px;
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}


/* ==========================================================================
   Inner Page Layout (Alternating)
   ========================================================================== */
.service-details-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 50px;
}

.service-details-grid.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-image {
    flex: 1;
    position: relative;
}

.service-image img {
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    height: 500px;
    object-fit: cover;
    background-color: #eee;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--secondary-color);
    z-index: -1;
    border-radius: 4px;
}

.service-details-grid.reverse .service-image::after {
    left: -20px;
    right: 20px;
}

.service-content {
    max-width: 1200px; /* Wider for 2 columns */
}


/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    background-color: var(--primary-color); /* Fallback */
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 35, 50, 0.8) 0%, rgba(26, 35, 50, 0) 60%);
}

.slide-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 900px;
    margin-left: 0;
    text-align: left;
    padding-left: 40px;
}

.slide-content h2 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 20;
    display: flex;
    gap: 15px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    min-height: 400px;
    object-fit: cover;
    background-color: #ddd; /* Placeholder color */
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services .section-header {
    max-width: 700px;
    margin-bottom: 60px;
}

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

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom-color: var(--secondary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
}

/* ==========================================================================
   Why Us / Parallax Section
   ========================================================================== */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-color: var(--primary-color); /* Fallback */
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 35, 50, 0.85);
}

.text-light h2, .text-light p {
    color: var(--white);
}

.text-light .section-title::after {
    background-color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(201, 160, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background-color: var(--secondary-color);
    color: var(--white);
}

.feature-item h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* ==========================================================================
   Contact CTA Section
   ========================================================================== */
.contact-cta {
    background-color: var(--white);
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-buttons .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: #111823;
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-brand h3 span {
    color: var(--secondary-color);
    font-weight: 300;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-bottom {
    background-color: #0a0e14;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.animate-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.8s forwards;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s; }

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================================================
   Inner Page Styles
   ========================================================================== */
.page-header {
    height: 40vh;
    min-height: 350px;
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* For fixed header */
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 35, 50, 0.85);
}

.page-header h1 {
    color: var(--white);
    position: relative;
    z-index: 10;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.service-details {
    padding: 100px 0;
    background-color: var(--white);
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
}

.service-content h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 2.2rem;
}

.service-content p {
    margin-bottom: 25px;
}

.service-content ul {
    margin: 40px 0;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 4px;
    border-left: 4px solid var(--secondary-color);
}

.service-content li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.service-content li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info-box {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px;
    border-radius: 4px;
}

.contact-info-box h3 {
    color: var(--white);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.info-item h5 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 4px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--heading-color);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(201, 160, 80, 0.1);
}

.map-container {
    margin-top: 60px;
    height: 450px;
    border-radius: 4px;
    overflow: hidden;
    filter: grayscale(1);
    transition: var(--transition);
}

.map-container:hover {
    filter: grayscale(0);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        left: 20px;
        bottom: -20px;
    }
    
    .slide-content h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add mobile menu logic in JS if needed */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}
