/* --- Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: rgb(212, 215, 193); /* Background color preserved */
    color: #333;
    line-height: 1.6;
}

/* --- Header / Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: transparent; /* No background initially */
    z-index: 1000;
    transition: background 0.4s ease;
}

/* This class is added by JS when scrolling */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.navbar nav ul li a:hover {
    color: #ffd700;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 18px;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* --- Hero Section & Slideshow --- */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 85vh; /* Takes up 85% of the screen height */
    overflow: hidden;
    /* Opacity is controlled by JS for fade-out effect */
    transition: opacity 0.1s linear; 
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.hero-content h1 {
    font-size: 60px;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* --- Main Content Layout --- */
.main-content-wrapper {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Text Sections (Services/About) --- */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 60px; /* Vertical spacing between paragraphs */
    margin-bottom: 80px;
    text-align: center;
}

.text-block {
    max-width: 800px;
    margin: 0 auto;
}

.text-block h2 {
    font-size: 36px; /* Bold headings */
    margin-bottom: 25px;
    color: #1a1a1a;
    font-weight: 800;
    text-transform: uppercase;
}

.text-block p {
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.8;
}

.highlight {
    color: #8b0000;
    font-weight: bold;
}

/* --- Team Section --- */
.team-section {
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background: white;
    width: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.card-content p {
    font-size: 14px;
    color: #666;
}

/* --- Contact Section --- */
.contact-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-icons {
    margin-top: 20px;
}

.contact-icons a {
    color: #333;
    font-size: 24px;
    margin: 0 15px;
    transition: color 0.3s;
}

.contact-icons a:hover {
    color: #8b0000;
}

/* --- Footer --- */
.site-footer {
    background-color: #111;
    color: #fff;
    padding: 40px 20px 20px; /* Reduced height */
    font-size: 14px;
}

.footer-top {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 24px;
    margin-bottom: 5px;
}

.brand-sub {
    color: #888;
    margin-bottom: 20px;
}

.footer-line {
    width: 30px;
    height: 2px;
    background: #444;
    border: none;
    margin: 10px 0 15px 0;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-partners {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

.back-to-top:hover {
    background: #8b0000;
}

/* --- Animations for JS --- */
.hidden-element {
    opacity: 0;
    transform: translateY(60px); /* Start lower down */
    transition: all 0.8s ease-out;
}

.show-element {
    opacity: 1;
    transform: translateY(0); /* Slide to normal position */
}
/* ==========================================
   1. BASE / MOBILE STYLES (Default)
   Targets: All devices, specifically Small Smartphones
   ========================================== */
body {
    font-size: 16px;
    line-height: 1.6;
}

/* --- Mobile Navigation Logic --- */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 25px;
        background: rgba(0, 0, 0, 0.9); /* Force background on mobile for visibility */
    }

    /* Hide the standard ul and make it a vertical drawer */
    .navbar nav ul {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen to the right */
        height: 100vh;
        width: 70%;
        background: #111;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        gap: 40px;
    }

    /* When the menu is "open" */
    .navbar nav ul.active {
        right: 0;
    }

    /* Hamburger Menu Icon */
    .menu-toggle {
        display: block;
        cursor: pointer;
        color: white;
        font-size: 28px;
        z-index: 1001;
    }

    .social-icons {
        display: none; /* Hide social icons on small screens to save space */
    }
}

/* Hide toggle on desktop */
@media screen and (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

/* ==========================================
   2. SMALL DEVICES / LARGE PHONES
   Targets: Devices wider than 576px (Landscape phones)
   ========================================== */
@media screen and (min-width: 400px) {
    /* Your code for large phones here */
}

@media screen and (min-width: 576px) {
    /* Your code for large phones here */
}

/* ==========================================
   3. TABLETS
   Targets: Devices wider than 768px (iPads, Tablets)
   ========================================== */
@media screen and (min-width: 768px) {
    /* Your code for tablets here */
}

/* ==========================================
   4. LAPTOPS & DESKTOPS
   Targets: Devices wider than 1024px (Laptops, Small Monitors)
   ========================================== */
@media screen and (min-width: 1024px) {
    /* Your code for computers here */
}

/* ==========================================
   5. LARGE SCREENS
   Targets: Devices wider than 1200px (Large Desktop Monitors)
   ========================================== */
@media screen and (min-width: 1200px) {
    /* Your code for extra wide screens here */
}