/* Custom CSS for Azerbaijan Tourism Website */

:root {
    --primary-color: #4CAF50;
    --secondary-color: #6c757d;
    --success-color: #4CAF50;
    --gradient-start: #4CAF50;
    --gradient-end: #2E7D32;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation Styles */
.navbar {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #fff !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-section .btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Reviews Section */
#reviews {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.rating-stars {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    margin-bottom: 10px;
}

.rating-stars i {
    transition: color 0.2s ease;
    margin-right: 5px;
}

.rating-stars i:hover,
.rating-stars i.active {
    color: #ffc107;
}

.review-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.review-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

.review-comment {
    font-style: italic;
    line-height: 1.6;
}

/* Packages Section */
#packages {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    padding: 100px 0;
}

.package-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #fff;
    box-shadow: var(--card-shadow);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.package-card .card-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
    border: none;
    position: relative;
    overflow: hidden;
}

.package-card .card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

.package-card .card-header i {
    opacity: 0.9;
}

.package-card .card-body {
    padding: 2rem;
}

.package-card .card-text {
    font-size: 1rem;
    line-height: 1.6;
}

.package-card .list-unstyled li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.package-card .list-unstyled li:last-child {
    border-bottom: none;
}

.package-card .btn {
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border: none;
}

.package-card .btn:hover {
    background: linear-gradient(135deg, #2E7D32, #1B5E20) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4) !important;
}

/* Force override all Bootstrap primary colors */
.bg-primary, .bg-primary:hover, .bg-primary:focus, .bg-primary:active {
    background: linear-gradient(135deg, #4CAF50, #2E7D32) !important;
    background-color: #4CAF50 !important;
}

/* Modal header override */
.modal-header.bg-primary {
    background: linear-gradient(135deg, #4CAF50, #2E7D32) !important;
}

/* Force override all btn-primary states */
.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:visited {
    background: linear-gradient(135deg, #4CAF50, #2E7D32) !important;
    background-color: #4CAF50 !important;
    border-color: #4CAF50 !important;
    color: white !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2E7D32, #1B5E20) !important;
    background-color: #2E7D32 !important;
    border-color: #2E7D32 !important;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4) !important;
}

/* Override all blue buttons */
.btn-info, .btn-info:hover, .btn-info:focus, .btn-info:active {
    background: linear-gradient(135deg, #4CAF50, #2E7D32) !important;
    border-color: #4CAF50 !important;
    color: white !important;
}

.btn-info:hover {
    background: linear-gradient(135deg, #2E7D32, #1B5E20) !important;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4) !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e) !important;
}

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

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .package-card {
        margin-bottom: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .package-card .card-body {
        padding: 1.5rem;
    }
    
    #packages {
        padding: 60px 0;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for buttons */
.btn:active {
    transform: scale(0.98);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
}