/* ===================================
   KEYIFLI TUR - MAIN STYLESHEET
   ================================= */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: all 0.3s ease;
}

/* ===================================
   COMMON COMPONENTS
   ================================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #e74c3c, #f4d03f);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
    text-decoration: none;
    color: white;
}

.btn-secondary {
    background: linear-gradient(45deg, #2c5aa0, #1e3c72);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
    text-decoration: none;
    color: white;
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    text-decoration: none;
    color: white;
}

/* ===================================
   HEADER & NAVIGATION
   ================================= */

.header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3c72 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-top: 80px;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb a {
    color: #2c5aa0;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===================================
   HERO SECTIONS
   ================================= */

.hero{
  background-image:
    linear-gradient(rgba(28,60,114,.7), rgba(44,90,160,.7)),
    var(--hero-image, url('hero/home-hero.jpg'));
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  height: 100vh;
  display:flex; align-items:center; justify-content:center;
  text-align:center; color:#fff; margin-top:80px;
}


.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #f4d03f;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(rgba(30, 60, 114, 0.8), rgba(44, 90, 160, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%232c5aa0" width="1200" height="400"/><path fill="%231e3c72" d="M0 200L50 190C100 180 200 160 300 155C400 150 500 160 600 170C700 180 800 190 900 185C1000 180 1100 160 1150 150L1200 140V400H0V200Z" opacity="0.6"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 10rem 2rem 4rem;
    color: white;
    text-align: center;
    margin-top: 80px;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   TOUR CARDS
   ================================= */

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tour-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    text-decoration: none;
    color: inherit;
}

.tour-image {
    height: 200px;
    background: linear-gradient(45deg, #2c5aa0, #1e3c72);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
}

.tour-image.large {
    height: 250px;
    font-size: 4rem;
}

.tour-code {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.tour-code.large {
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

.difficulty {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(244, 208, 63, 0.9);
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.difficulty.large {
    top: 15px;
    left: 15px;
}

.tour-content {
    padding: 2rem;
}

.tour-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

.tour-countries {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.tour-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tour-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.tour-duration {
    color: #2c5aa0;
    font-weight: bold;
}

.tour-price {
    color: #e74c3c;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Tour Features Grid */
.tour-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Tour Details Grid */
.tour-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.detail-item {
    text-align: center;
}

.detail-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-weight: bold;
    color: #1e3c72;
    margin-top: 0.2rem;
}

/* ===================================
   FORMS
   ================================= */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ===================================
   TABS
   ================================= */

.tab-navigation {
    background: white;
    padding: 0 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 80px;
    z-index: 999;
}

.tab-nav {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    color: #666;
    white-space: nowrap;
}

.tab-btn.active {
    color: #2c5aa0;
    border-bottom-color: #2c5aa0;
    background: rgba(44, 90, 160, 0.05);
}

.tab-btn:hover {
    background: rgba(44, 90, 160, 0.05);
    color: #2c5aa0;
}

.tab-content {
    padding: 4rem 2rem;
}

.tab-panel {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

/* ===================================
   REGIONS SECTION
   ================================= */

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.region-card {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(30, 60, 114, 0.1) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.region-card:hover {
    border-color: #2c5aa0;
    transform: translateY(-5px);
}

.region-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.region-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

/* ===================================
   ITINERARY STYLES
   ================================= */

.day-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #2c5aa0;
}

.day-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.day-number {
    background: linear-gradient(45deg, #2c5aa0, #1e3c72);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.day-info h3 {
    color: #1e3c72;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.day-location {
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.day-activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.activity {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid #f4d03f;
}

.activity-time {
    color: #2c5aa0;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.activity h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

/* ===================================
   HOTEL CARDS
   ================================= */

.hotel-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.hotel-image {
    background: linear-gradient(45deg, #2c5aa0, #1e3c72);
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.hotel-info h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.hotel-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

/* ===================================
   CONTACT SECTION
   ================================= */

.contact {
    padding: 6rem 2rem;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1e3c72;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item span {
    margin-right: 1rem;
    font-size: 1.2rem;
    background: #2c5aa0;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #1e3c72;
    margin-bottom: 2rem;
}

/* ===================================
   FOOTER
   ================================= */

.footer {
    background: #1e3c72;
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #f4d03f;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* ===================================
   UTILITY CLASSES
   ================================= */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

.bg-white { background: white; }
.bg-gray { background: #f8f9fa; }
.bg-primary { background: linear-gradient(135deg, #2c5aa0 0%, #1e3c72 100%); }

/* ===================================
   ANIMATIONS
   ================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   ================================= */

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content,
    .hotel-card {
        grid-template-columns: 1fr;
    }
    
    .day-activities {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .tab-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tour-details-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .tab-nav {
        padding: 0;
    }
    
    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}
/* Mobile menu behavior */
.nav-menu.mobile-active {
  display: flex !important;
  position: absolute;
  top: 64px; right: 0; left: 0;
  flex-direction: column;
  gap: 0;
  background: rgba(30, 60, 114, 0.98);
  padding: 0.5rem 1rem 1rem;
}

.nav-menu.mobile-active a {
  padding: 0.8rem 1rem;
  border-radius: 6px;
}

/* Back to top base (JS inline still styles) */
.back-to-top { /* JS zaten stil veriyor; burada güvenlik için fallback */ display:none; }

/* Gallery modal (varsa) */
.gallery-modal {
  display:none; position:fixed; inset:0;
  background: rgba(0,0,0,.8);
  align-items:center; justify-content:center; z-index: 10000;
}
.gallery-modal-content { position:relative; max-width:90vw; max-height:90vh; }
.gallery-modal-img { max-width:90vw; max-height:70vh; display:block; margin:auto; }
.gallery-close, .gallery-prev, .gallery-next {
  background:#1e3c72; color:#fff; border:none; cursor:pointer; padding:.6rem 1rem; border-radius:8px;
}
.gallery-close { position:absolute; top:-44px; right:0; font-size:24px; line-height:1; }
.gallery-nav { display:flex; gap:.5rem; justify-content:center; margin-top:.8rem; }
/* ===== Compact tour list ===== */
.tours-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
}

/* Kart görseli daha kısa */
.tours-grid--compact .tour-image { height: 160px; }
.tours-grid--compact .tour-image.large {
  height: 160px;
  font-size: 2.6rem;
}

/* Köşe rozetleri biraz küçülsün */
.tours-grid--compact .tour-code.large,
.tours-grid--compact .difficulty.large {
  top: 10px; padding: 0.25rem 0.6rem; font-size: 0.75rem;
}

/* İç padding ve tipografi */
.tours-grid--compact .tour-content { padding: 1rem; }
.tours-grid--compact .tour-content h3 {
  font-size: 1.2rem; margin-bottom: 0.4rem;
}
.tours-grid--compact .tour-countries {
  font-size: 0.85rem; margin-bottom: 0.6rem;
}

/* Açıklamayı 2 satırda kes */
.tours-grid--compact .tour-content p {
  font-size: 0.9rem; margin-bottom: 0.8rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Özellikler daha sıkı */
.tours-grid--compact .tour-features {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem; margin: 0.8rem 0;
}
.tours-grid--compact .feature { font-size: 0.85rem; }

/* Detaylar kompakt */
.tours-grid--compact .tour-details-grid {
  grid-template-columns: repeat(2, 1fr);
  padding: 0.8rem; gap: 0.6rem;
}
.tours-grid--compact .detail-label { font-size: 0.75rem; }
.tours-grid--compact .detail-value { font-size: 0.95rem; }

/* Fiyat/cta alanı daha küçük */
.tours-grid--compact .text-center.mt-2 { margin-top: 0.8rem; }
.tours-grid--compact .text-center.mt-2 .btn {
  font-size: 0.85rem; padding: 0.6rem 1rem;
}
.tours-grid--compact .tour-price { font-size: 1.1rem; }

/* Üst sayfa başlığı biraz daha kısa olsun (isteğe bağlı) */
.page-header { padding: 7rem 2rem 3rem; }
/* İletişim kutuları: masaüstünde tek satır/4 sütun */
.contact-methods{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: stretch;
}

/* Ekran daraldıkça 2 sütun ve tek sütuna düşsün */
@media (max-width: 1100px){
  .contact-methods{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px){
  .contact-methods{
    grid-template-columns: 1fr;
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: bold;
  font-size: 1.6rem;
  color: #fff;
}
.logo-img {
  height: 50px; /* menü yüksekliğine göre ayarlayabilirsiniz */
  width: auto;
  display: block;
  border-radius: 6px; /* isterseniz kaldırın */
}
.logo-text { display: none; }
