/* Genel Ayarlar */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, #f4f4f9, #e8e8f5);
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    color: #fff;
}

header p {
    margin: 10px 0 0;
    font-size: 1.2em;
    color: #ddd;
}

nav ul {
    display: flex;
    justify-content: center;
    padding: 0;
    list-style: none;
    background: #444;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s ease, background 0.3s ease;
}

nav ul li a:hover {
    background: #555;
    color: #ffdd57;
    border-radius: 5px;
}

nav {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/hero.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.hero h2 {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero .btn {
    display: inline-block;
    padding: 15px 30px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.2em;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #0056b3;
}

/* Sections */
section {
    padding: 40px 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

/* About Section */
.about {
    background: #f9f9f9;
    color: #333;
    line-height: 1.8;
    padding: 40px 20px;
}

.about h2 {
    color: #222;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Tours Section */
.tours .tour-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.tours .tour-item {
    flex: 1 1 30%;
    margin: 10px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tours .tour-item h3 {
    margin: 0 0 10px;
}

.tours .tour-item p {
    margin-bottom: 15px;
}

.tours .tour-item .btn {
    padding: 8px 16px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.tours .tour-item .btn:hover {
    background: #0056b3;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
    justify-items: center;
}

.gallery-grid img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.gallery-grid img {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }

    .hero h2 {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }

    .hero p {
        font-size: clamp(1em, 4vw, 1.2em);
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 40px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.6);
    color: black;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 50%;
    user-select: none;
    transition: background 0.3s ease;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.6);
    color: black;
}

.lightbox-arrow.left {
    left: 20px;
}

.lightbox-arrow.right {
    right: 20px;
}
/* Social Media */
.social-icon img {
    width: 40px; /* İkon genişliği */
    height: 40px; /* İkon yüksekliği */
    display: inline-block;
    vertical-align: middle;
}

/* Sosyal Medya İkonları Çerçevesiz */
.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px; /* Yuvarlak çerçeve genişliği ile aynı */
    height: 40px; /* Yuvarlak çerçeve yüksekliği ile aynı */
    border-radius: 50%; /* Yuvarlak görünüm (isteğe bağlı) */
    transition: transform 0.3s ease;
    background: none; /* Arka planı kaldır */
}

/* Hover Efekti */
.social-icon:hover {
    transform: scale(1.1); /* Hover efektinde büyütme */
    opacity: 0.8; /* Şeffaflık efekti */
}

/* Back to Top */
#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position relative to the viewport */
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    z-index: 99; /* Make sure it stays on top */
    border: none; /* Remove borders */
    outline: none; /* Remove outline on focus */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white; /* Text color */
    cursor: pointer; /* Change cursor on hover */
    padding: 15px; /* Padding around the icon/text */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Font size */
}

#scrollToTopBtn:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Darken background on hover */
}

/* Style for the icon (example) */
.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

/* Mobil Cihazlara Özel Ayarlar */
@media (max-width: 768px) {
   .back-to-top {
    width: 75px; /* Daha büyük düğme genişliği */
    height: 75px; /* Daha büyük düğme yüksekliği */
    font-size: 2em; /* Daha büyük simge/metin boyutu */
    line-height: 75px; /* Simge hizalaması */
}

}

/* Gallery Link */
.styled-link {
    text-decoration: none;
    color: #007BFF;
    font-size: 2em;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.styled-link:hover {
    color: #0056b3;
    transform: scale(1.1);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.styled-link i {
    margin-right: 10px;
    color: #007BFF;
    transition: color 0.3s ease;
}

.styled-link:hover i {
    color: #0056b3;
}

/* Responsive Social Media */
@media (max-width: 768px) {
    .social-media h3 {
        font-size: 1.2em;
    }

    .social-icon {
        font-size: 1.2em;
        padding: 8px;
    }

    .styled-link {
        font-size: 1.5em;
    }
}

/* Contact Section */
.contact {
    background: #f4f4f4;
    color: #333;
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact h2 {
    color: #222;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact p {
    color: #444;
    font-size: 1.2em;
}

.contact ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin: 20px 0;
}

.contact ul li {
    color: #333;
    font-size: 1.1em;
    margin: 10px 0;
}

.contact ul a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact ul a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact .form-group {
    margin-bottom: 15px;
}

.contact .form-group label {
    display: block;
    margin-bottom: 5px;
}

.contact .form-group input,
.contact .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact button {
    display: block;
    width: 100%;
    padding: 10px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background 0.3s ease;
}

.contact button:hover {
    background: #218838;
}

}
/* Menu Toggle */
.menu-toggle {
    display: none;
}

/* Mobil Menü */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        bottom: 20px; /* Sol alt köşe */
        left: 20px;
        width: 40px; /* Simge genişliği */
        height: 30px; /* Simge yüksekliği */
        cursor: pointer;
        z-index: 1000;
    }

    /* Hamburger Çizgileri */
    .menu-toggle .line {
        width: 100%; /* Çizgi genişliği */
        height: 4px; /* Çizgi kalınlığı */
        background: #444; /* Çizgi rengi */
        border-radius: 2px;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    /* Hover Durumu */
    .menu-toggle:hover .line {
        background: #333; /* Hover durumunda çizgi rengi */
    }

    /* Menü Açıldığında Çizgilerin Durumu */
   .menu-toggle.open .line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.menu-toggle.open .line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.menu-toggle .line {
    background: linear-gradient(90deg, #ff7e5f, #feb47b); /* Geçişli renkler */
}

    /* Mobil Menü Listesi */
    nav ul {
        display: none; /* Başlangıçta gizli */
        flex-direction: column;
        align-items: center;
        background: #333; /* Menü arka plan rengi */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 20px 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    nav ul.active {
        display: flex; /* Menü tıklanınca görünür olur */
    }

    nav ul li {
        margin: 10px 0;
    }
}

/* Masaüstü Menü */
@media (min-width: 769px) {
    nav ul {
        display: flex;
        justify-content: center;
    }

    .menu-toggle {
        display: none;
    }
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/vedat/fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/vedat/fonts/PlayfairDisplay-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
