/* Reves De Ceylan Clone Styles */
:root {
    --primary: #f26522; /* A warm travel orange/gold often used, or if they use green, we can stick to green. Let's use a premium teal/green based on the previous logo */
    --primary: #158564;
    --primary-hover: #0f6c50;
    --dark: #222222;
    --light-bg: #f8f9fa;
    --text-color: #555555;
    --white: #ffffff;
    --border-color: #eaeaea;
    --shadow: 0 5px 20px rgba(0,0,0,0.05);
    --shadow-hover: 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: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark);
    color: #ccc;
    font-size: 0.85rem;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left i { margin-right: 5px; color: var(--primary); }
.top-bar-right { display: flex; gap: 15px; }
.top-bar-right a:hover { color: var(--primary); }

/* Main Header */
header {
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo img {
    height: 70px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}

.main-nav ul li a:hover {
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}

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

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}
.lang-dropdown > a {
    cursor: pointer;
}
.lang-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 4px;
    top: 100%;
    left: 0;
}
.lang-dropdown-content a {
    color: var(--dark);
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-weight: 500;
}
.lang-dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--primary);
}
.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}
/* Hide google translate stuff */
body { top: 0 !important; }
.skiptranslate { display: none !important; }

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--dark);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-slider .hero-bg-img {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    margin-bottom: 50px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
    font-family: 'Playfair Display', serif; /* A premium serif font */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Search Form */
.search-form {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 0 auto;
    text-align: left;
}

.search-field {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    border-right: 1px solid var(--border-color);
}
.search-field:last-of-type { border-right: none; }

.search-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.search-field input, .search-field select {
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    background: transparent;
    width: 100%;
}

.search-form .btn-search {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.search-form .btn-search:hover { background: var(--primary-hover); }

/* Section Styles */
.section {
    padding: 100px 5%;
}

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

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

.section-header span {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    font-family: 'Playfair Display', serif;
    margin-top: 10px;
}

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.tour-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.tour-img {
    height: 240px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tour-price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.tour-info {
    padding: 25px;
}

.tour-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}
.tour-meta i { color: var(--primary); margin-right: 5px; }

.tour-info h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.tour-info h3 a:hover { color: var(--primary); }

.tour-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-footer .explore-link {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}
.tour-footer .explore-link:hover { color: var(--primary); }

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: #111;
    color: #999;
    padding: 20px 5%;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.footer-widget p { margin-bottom: 15px; }

.footer-widget ul li {
    margin-bottom: 12px;
}
.footer-widget ul li a:hover { color: var(--primary); }

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    padding: 0;
}

@media (max-width: 991px) {
    .search-form { flex-direction: column; }
    .search-field { border-right: none; border-bottom: 1px solid var(--border-color); padding: 10px 0; }
    .hero { margin-bottom: 100px; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .main-nav ul { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
}

/* Destination Cards with Transitions */
.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    height: 420px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.destination-card:hover img {
    transform: scale(1.12);
}

.destination-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    opacity: 0.8;
    transition: all 0.5s ease;
}

.destination-card:hover::after {
    opacity: 0.95;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(21, 133, 100, 0.7) 40%, rgba(0,0,0,0) 100%);
}

.dest-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: var(--white);
    z-index: 2;
    transform: translateY(35px);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.destination-card:hover .dest-content {
    transform: translateY(0);
}

.dest-content h3 {
    margin: 0 0 10px 0;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    transition: color 0.3s ease;
}

.destination-card:hover .dest-content h3 {
    color: #e6f7f1;
}

.dest-content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
    transform: translateY(20px);
}

.destination-card:hover .dest-content p {
    opacity: 1;
    transform: translateY(0);
}

.dest-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.dest-explore-btn i {
    transition: transform 0.3s ease;
}

.destination-card:hover .dest-explore-btn {
    opacity: 1;
    transform: translateY(0);
}

.destination-card:hover .dest-explore-btn i {
    transform: translateX(5px);
}

/* Swiper Coverflow Adjustments */
.destinations-swiper .swiper-slide {
    transition: filter 0.5s ease, opacity 0.5s ease;
}

.destinations-swiper .swiper-slide:not(.swiper-slide-active) {
    filter: blur(5px);
    opacity: 0.6;
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #e74c3c;
}

.star-rating i {
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 5px;
    transition: transform 0.2s;
}

.star-rating i:hover {
    transform: scale(1.2);
}
