/* =================================== */
/* --- 1. BASIC & GENERAL STYLES --- */
/* =================================== */

/* --- Basic Setup --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* --- General Section & Container Styling --- */
.content-section,
.content-section-dark {
    padding: 80px 5%;
    box-sizing: border-box; /* The permanent fix for overflow */
}

.content-section-dark {
    background-color: #f8f9fa;
}

.container {
    /* width: 100%; */
    /* max-width: 1200px; */
    /* margin: 0 auto; */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    /* width: 80px; */
    height: 4px;
    background-color: #ff8c00;
}

.btn, .cta-button {
    display: inline-block;
    background-color: #e67e22;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover, .cta-button:hover {
    background-color: #d35400;
    transform: translateY(-3px);
}


/* =================================== */
/* --- 2. HEADER & NAVIGATION --- */
/* =================================== */
header {
    background-color: #ffffff;
    border-bottom: 3px solid #ff8c00;
    padding: 15px 5%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 60px;
}

.logo span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ff8c00;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #e67e22;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover {
    color: #d35400;
}

.nav-links a.active {
    color: #d35400;
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff8c00;
}

.mobile-menu-button {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}


/* =================================== */
/* --- 3. HERO SECTION --- */
/* =================================== */
.hero {
    height: 80vh;
    color: #fff;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-content .tagline {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 2rem;
}


/* =================================== */
/* --- 4. CONTACT PAGE STYLES --- */
/* =================================== */
#contact {
  padding: 80px 5%;
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
  width: 70px;
  height: 3px;
  background-color: #ff7b00;
  border-radius: 3px;
}

/* --- Wrapper --- */
.contact-wrapper {
  display: flex;
  /* gap: 20px; */
  flex-wrap: wrap;
  justify-content: space-between;
}

/* --- Contact Info --- */
.contact-info {
  flex: 1 1 45%;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: #ff7b00;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 25px;
}

.contact-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.contact-details-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #333;
}

.contact-details-list i {
  color: #ff7b00;
  margin-right: 12px;
  font-size: 1.2rem;
}

.contact-map iframe {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  border: none;
}

/* --- Contact Form --- */
.contact-form {
  flex: 1 1 45%;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #ff7b00;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff7b00;
}

.contact-form button.btn {
  background: #ff7b00;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.3s ease;
  cursor: pointer;
}

.contact-form button.btn:hover {
  background: #e66a00;
  transform: translateY(-2px);
}


/* =================================== */
/* --- 5. FOOTER --- */
/* =================================== */
.site-footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 60px 0 20px 0;
    font-size: 0.95rem;
    border-bottom: 3px solid #ff8c00;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column {
    padding: 0 10px;
}

.footer-column h3 {
    font-size: 1.2rem;
    color: #ff8c00;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 2px;
    background-color: #ff8c00;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 60px;
}

.footer-tagline {
    line-height: 1.7;
}

.footer-links,
.contact-details,
.opening-hours {
    list-style: none;
    padding: 0;
}

.footer-links a,
.contact-details span,
.opening-hours li {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ff8c00;
    padding-left: 5px;
}

.contact-details li,
.opening-hours li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-details i {
    color: #ff8c00;
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 4px;
}

.social-links {
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #ff8c00;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e67e22;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

#backToTop:hover {
    background-color: #d35400;
    transform: translateY(-3px);
}


/* =========================================== */
/* --- 6. MAIN RESPONSIVE STYLES --- */
/* =========================================== */
@media (max-width: 992px) {

    /* --- General Spacing & Typography --- */
    body {
        font-size: 15px;
    }
    .content-section,
    .content-section-dark {
        padding: 60px 2%;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    /* --- Header & Navigation --- */
    .nav-links {
        display: none;
        position: absolute;
        top: 93px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 20px;
    }
    .mobile-menu-button {
        display: block;
    }

    /* --- Hero Section --- */
    .hero {
        height: 70vh;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content .tagline {
        font-size: 1.2rem;
    }

    /* --- Contact Page Section --- */
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack info and form */
    }
    .contact-form {
        margin-top: 40px;
    }

    /* --- Footer --- */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 30px;
    }
    /* --- Footer Responsiveness --- */
    @media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    /* --- ADD THIS NEW RULE --- */
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-details li,
    .opening-hours li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 20px;
    }

    .contact-details li,
    .opening-hours li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
}
    
    .contact-details li, .opening-hours li {
        justify-content: flex-start;
    }
    .footer-logo, .social-links {
        justify-content: flex-start;
    }
}

/* --- Adjustments for very small screens --- */
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
}