/* Enhanced Professional Blue Travel Theme */
:root {
    --primary: #0056b3;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

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

.navbar-light .navbar-brand {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.75rem;
}

.navbar-light .nav-link {
    color: var(--gray-700) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link:focus {
    color: var(--primary) !important;
}

/* Buttons */
.btn {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.625rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

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

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

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-title {
    color: var(--primary);
    font-weight: 600;
}

/* Carousel */
.carousel-item {
    height: 70vh;
}

.carousel-item::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
    bottom: 20%;
    z-index: 10;
}

.carousel-caption h2 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Core Functions */
.core-functions .icon-box {
    padding: 30px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
    text-align: center;
}

.core-functions .icon-box::before {
    content: '';
    position: absolute;
    background: #e1f0fa;
    right: -60px;
    top: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    transition: all 0.3s;
    z-index: -1;
}

.core-functions .icon-box:hover::before {
    background: var(--primary);
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0px;
}

.core-functions .icon {
    margin: 0 auto 20px auto;
    padding-top: 10px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    background: var(--primary);
    transition: all 0.3s ease-in-out;
}

.core-functions .icon i {
    font-size: 36px;
    line-height: 1;
    color: #fff;
}

.core-functions .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.core-functions .title a {
    color: #111;
}

.core-functions .description {
    font-size: 15px;
    line-height: 28px;
    margin-bottom: 0;
}

.core-functions .icon-box:hover .title a, .core-functions .icon-box:hover .description {
    color: #fff;
}

.core-functions .icon-box:hover .icon {
    background: #fff;
}

.core-functions .icon-box:hover .icon i {
    color: var(--primary);
}

/* Latest News */
.latest-news .card {
    border: 1px solid var(--gray-200);
}

.latest-news .card-title {
    font-size: 1rem;
    font-weight: 600;
}

.latest-news .card-text {
    font-size: 0.875rem;
}

/* Footer */
footer {
    background-color: var(--gray-800);
    color: var(--gray-300);
    padding: 3rem 0;
}

footer a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
}

footer .footer-heading {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

footer .footer-link {
    display: block;
    margin-bottom: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

/*sliders*/
.custom-hero-carousel {
    position: relative;
    height: 60vh;
    overflow: hidden;
    background: url('../assets/carousels/banner.png') no-repeat center center;
    background-size: cover;
}
.custom-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.custom-carousel-item.custom-active {
    opacity: 1;
}
.custom-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.custom-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 70%);
    transition: opacity 0.3s ease-in-out;
}
.custom-hero-carousel:hover .custom-carousel-overlay {
    opacity: 0;
}
.custom-carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 80%;
    max-width: 800px;
    padding: 2rem;
}
.custom-carousel-caption h2 {
    color: #ffffff;
    border-bottom: #ffff06 solid 2px;
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.custom-carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}
.custom-carousel-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    text-decoration: none;
    background-color: white;
    color: black;
    border-radius: 50px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s, all 0.3s ease;
}
.custom-carousel-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.custom-carousel-item.custom-active .custom-carousel-caption h2,
.custom-carousel-item.custom-active .custom-carousel-caption p,
.custom-carousel-item.custom-active .custom-carousel-btn {
    opacity: 1;
    transform: translateY(0);
}
.custom-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}
.custom-carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}
.custom-carousel-control-prev {
    left: 20px;
}
.custom-carousel-control-next {
    right: 20px;
}
.custom-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}
.custom-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.custom-carousel-indicator.custom-active {
    background-color: white;
    transform: scale(1.2);
}

/*Top Bar*/
:root {
    --custom-primary-color: #2c3e50;
    --custom-secondary-color: #3498db;
    --custom-text-color: #ecf0f1;
    --custom-hover-color: #2980b9;
}

.custom-top-nav {
    background-color: var(--custom-primary-color);
    color: var(--custom-text-color);
    padding: 0.2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-nav-link {
    color: var(--custom-text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.custom-nav-link:hover {
    color: var(--custom-secondary-color);
}

.custom-nav-link i {
    margin-right: 0.5rem;
}

.custom-search-container {
    position: relative;
}

.custom-search-icon {
    color: var(--custom-text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.custom-search-icon:hover {
    color: var(--custom-secondary-color);
}

.custom-search-form {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    display: none;
    padding-top: 10px;
    z-index: 1000;
}

.custom-search-input {
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.custom-search-input:focus {
    box-shadow: 0 0 0 2px var(--custom-secondary-color);
}

.custom-search-button {
    background-color: var(--custom-secondary-color);
    color: var(--custom-text-color);
    border: none;
    border-radius: 0 4px 4px 0;
    transition: background-color 0.3s ease;
}

.custom-search-button:hover {
    background-color: var(--custom-hover-color);
}

.custom-cart-icon {
    color: var(--custom-text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.custom-cart-icon:hover {
    color: var(--custom-secondary-color);
    transform: scale(1.1);
}

.custom-cart-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.custom-cart-wrapper:hover {
    transform: translateY(-1px);
}

.custom-cart-icon {
    position: relative;
    font-size: 1.5rem;
    color: #ffecec;
    transition: color 0.2s ease;
}

.custom-cart-wrapper:hover .custom-cart-icon {
    color: #3498db;
}

.custom-cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: #e74c3c;
    color: white;
    border-radius: 12px;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.custom-cart-wrapper:hover .custom-cart-badge {
    transform: scale(1.1);
    background-color: #c0392b;
}

/*Header title*/
.bg-flag {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-image: url('/assets/images/flag_header.png');
    background-size: cover;
    background-position: center top -200px;
}

.vintage-gold-text {
    background: linear-gradient(to right, #D4AF37, #FFF2CC, #E6C460, #FFF8E5, #C5A028);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    font-size: 48px;
    /*font-family: 'Georgia', serif;*/
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    letter-spacing: 1px;
}

.vintage-gold-text::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    top: 2px;
    color: rgba(0,0,0,0.3);
    z-index: -1;
}

.dark-gold-text {
    background: #e5e5da;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    font-size: 48px;
}

.dark-gold-text::before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    top: -2px;
    color: rgba(255, 255, 254, 0.1);
    z-index: -1;
}

/*Payment card*/
.success-alert {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.success-alert .alert-heading {
    color: #28a745;
}
.success-alert hr {
    border-top-color: #b1dfbb;
}
.success-alert .btn-close {
    color: #155724;
}
.control-number {
    font-size: 1.2em;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px dashed #28a745;
    display: inline-block;
    margin: 10px auto;
}
.payment-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #28a745;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.payment-link:hover {
    background-color: #218838;
    color: #ffffff;
}

