@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

:root {
    --primary-color: #003366; /* Deep Blue */
    --secondary-color: #6c757d;
    --accent-color: #D4AF37; /* Gold */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #212529;
    --text-light: #6c757d;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --card-hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 2.5rem;
}

/* --- Header --- */
.fixed-top {
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
    padding: 15px 0;
}
.fixed-top.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}
.navbar-brand img {
    height: 50px;
    transition: height 0.3s ease;
}
.fixed-top.scrolled .navbar-brand img {
    height: 40px;
}
.navbar-nav .nav-link {
    color: white; /* Default for transparent header */
    font-weight: 600;
    margin: 0 15px;
    transition: color 0.3s ease;
}
.fixed-top.scrolled .navbar-nav .nav-link {
    color: white; /* Text color when scrolled */
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}
.navbar .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}
.navbar .btn-primary:hover {
    background-color: #c09a2e;
    border-color: #c09a2e;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero-section {
    height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}
.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(0, 51, 102, 0.7), rgba(0, 0, 0, 0.4)); /* Deep blue gradient */
    z-index: 1;
}
.hero-content {
    z-index: 2;
}
.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}
.hero-content .btn {
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}
.hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* --- Features Section --- */
.feature-box-new {
    padding: 30px;
    text-align: center;
    border-radius: 20px; /* Curved box for the whole feature box */
    background-color: var(--bg-white); /* White background for the box */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Shadow for the whole box */
    transition: all 0.4s ease;
}
.feature-box-new:hover {
    transform: translateY(-10px); /* Lift on hover */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2); /* Enhanced shadow on hover */
}
.feature-box-new .icon-container {
    width: 90px; /* Slightly larger */
    height: 90px; /* Slightly larger */
    border-radius: 50%; /* Keep icon itself circular */
    background: linear-gradient(45deg, #FFA07A, #FF6347); /* Orange gradient */
    color: white; /* White icon */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px; /* Larger icon */
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(255, 99, 71, 0.3), 0 0 20px rgba(255, 99, 71, 0.2); /* Shadow and glow */
    transition: all 0.4s ease;
}
.feature-box-new h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

/* --- Alternating BG --- */
.bg-custom-light {
    background-color: #fdfdfd;
}

/* --- About Us Section --- */
.about-us-image-wrapper {
    height: 400px; /* Fixed height for the image container */
}
.about-us-image-wrapper img {
    transition: transform 0.5s ease;
}
.about-us-image-wrapper:hover img {
    transform: scale(1.05); /* Slight zoom on hover */
}
.about-us-image-wrapper .overlay {
    background-color: rgba(0, 51, 102, 0.2); /* Subtle overlay */
    transition: background-color 0.3s ease;
}
.about-us-image-wrapper:hover .overlay {
    background-color: rgba(0, 51, 102, 0.4); /* Darker overlay on hover */
}

.section-title.about-us-title {
    color: var(--primary-color); /* Use primary color for heading */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Subtle text shadow */
    letter-spacing: 1px; /* Add some letter spacing */
}

/* --- Enhanced Card Styling --- */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover, .card.card-hover-active {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Animation delay handling via CSS instead of inline styles */
[data-animation-delay] {
    animation-delay: attr(data-animation-delay);
}

/* Image visibility classes */
.img-visible {
    opacity: 1 !important;
    transform: scale(1) !important;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Badge hover effects */
.badge-hover {
    transform: scale(1.1) rotate(-2deg) !important;
}

/* Pulse animation for offer badges */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Star hover effect */
.star-hover {
    color: #ffc107 !important;
    transform: scale(1.2) !important;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Amenity badge hover effect */
.amenity-hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0,51,102,0.2) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Parallax effect for hero section */
.parallax-enabled {
    background-attachment: fixed;
    transform: translateZ(0);
}

.card-img-top {
    transition: all 0.4s ease;
    position: relative;
    opacity: 1 !important; /* Ensure images are always visible */
    transform: scale(1) !important; /* Ensure images are properly sized */
}

.card:hover .card-img-top {
    transform: scale(1.05) !important;
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.card-body {
    position: relative;
    z-index: 2;
}

.card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004080 100%);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 25px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.card .btn-primary:hover::before {
    left: 100%;
}

.card .btn-primary:hover {
    background: linear-gradient(135deg, #002244 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,51,102,0.3);
}

/* --- Package Card Specific Styling --- */
.package-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0,51,102,0.05);
}

/* VIP Package Card Styling */
.package-card-vip {
    background: linear-gradient(145deg, #ff8c00 0%, #ff7000 100%); /* Orange background */
    border: 3px solid #003366; /* Blue border */
    color: white; /* White text */
}

.package-card-vip .card-title,
.package-card-vip .feature-label,
.package-card-vip .text-primary,
.package-card-vip .text-muted,
.package-card-vip small {
    color: white !important; /* White text for all elements */
}

.package-card-vip .package-features {
    background: rgba(255, 255, 255, 0.1); /* Lighter background for features list */
}

.package-card-vip .package-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.package-card-vip .card-footer {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.package-card-vip i {
    color: white !important; /* White icons */
}

.package-card .card-img-top {
    height: 250px;
    object-fit: cover;
    position: relative;
}

.package-card .card-img-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-card:hover .card-img-top::after {
    opacity: 1;
}

.package-features {
    background: rgba(0,51,102,0.02);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
}

.package-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,51,102,0.1);
    transition: all 0.3s ease;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li:hover {
    background: rgba(0,51,102,0.05);
    padding-left: 10px;
    border-radius: 8px;
}

.package-features i {
    width: 20px;
    text-align: center;
}

/* --- Hotel Card Specific Styling --- */
.hotel-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0,51,102,0.05);
}

.hotel-card .card-img-top {
    height: 250px;
    object-fit: cover;
    position: relative;
}

.hotel-card .card-body {
    padding: 25px;
}

.hotel-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.hotel-rating .stars {
    color: var(--accent-color);
    margin-right: 10px;
}

.hotel-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.hotel-location i {
    margin-right: 8px;
    color: var(--primary-color);
}

.hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.amenity-badge {
    background: rgba(0,51,102,0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- Info Badge (Replaces Price Badge) --- */
.info-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004080 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,51,102,0.3);
    z-index: 3;
}

/* --- Special Offer Badge --- */
.offer-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(255,71,87,0.3);
    z-index: 3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}



/* --- Enhanced Card Layout --- */
.card-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-actions {
    margin-top: auto;
    padding-top: 20px;
}

/* --- Enhanced Hover Effects --- */
.card-enhanced {
    position: relative;
    overflow: hidden;
}

.card-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,51,102,0.05), rgba(212,175,55,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card-enhanced:hover::after {
    opacity: 1;
}

/* --- Additional Styling for Enhanced Cards --- */
.feature-label {
    color: var(--text-light);
    font-weight: 500;
}

.package-rating, .hotel-rating {
    padding: 10px;
    background: rgba(0,51,102,0.02);
    border-radius: 10px;
    border: 1px solid rgba(0,51,102,0.05);
}

.hotel-features .feature-item {
    padding: 15px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hotel-features .feature-item:hover {
    background: rgba(0,51,102,0.05);
    transform: translateY(-2px);
}

/* --- Responsive Design Improvements --- */
@media (max-width: 768px) {
    .package-features, .hotel-amenities {
        text-align: center;
    }
    
    .amenity-badge {
        margin-bottom: 8px;
        display: inline-block;
    }
    
    .card .btn-primary, .card .btn-success {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .card .btn-primary.me-2 {
        margin-right: 0 !important;
    }
    
    .info-badge, .offer-badge {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .hotel-features .row {
        margin: 0;
    }
    
    .hotel-features .col-4 {
        padding: 5px;
    }
    
    .feature-item i {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .card-body {
        padding: 20px !important;
    }
    
    .package-features li, .hotel-amenities {
        font-size: 0.9rem;
    }
    
    .floating-action {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

/* --- Loading Animation for Cards --- */
.fade-in-section {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Card Hover Glow Effect --- */
.card-enhanced:hover {
    box-shadow: 0 25px 50px rgba(0,51,102,0.15), 0 0 30px rgba(212,175,55,0.1);
}

/* --- Button Improvements --- */
.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40,167,69,0.3);
}

/* --- Enhanced Typography --- */
.card-title {
    background: linear-gradient(135deg, var(--primary-color), #004080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
}

/* --- Special Effects for Badges --- */
.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* --- Card Footer Styling --- */
.card-footer {
    background: linear-gradient(135deg, rgba(248,249,250,0.8) 0%, rgba(233,236,239,0.8) 100%);
    backdrop-filter: blur(10px);
}

/* --- Gallery Styling --- */
.gallery-item {
    overflow: hidden;
    border-radius: 15px;
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- Sticky Icons --- */
.sticky-icons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
}
.sticky-icon {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.sticky-icon:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.whatsapp-icon {
    background-color: #25D366;
}

/* --- Animation --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}
footer h5 {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 25px;
}
footer ul {
    padding: 0;
}
footer ul li {
    margin-bottom: 10px;
}
footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}
footer ul li a:hover {
    color: white;
}
footer .social-icons a {
    font-size: 24px;
    transition: transform 0.3s ease;
}
footer .social-icons a:hover {
    transform: translateY(-3px);
}

/* Mobile Navbar Toggler Icon Color */
.navbar-toggler {
    color: white; /* Make the toggler icon white */
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
