/* Custom CSS for ALKHALIFAH TOURS & TRAVEL */

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.7;
}

/* Add scroll-padding to prevent section titles from being hidden under fixed header */
html {
    scroll-padding-top: 100px; /* Adjust based on your header height */
    scroll-behavior: smooth;
}

/* Primary Colors */
.bg-primary-gold {
    background-color: #EBB734 !important;
}

.text-primary-gold {
    color: #EBB734 !important;
}

.btn-primary {
    background-color: #EBB734;
    border-color: #EBB734;
    color: #000000; /* Black text for better contrast on gold */
}

.btn-primary:hover {
    background-color: #d4a02a; /* Darker gold on hover */
    border-color: #d4a02a;
    color: #000000;
}

/* Header */
header.bg-dark {
    background-color: #000000 !important; /* Black background */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .navbar-brand img {
    transition: all 0.3s ease;
}

header .navbar-brand img:hover {
    transform: scale(1.05);
}

header .nav-link {
    color: #EBB734 !important; /* Gold links */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    transition: all 0.3s ease;
}

header .nav-link:hover {
    color: #fff !important; /* White on hover */
    background-color: rgba(235, 183, 52, 0.1);
    border-bottom: 2px solid #EBB734;
}

/* Sections */
section {
    padding: 100px 0 80px; /* Increased top padding to ensure visibility below fixed header */
    position: relative;
    scroll-margin-top: 100px; /* Alternative to scroll-padding for broader support */
}

section h2 {
    color: #000000; /* Black headings */
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    /* display: inline-block; */
    padding-bottom: 10px;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    width: 150px;
    margin: 0 auto;
    background-color: #EBB734;
}

/* Home Section */
#home {
    color: #fff; /* White text on background image */
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#home:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

#home .container {
    position: relative;
    z-index: 2;
    background-color: rgba(0,0,0,0.6);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(235, 183, 52, 0.3);
}

#home h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #EBB734; /* Gold heading */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    max-width: 500px;
    margin: auto;
}

#home .lead {
    font-size: 1.8rem;
    color: #f8f9fa; /* Light color for tagline */
    margin-bottom: 30px;
    font-weight: 300;
}

#home .btn-primary {
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(235, 183, 52, 0.3);
}

#home .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(235, 183, 52, 0.4);
}

/* About Us Section */
#about {
    background-color: #f9f9f9;
}

#about p {
    line-height: 1.9;
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Packages Section */
#packages {
    background-image: linear-gradient(to bottom, #f9f9f9, #fff);
}

#packages .card {
    margin-bottom: 30px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#packages .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

#packages .card-title {
    color: #000000;
    font-weight: 700;
}

#packages .package-price {
    color: #EBB734;
    font-weight: bold;
    font-size: 1.3rem;
}

.hotel-rating-stars{
    color: #EBB734;
}

.package-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.package-table th {
    background-color: #000000;
    color: #EBB734;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.package-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.package-table tr:hover td {
    background-color: rgba(235, 183, 52, 0.1);
}

.package-table .highlight {
    background-color: #f8f8f8;
}

.package-table .price {
    font-weight: bold;
    color: #EBB734;
}

.package-type {
    font-weight: bold;
}

/* Registration Form */
#registration {
    background-color: #fff;
    position: relative;
}

#registration .container {
    position: relative;
    z-index: 2;
}

#registration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background-color: #f9f9f9;
    z-index: 1;
}

#registration label {
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
}

#registration .form-control {
    border-radius: 6px;
    border: 2px solid #eaeaea;
    padding: 12px;
    height: auto;
    transition: all 0.3s ease;
}

#registration .form-control:focus {
    border-color: #EBB734;
    box-shadow: 0 0 0 0.2rem rgba(235, 183, 52, 0.25);
}

#registration form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #eaeaea;
}

#registration button[type="submit"] {
    padding: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#registration button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(235, 183, 52, 0.3);
}

/* Contact Section */
#contact {
    background-color: #f9f9f9;
}

#contact .contact-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

#contact .contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#contact h4 {
    color: #000000;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #EBB734;
    display: inline-block;
}

#contact a {
    color: #EBB734;
    transition: all 0.3s ease;
}

#contact a:hover {
    color: #d4a02a;
    text-decoration: none;
}

#contact .contact-icon {
    color: #EBB734;
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

/* Footer */
footer.bg-dark {
    background-color: #000000 !important; /* Black background */
    color: #EBB734; /* Gold text */
    padding: 30px 0;
}

footer p {
    margin-bottom: 0.5rem;
}

footer .social-icons {
    margin-top: 15px;
}

footer .social-icons a {
    color: #EBB734;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

footer .social-icons a:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* Animated elements */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 992px) {
    header .nav {
        margin-top: 15px;
    }
    #home h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    header .nav {
        flex-direction: column;
        align-items: center;
    }
    header .nav-item {
        margin-bottom: 0.5rem;
    }
    #home h1 {
        font-size: 2.3rem;
    }
    #home .lead {
        font-size: 1.1rem;
    }
    section {
        padding: 60px 0;
    }
    .package-table {
        font-size: 0.85rem;
    }
    .package-table th, .package-table td {
        padding: 10px 5px;
    }
}

@media (max-width: 576px) {
    #home h1 {
        font-size: 1.8rem;
    }
    #home .container {
        padding: 25px;
    }
    .package-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
