@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Genel Stiller */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #e74c3c;
    --accent-color: #e3bc76;
    --text-color: #ffffff;
    --light-bg: #2c2c2c;
    --dark-bg: #1a1a1a;
    --card-bg: #2c2c2c;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--dark-bg);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh; /* Bilgisayar görünümü yüksekliği azaltıldı */
    background-color: var(--dark-bg);
    overflow: hidden;
    padding-top: 130px; /* Navbar yüksekliği kadar boşluk */
}

#heroSlider {
    position: absolute; /* Absolute konumlandırma */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%; /* Genişliği %100 yap */
    height: 100%; /* Yüksekliği %100 yap */
    object-fit: cover; /* Alanı kapla ve ortala, kırpma olabilir */
    object-position: center;
    display: block;
}

.slider-text-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%; /* Maksimum genişlik */
    max-height: 80%; /* Maksimum yükseklik */
    width: auto;
    height: auto;
    z-index: 2; /* Overlay'in üzerinde olması için */
    pointer-events: none; /* Tıklama olaylarını engellemek için */
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)); /* Yeni nesil gradyan eklendi */
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    background-size: 50%;
}

.carousel-indicators {
    z-index: 3;
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--accent-color);
    border-color: white;
    transform: scale(1.2);
}

/* Responsive Düzenlemeler */
@media (max-width: 1200px) {
    .hero-section {
        height: 85vh; /* Yükseklik azaltıldı */
        padding-top: 130px; /* Navbar yüksekliği kadar boşluk */
    }
}

@media (max-width: 992px) {
    .hero-section {
        height: 80vh; /* Yükseklik azaltıldı */
        padding-top: 120px; /* Tablet/Laptop arası yükseklik ve boşluk */
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 67vh; /* Yükseklik azaltıldı */
        padding-top: 110px; /* Mobil navbar yüksekliği kadar boşluk */
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 63vh; /* Yükseklik azaltıldı */
        padding-top: 110px; /* Mobil navbar yüksekliği kadar boşluk */
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }
}

.navbar {
    background-color: var(--light-bg);
    padding: 1rem 0;
    transition: all 0.3s ease;
    position: fixed; /* absolute yerine fixed kullanıldı */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: 70px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: nowrap;
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    font-size: 2rem;
    font-weight: bold;
    color: white !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-color) !important;
    font-size: 1.1rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Mobil Menü */
.navbar-collapse {
    /* position: absolute; top: 100%; left: 0; right: 0; background-color: rgba(26, 26, 26, 0.95); z-index: 1000; padding: 1rem; border-radius: 15px; margin-top: 1rem; backdrop-filter: blur(10px); */
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Butonlar */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent-color);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(227, 188, 118, 0.5);
}

/* Kartlar ve Bölümler */
section {
    padding: 4rem 0;
}

.container {
    padding: 0 var(--spacing-unit);
}

/* Galeri Section */
#galeri img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

#galeri img:hover {
    transform: scale(1.05);
}

/* Instagram Section */
#instagram {
    background-color: var(--dark-bg); /* Arka plan rengi sayfanın genel koyu rengiyle aynı yapıldı */
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

#instagram h2 {
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 3rem;
}

.instagram-post {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0; /* Köşe yuvarlaklığı kaldırıldı */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-overlay i {
    color: white;
    font-size: 2rem;
}

.instagram-post:hover img {
    transform: scale(1.1);
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-feed {
    background: var(--light-bg); /* Instagram feed kutusunun arka planı (biraz daha açık koyu) */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.instagram-feed iframe {
    border: none;
    width: 100% !important;
    min-width: unset !important;
    max-width: 100% !important;
    height: 450px;
    background: var(--light-bg) !important;
    border-radius: 4px !important;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.instagram-item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background: var(--card-bg);
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-overlay i {
    color: white;
    font-size: 2rem;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.btn-instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: white;
}

.btn-instagram i {
    font-size: 1.2rem;
}

/* İletişim Section */
#iletisim {
    background-color: var(--light-bg);
}

.contact-info {
    color: var(--text-color);
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    body {
        font-size: 1rem;
        padding: 0;
        margin: 0;
    }
    .container {
        padding: 0 8px !important;
    }
    section {
        padding: 2rem 0 1.5rem 0;
    }
    .navbar {
        padding: 0.5rem 0;
    }
    .navbar-brand img {
        height: 40px;
    }
    .navbar-nav {
        gap: 0.5rem;
    }
    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
    }
    .qr-menu-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem !important;
        width: auto;
        min-width: 180px;
        margin: 0.5rem auto;
    }
    .hero-section {
        height: 72vh; /* Tablet görünümü yüksekliği */
        padding-top: 110px; /* Mobil navbar yüksekliği kadar boşluk (artırıldı) */
    }
    .carousel-item img {
        object-fit: cover;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }
    .hero-content {
        padding: 0 15px;
        width: 100%;
    }
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .qr-menu-section h2 {
        font-size: 1.3rem;
    }
    .btn, .btn-primary, .btn-instagram, .btn-reservation {
        width: 100%;
        font-size: 1rem;
        padding: 0.8rem 0;
        border-radius: 18px;
    }
    .about-content, .contact-info, .instagram-feed, .map-container {
        padding: 1rem 0.5rem !important;
    }
    .about-content, .about-badge, .about-title, .about-features, .about-subtitle-wrapper {
        text-align: center;
    }
    .about-features {
        margin-top: 1rem;
    }
    .feature-item {
        flex-direction: row;
        justify-content: center;
        font-size: 1rem;
        padding: 0.7rem;
    }
    .instagram-feed {
        max-width: 100%;
        padding: 0.5rem;
        background: var(--card-bg);
    }
    .instagram-feed iframe {
        min-width: 100% !important;
        height: 300px !important;
        background: var(--card-bg) !important;
    }
    .instagram-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .map-container iframe {
        height: 200px !important;
    }
    .footer, footer {
        font-size: 0.9rem;
        padding: 1rem 0;
    }
    .navbar-collapse.show {
        z-index: 9998;
    }
    .about-content {
        padding: 1rem;
        text-align: center;
    }
    
    .about-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .about-subtitle {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .about-subtitle.highlight {
        font-size: 2rem;
        margin-top: 0.5rem;
    }
    
    .about-features {
        margin-top: 1.5rem;
    }
    
    .feature-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        justify-content: flex-start;
        text-align: left;
    }
    
    .feature-item i {
        font-size: 1.2rem;
        margin-right: 0.8rem;
        width: 25px;
    }
    
    .feature-item span {
        font-size: 1rem;
    }
    
    .about-badge .badge {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    .about-image {
        margin-top: 2rem;
    }
    
    .about-image img {
        width: 100%;
        height: auto;
        border-radius: 15px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 68vh; /* Mobil görünüm yüksekliği */
        padding-top: 110px; /* Mobil navbar yüksekliği kadar boşluk (artırıldı) */
    }
    
    .carousel-item img {
        object-fit: cover;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .navbar .container {
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        position: relative;
    }
    
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        z-index: 1001;
    }
    
    .navbar-toggler {
        position: absolute;
        right: 15px;
        z-index: 1001;
        width: auto;
        padding: 0.5rem;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(26, 26, 26, 0.98);
        z-index: 1000;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        display: none;
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
    
    .navbar-nav {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
        padding: 0.5rem 0;
    }

    .nav-link {
        padding: 0.8rem 1rem;
        display: block;
        width: 100%;
        color: var(--text-color) !important;
        font-size: 1.1rem;
    }

    .qr-menu-btn {
        margin: 1rem auto;
        display: inline-block;
        width: auto;
        min-width: 200px;
        background-color: var(--accent-color);
        color: var(--dark-bg) !important;
        border-radius: 20px;
        padding: 0.8rem 1.5rem !important;
        font-weight: 500;
    }

    .hero-section {
        height: 78vh; /* Tablet/Laptop arası yükseklik */
        padding-top: 120px; /* Navbar yüksekliği kadar boşluk (artırıldı) */
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: 60px;
    }

    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar-brand img {
        height: 40px;
    }

    .navbar-collapse {
        top: 60px;
        max-height: calc(100vh - 60px);
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.7rem 1rem;
    }

    .qr-menu-btn {
        font-size: 1rem;
        padding: 0.7rem 1.2rem !important;
        min-width: 180px;
        margin: 0.8rem auto;
    }

    .hero-section {
        height: 72vh; /* Tablet görünümü yüksekliği */
        padding-top: 110px; /* Mobil navbar yüksekliği kadar boşluk */
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, #galeri, #instagram, #iletisim {
    animation: fadeIn 1s ease-out;
}

/* Dokunmatik Etkileşimler */
@media (hover: none) {
    .nav-link:hover,
    .btn:hover {
        transform: none;
    }
    
    .feature-item:active {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .btn:active {
        transform: scale(0.98);
    }
}

/* Yükleme Optimizasyonu */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Erişilebilirlik */
:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Karanlık Mod Desteği */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #1a1a1a;
        --secondary-color: #e74c3c;
        --text-color: #ffffff;
        --light-bg: #2c2c2c;
        --dark-bg: #1a1a1a;
    }
}

/* QR Menü Section */
.qr-menu-section {
    background-color: var(--light-bg);
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.qr-menu-section h2 {
    color: var(--accent-color);
    font-weight: bold;
}

.qr-menu-section .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-bg) !important;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.qr-menu-section .btn-primary:hover {
    background-color: #c4a05a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(227, 188, 118, 0.5);
}

/* Navbar QR Menü Butonu */
.navbar .qr-menu-btn {
    background-color: var(--accent-color);
    color: var(--dark-bg) !important;
    border-radius: 20px;
    padding: 0.5rem 1rem !important;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.navbar .qr-menu-btn:hover {
    background-color: #c4a05a;
    transform: translateY(-2px);
}

.navbar .qr-menu-btn i {
    margin-right: 5px;
}

/* Hakkımızda Section */
#hakkimizda {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.about-content {
    padding: 2rem;
}

.about-badge .badge {
    background-color: var(--accent-color);
    color: var(--dark-bg);
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
}

.about-title {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-subtitle-wrapper {
    text-align: center;
    margin: 2rem 0;
}

.about-subtitle {
    color: var(--text-color);
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.about-subtitle.highlight {
    color: var(--accent-color);
    font-size: 3rem;
    font-weight: 700;
    margin-top: 0.5rem;
    position: relative;
    display: inline-block;
}

.about-subtitle.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.about-subtitle-wrapper:hover .about-subtitle.highlight::after {
    transform: scaleX(1);
    transform-origin: left;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.feature-item span {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.8rem;
    }
    
    .about-subtitle.highlight {
        font-size: 2.5rem;
    }
    
    .about-content {
        padding: 1rem;
        text-align: center;
    }
    
    .feature-item {
        justify-content: center;
    }
}

/* Footer */
footer {
    background-color: var(--dark-bg) !important;
    color: var(--text-color);
}

.btn-reservation {
    background-color: #e3bc76 !important;
    color: #1a1a1a !important;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(227, 188, 118, 0.5);
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}

.btn-reservation:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(227, 188, 118, 0.6);
    color: #1a1a1a !important;
    background-color: #d4ad65 !important;
}

.btn-reservation i {
    font-size: 1.1rem;
}

.navbar-nav {
    margin-left: auto;
}

/* Instagram Section Styles */
.instagram-wrapper {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.instagram-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.btn-instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    background: linear-gradient(45deg, #FD1D1D, #E1306C, #C13584, #833AB4, #5851DB, #405DE6);
    color: white;
    transform: scale(1.05);
}

#instagram .display-4 {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .instagram-wrapper {
        padding: 1rem !important;
    }
    
    #instagram .display-4 {
        font-size: 2rem;
    }
    
    .instagram-feed iframe {
        height: 400px !important;
    }
} 