/* Base Styles */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f39c12;
	--accent-color: #ff7e33;   /* Sunset orange */
    --text-color: #333333;
    --background-color: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

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

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

.section-title span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    color: white;
}

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

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

/* Header Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav {
    display: flex !important; 
    flex-direction: row !important;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 8px 12px !important;
    transition: var(--transition);
}

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

.language-switcher {
    display: flex;
    margin-left: 15px;
}

.language-switcher .nav-link {
    padding: 5px 10px !important;
}

.language-switcher .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: -80px;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-block;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    color: white;
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}

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

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

.card-body {
    padding: 25px;
}

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


/* Style for the 'View Details' button */
.btn-outline-primary {
    /* Ensure consistency with overall design */
}

/* Room Features */
.room-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.room-features li {
    color: #666;
    margin-bottom: 8px;
}

.room-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Contact Section */
.contact-info {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.contact-info h4 {
    color: var(--text-color);
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: var(--transition);
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer a {
    color: #ccc;
    transition: var(--transition);
    display: block;
    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: #ccc;
}

/* Admin Styles */
.admin-container {
    padding: 20px;
}

.admin-sidebar {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    margin-bottom: 20px;
}

.admin-profile {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.admin-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

.admin-menu {
    list-style: none;
    padding: 0;
}

.admin-menu li {
    margin-bottom: 10px;
}

.admin-menu li a {
    display: block;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    color: var(--text-color);
    transition: var(--transition);
}

.admin-menu li a:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
}

.admin-menu li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.admin-menu li.active a {
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary-color);
    font-weight: 600;
}

.admin-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .admin-container .row {
        flex-direction: column;
    }
    
    .admin-sidebar {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .admin-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-section-header .btn {
        margin-top: 15px;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 40px;
    transition: all 0.3s ease;
}

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

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 12px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.language-switcher {
    display: flex;
    margin-left: 15px;
    border-left: 1px solid #eee;
    padding-left: 15px;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 992px) {
    .navbar-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .navbar-nav.show {
        transform: translateY(0);
    }
    
    .navbar-toggler {
        display: block;
    }
    
    .language-switcher {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #eee;
        width: 100%;
    }
}

/* Improved Hero Section */
.hero-section {
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 2rem;
    background: rgba(0,0,0,0.5);
    border-radius: var(--border-radius);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* Improved Login Form */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.login-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.login-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    text-align: center;
}

.login-body {
    padding: 2rem;
}

.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Improved Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

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

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


.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

/* რესპონსიული დიზაინი */
@media (max-width: 992px) {
    .tour-category-card {
        height: 350px;
    }
    
    .tour-category-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .tour-details {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .tour-category-card {
        height: 300px;
        margin-bottom: 20px;
    }
    
    .tour-category-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .tour-overlay {
        padding: 20px;
    }
    
    .tour-details h5 {
        font-size: 1.1rem;
    }
    
    .tour-details p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .tour-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .price-tag {
        font-size: 1rem;
        padding: 6px 15px;
    }
    
    .btn-outline-light {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .tour-category-card {
        height: 280px;
    }
    
    .tour-category-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .tour-overlay {
        padding: 15px;
    }
}

/* ანიმაციები */
.tour-category-card {
    animation: fadeInUp 0.6s ease forwards;
}

.tour-category-card:nth-child(1) {
    animation-delay: 0.1s;
}

.tour-category-card:nth-child(2) {
    animation-delay: 0.2s;
}

.tour-category-card:nth-child(3) {
    animation-delay: 0.3s;
}

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

/* დამატებითი ეფექტები */
.tour-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.tour-category-card:hover::before {
    transform: translateX(100%);
}

.tour-card {
    /* ... (დანარჩენი კოდი, რომელიც მიწოდებული იყო წინა პასუხში) ... */
    background: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%; 
    display: flex;
    flex-direction: column;
}

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

.tour-card-image {
    width: 100%;
    /* გაზრდილი სიმაღლე წინა დიზაინის ფორმის აღსადგენად */
    height: 450px; 
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease;
}

.tour-card:hover img {
    transform: scale(1.05);
}

.tour-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.tour-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.tour-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
    flex-grow: 1; /* უბიძგებს footer-ს ქვემოთ */
}

.tour-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price-tag {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* თუ გჭირდებათ .btn-primary ღილაკის სტილები: */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

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

/* Tour Details Section (tour.php) */
.tour-details-section {
    /* 120px padding-top საჭიროა ფიქსირებული header-ის სიმაღლის კომპენსირებისთვის */
    padding-top: 60px;
    padding-bottom: 60px;
}

.social-links {
    display: flex;
    flex-wrap: wrap; /* იმ შემთხვევაში თუ ბევრი ლინკია */
    align-items: center;
    justify-content: flex-start;
    gap: 15px; /* მანძილი ლინკებს შორის */
}

/* Ensure the links within the social-links div are styled correctly */
.social-links a {
    color: var(--white); /* White text color as used in footer.php */
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}