/* Travel Agency Management System - Main Stylesheet */
/* Color Scheme: Primary #B87333 (Copper), Secondary #122E5B (Navy Blue) */

:root {
    --primary-color: #B87333;
    --secondary-color: #122E5B;
    --primary-hover: #9A5F2A;
    --secondary-hover: #0D1F3F;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* Header Styles - Professional Topbar */
.topbar {
    background: linear-gradient(135deg, var(--secondary-color, #1a4d2e) 0%, var(--primary-color, #0f3a23) 100%);
    color: var(--white);
    padding: 6px 0;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1001;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.topbar-left {
    flex: 0 0 auto;
}

.topbar-right {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.topbar-welcome {
    display: flex;
    align-items: center;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.topbar-welcome i {
    color: var(--primary-gold, #D4AF37);
    font-size: 14px;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.topbar-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-1px);
}

.topbar-link i {
    font-size: 13px;
    flex-shrink: 0;
}

.topbar-link.topbar-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    color: #25D366;
}

.topbar-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .topbar {
        padding: 5px 0;
        font-size: 12px;
    }
    
    .topbar-welcome {
        font-size: 12px;
    }
    
    .topbar-link {
        padding: 3px 8px;
        gap: 5px;
    }
    
    .topbar-link i {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .topbar {
        padding: 5px 0;
        font-size: 11px;
    }
    
    .topbar-content {
        gap: 10px;
    }
    
    /* Hide welcome text on mobile */
    .topbar-welcome {
        display: none;
    }
    
    .topbar-right {
        justify-content: center;
        width: 100%;
    }
    
    .topbar-contacts {
        gap: 6px;
        width: 100%;
        justify-content: center;
    }
    
    .topbar-link {
        padding: 3px 6px;
        gap: 4px;
        font-size: 11px;
    }
    
    .topbar-link i {
        font-size: 12px;
    }
    
    /* Show only icons and numbers on mobile */
    .topbar-text {
        font-size: 11px;
    }
    
    .topbar-divider {
        height: 14px;
        margin: 0 2px;
    }
}

@media (max-width: 480px) {
    .topbar {
        padding: 4px 0;
    }
    
    .topbar-contacts {
        gap: 4px;
    }
    
    .topbar-link {
        padding: 2px 5px;
        gap: 3px;
    }
    
    .topbar-link i {
        font-size: 11px;
    }
    
    .topbar-text {
        font-size: 10px;
    }
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand img {
    height: 100px;
    width: 100px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1000;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(184, 115, 51, 0.05);
}

/* Dropdown & Navigation Styles - Moved to header.css */
/* All dropdown, navigation, and menu styles are now centralized in header.css for better maintainability */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 115, 51, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(18, 46, 91, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Package Cards */
.package-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
}

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

.package-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.package-card-body {
    padding: 20px;
}

.package-rating {
    color: #FFD700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-rating .rating-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.package-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.package-price {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 15px 0;
}

.package-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.package-nights-detail {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
    padding-top: 5px;
    border-top: 1px solid #f0f0f0;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--light-gold));
}

.footer::after {
    content: '☪';
    position: absolute;
    top: 20px;
    right: 50px;
    font-size: 150px;
    opacity: 0.05;
    pointer-events: none;
}

.footer-content {
    margin-bottom: 50px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-logo {
    max-height: 120px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    color: var(--light-gold);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--light-gold);
    padding-left: 8px;
}

.footer-links a i {
    color: var(--primary-gold);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item i {
    color: var(--light-gold);
    font-size: 1.2rem;
    width: 25px;
    margin-top: 3px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--light-gold);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.footer-social a:hover {
    border-color: var(--light-gold);
    transform: translateY(-5px);
}

.footer h4 {
    color: var(--light-gold);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 10px;
    display: flex;
    transition: all 0.3s;
}

.footer a:hover {
    color: var(--light-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.95rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--light-gold);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid var(--success);
}

.alert-error,
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid var(--danger);
}

/* Floating Action Buttons - Moved to floating-elements.css */
/* Old styles commented out - now using flexbox layout in floating-elements.css */
/*
.fab {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    z-index: 999;
    text-decoration: none;
    color: var(--white);
    font-size: 24px;
}

.fab:hover {
    transform: scale(1.1);
}

.fab-whatsapp {
    bottom: 40px;
    right: 20px;
    background-color: #25D366;
}

.fab-phone {
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
}
*/

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-brand img {
        height: 80px;
        width: 80px;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

/* Large screen columns */
.col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}

.col-lg-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-lg-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
    padding: 0 15px;
}

.col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
    padding: 0 15px;
}

.col-lg-10 {
    flex: 0 0 83.333%;
    max-width: 83.333%;
    padding: 0 15px;
}

.col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

@media (max-width: 991px) {
    .col-lg-3,
    .col-lg-4,
    .col-lg-6,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .col-md-4,
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

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

.btn-whatsapp-pulse {
	background: #25d366;
	color: white;
	position: fixed;
	bottom: 20px;
	left: 20px;
	font-size: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	text-decoration: none;
	border-radius: 50%;
	animation-name: pulse;
	animation-duration: 1.5s;
	animation-timing-function: ease-out;
	animation-iteration-count: infinite;
}
.btn-whatsapp-pulse i {
	font-size: 35px;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
	}
	80% {
		box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
	}
}

.btn-whatsapp-pulse-border {
	bottom: 120px;
	left: 20px;
	animation-play-state: paused;
}

.btn-whatsapp-pulse-border::before {
	content: "";
	position: absolute;
	border-radius: 50%;
	padding: 25px;
	border: 5px solid #25d366;
	opacity: 0.75;
	animation-name: pulse-border;
	animation-duration: 1.5s;
	animation-timing-function: ease-out;
	animation-iteration-count: infinite;
}

@keyframes pulse-border {
	0% {
		padding: 25px;
		opacity: 0.75;
	}
	75% {
		padding: 50px;
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

/* ==============================
   CALL BUTTON – PULSE ANIMATION
   ============================== */

/* Base Call Button */
.btn-call-pulse {
	background: linear-gradient(135deg, #198754, #146c43);
	color: #fff;
	position: fixed;
	bottom: 25px;
	left: 20px;
	font-size: 26px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	text-decoration: none;
	border-radius: 50%;
	animation: call-pulse 1.6s infinite;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	z-index: 1050;
}

/* Icon inside */
.btn-call-pulse i {
    font-size: 24px;
}

/* Hover lift effect */
.btn-call-pulse:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 22px rgba(25,135,84,0.5);
}

/* Outer pulse ring */
.btn-call-pulse-border::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 4px solid rgba(25,135,84,0.6);
    animation: call-border-pulse 1.6s infinite;
}

/* Pulse animation */
@keyframes call-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(25,135,84,0.5);
    }
    80% {
        box-shadow: 0 0 0 14px rgba(25,135,84,0);
    }
    100% {
        box-shadow: 0 0 0 14px rgba(25,135,84,0);
    }
}

/* Border ring animation */
@keyframes call-border-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
