:root {
    --primary-color: #008996; /* Aytuna Turizm Turkuaz */
    --secondary-color: #003d44; /* Koyu Turkuaz */
    --accent-color: #f39c12; /* Altın/Turuncu detaylar için */
    --text-color: #333;
    --light-text: #666;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #eee;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TOP BAR --- */
.top-bar {
    background: #fdfdfd;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 13px;
    color: var(--light-text);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar i {
    color: var(--primary-color);
    margin-right: 5px;
}

.login-btn {
    background: var(--secondary-color);
    color: white !important;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
}

/* --- HEADER --- */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 65px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav > li {
    position: relative;
}

.main-nav > li > a {
    font-weight: 600;
    font-size: 15px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.main-nav i.fa-chevron-down {
    font-size: 10px;
}

/* --- HERO --- */
.hero {
    position: relative;
    height: 600px;
    background: url('../images/hero_bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
}

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

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* --- SEARCH BOX (Mihver Style) --- */
.search-container {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.search-wrapper {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-input-group {
    flex: 1;
    position: relative;
}

.search-input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
    outline: none;
}

.search-btn {
    background: var(--secondary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- TOUR CARDS (Mihver Style) --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--secondary-color);
    font-weight: 700;
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.tour-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    position: relative;
}

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

.tour-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
}

.tour-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.tour-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.tour-body {
    padding: 20px;
}

.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--light-text);
    margin-bottom: 12px;
}

.tour-meta span {
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-dates {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #555;
    background: #fff9f0;
    padding: 10px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.tour-dates i {
    color: var(--accent-color);
    width: 16px;
}

.tour-meta i {
    color: var(--primary-color);
}

.tour-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    height: 50px;
    overflow: hidden;
}

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

.tour-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 12px;
    color: #999;
}

.price-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.tour-btn {
    background: #f0f7f8;
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

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

/* --- FOOTER --- */
footer {
    background: #fcfcfc;
    border-top: 1px solid #eee;
    padding: 80px 0 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

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

.footer-links ul li a {
    color: var(--light-text);
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--light-text);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
}

/* --- PAGE HEADER (Alt Sayfalar İçin) --- */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero_bg.jpg') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a { color: var(--primary-color); }

/* --- BLOG SECTION --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-img { height: 200px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-content { padding: 20px; }
.blog-date { font-size: 12px; color: #999; margin-bottom: 10px; display: block; }
.blog-title { font-size: 18px; font-weight: 700; margin-bottom: 15px; color: var(--secondary-color); }

/* --- CONTACT PAGE --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

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

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
}

/* --- TOUR DETAIL --- */
.tour-detail-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.tour-gallery { margin-bottom: 30px; border-radius: 15px; overflow: hidden; }
.tour-gallery img { width: 100%; height: 450px; object-fit: cover; }

.tour-tabs { display: flex; gap: 20px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.tab-btn { padding: 15px 25px; cursor: pointer; font-weight: 600; border-bottom: 3px solid transparent; }
.tab-btn.active { border-bottom-color: var(--primary-color); color: var(--primary-color); }

.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        gap: 20px;
    }
    .main-nav {
        display: none; /* Mobile menu would be here */
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .search-wrapper {
        flex-direction: column;
    }
    .footer-main {
        grid-template-columns: 1fr;
    }
}

/* Laravel dynamic helpers */
.floating-contact {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floating-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    position: relative;
}
.whatsapp-btn { background: #25d366; }
.call-btn { background: var(--primary-color); }
.floating-tooltip {
    position: absolute;
    right: 64px;
    background: #111827;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: var(--transition);
}
.floating-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(0);
}
.text-center { text-align: center; }
.text-muted { color: var(--light-text); }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.pb-5 { padding-bottom: 3rem; }
.main-nav li:hover > a { color: var(--primary-color); }
@media (max-width: 768px) {
    .floating-contact { right: 14px; bottom: 14px; }
    .floating-btn { width: 48px; height: 48px; font-size: 21px; }
    .top-bar .container, .top-bar-left, .top-bar-right { flex-wrap: wrap; gap: 10px; }
    .contact-wrapper, .tour-detail-wrapper { grid-template-columns: 1fr; }
}

/* Dynamic header dropdowns */
.main-nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 1100;
}
.main-nav li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav .submenu li {
    position: relative;
}
.main-nav .submenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
}
.main-nav .submenu a:hover {
    background: #f0f7f8;
    color: var(--primary-color);
}
.main-nav .submenu .submenu {
    top: 0;
    left: 100%;
}

/* Tour detail dynamic tabs and prices */
.tour-tab-panel {
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 30px;
    margin-top: 30px;
}
.tour-tabs .tab-btn {
    border-bottom: 3px solid transparent;
}
.tour-tabs .tab-btn.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.price-table th,
.price-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 14px;
}
.price-table th {
    background: #f0f7f8;
    color: var(--secondary-color);
    font-weight: 700;
}
.price-table .price-amount {
    color: var(--primary-color);
    font-weight: 800;
}
.tour-feature-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 18px;
}
.tour-feature-card h4 {
    color: var(--secondary-color);
    margin-bottom: 12px;
}
.tour-feature-card img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 15px;
}
.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}
.hotel-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hotel-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.hotel-card-body {
    padding: 18px;
}
@media (max-width: 768px) {
    .main-nav .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding-left: 15px;
    }
    .tour-tabs { overflow-x: auto; }
}

/* Compatibility fixes for generated tour module list/detail pages */
:root {
    --primary: var(--secondary-color);
    --secondary: var(--primary-color);
    --bg-light: var(--light-bg);
    --text-main: var(--text-color);
    --text-muted: var(--light-text);
    --shadow-md: var(--shadow);
    --shadow-lg: 0 10px 35px rgba(0,0,0,0.10);
}

.filter-group {
    margin-bottom: 24px;
}
.filter-group h5 {
    color: var(--secondary-color);
    font-size: 15px;
    margin-bottom: 12px;
}
.filter-checkbox {
    display: block;
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 10px;
    cursor: pointer;
}
.filter-checkbox input {
    margin-right: 7px;
    accent-color: var(--primary-color);
}
.nav-cta {
    background: var(--secondary-color);
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.nav-cta:hover {
    background: var(--primary-color);
    color: #fff;
}

.hac-filter-layout,
.tour-list-layout {
    align-items: start;
}
.tour-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 220px;
}
.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tour-info {
    padding: 20px;
}
.tour-info h3 {
    color: var(--secondary-color);
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
}
.tour-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--light-text);
}
.tour-details span {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 6px 10px;
}
.tour-details i,
.hac-mobile-dates i {
    color: var(--primary-color) !important;
}
.tour-badge-left,
.tour-tag {
    position: absolute;
    z-index: 5;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
}
.tour-badge-left { top: 14px; left: 14px; }
.tour-tag { right: 14px; bottom: 14px; }
.price-options-grid {
    display: block;
    margin-top: 14px;
}
.price-box {
    display: flex;
    flex-direction: column;
}
.price-box span {
    font-size: 12px;
    color: #999;
}
.price-box strong {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 800;
}
.explore-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f0f7f8;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.explore-btn:hover {
    background: var(--primary-color);
    color: #fff;
}
.hac-umre-icon {
    color: var(--primary-color);
    margin-right: 8px;
}
.hac-mobile-responsive {
    align-items: stretch;
}
.hac-mobile-table {
    margin-top: 10px;
}

/* Make legacy list cards match the new compact horizontal design */
.hac-filter-layout .tour-card,
.hac-filter-layout .hac-umre-card,
section .container > div[style*="320px 1fr"] .tour-card {
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}
section .container > div[style*="320px 1fr"] .tour-grid {
    gap: 25px !important;
}
section .container > div[style*="320px 1fr"] aside > div {
    border-radius: 15px !important;
    padding: 28px !important;
    box-shadow: var(--shadow) !important;
    top: 100px !important;
}

/* Detail pages using old inline structure */
.tour-detail-wrapper > .tour-main > div[style*="500px"] {
    height: auto !important;
    border-radius: 15px !important;
    box-shadow: var(--shadow) !important;
}
.tour-detail-wrapper > .tour-main > div[style*="500px"] img {
    height: 450px !important;
}
.detail-info-box,
.tab-content {
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
}
.tour-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 12px;
    background: #fff9f0;
    border-left: 3px solid var(--accent-color);
    border-radius: 8px;
}
.date-item label {
    display: block;
    color: #999;
    font-size: 12px;
    margin-bottom: 4px;
}
.date-item span {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .hac-filter-layout,
    section .container > div[style*="320px 1fr"],
    section .container > div[style*="1fr 3fr"] {
        grid-template-columns: 1fr !important;
    }
    .hac-mobile-responsive {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 768px) {
    .page-header { padding: 70px 0; }
    .page-header h1 { font-size: 30px; }
    .tour-detail-wrapper > .tour-main > div[style*="500px"] img,
    .tour-gallery img { height: 280px !important; }
    .price-table th,
    .price-table td { padding: 10px; font-size: 12px; }
}
