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

body {
    background-color: #0a0a0a;
    color: #8b734b;
    overflow-x: hidden;
}

/* Header için desenii */
header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background-image: url(/header-pattern.png);
    background-repeat: repeat-x;
    background-position: bottom center;
    z-index: 0;
}

/* Footer için desen - header pattern'ı kullanılıyor */
footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background-image: url(/header-pattern.png);
    background-repeat: repeat-x;
    background-position: top center;
    z-index: 1;
    pointer-events: none;
}

/* Mobil cihazlarda desenleri gizle */
@media (max-width: 768px) {
    header::after,
    footer::before {/* width: 100%; */height: 249px;background-size: cover;/* position: absolute; */}
}

/* Hamburger Menu Styles */
.hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #8b734b;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
}

.nav-menu.active {
    right: 0;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu ul li {
    margin-bottom: 20px;
}

.nav-menu ul li a {
    color: #8b734b;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-menu ul li a:hover {
    color: #ffffff;
}

/* Sound Toggle Button Style */
.sound-toggle {
    position: fixed;
    top: 19px;
    right: 70px;
    z-index: 1000;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 2px 7px;
    transition: all 0.3s ease;
    border: 1px solid #8b734b;
}

.sound-toggle i {
    color: #8b734b;
    font-size: 16px;
    margin-right: 6px;
    transition: color 0.3s ease;
}

.sound-toggle .sound-text {
    color: #8b734b;
    font-size: 14px;
    transition: color 0.3s ease;
}

.sound-toggle:hover {
    background-color: rgba(139, 115, 75, 0.2);
}

.sound-toggle:hover i,
.sound-toggle:hover .sound-text {
    color: #ffffff;
}

/* Header Styles */
header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #0a0a0a url('/bg.jpg') center/cover no-repeat;
    padding: 2rem;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.logo {
    width: 51%;
    min-width: 200px;
    margin-bottom: 2rem;
}

.crown {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 20%;
    min-width: 200px;
    z-index: 2;
}

.nightingale {
    position: absolute;
    bottom: -15%;
    right: 20px;
    width: 20%;
    z-index: 2;
    min-width: 150px;
}

/* Make crown and nightingale 30% larger on desktop */
@media (min-width: 769px) {
    .crown, .nightingale {
        width: 30%; /* 30% bigger */
    }
}

.mermaid {
    position: absolute;
    bottom: -200px;
    left: 20px;
    width: 300px;
    min-width: 120px;
    z-index: 2;
}

.header-text {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 0.9rem; /* 10% smaller */
}

/* Read More button */
.read-more-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    border-color: #8b734b;
    color: #000;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: solid 2px #8b734b;
    color: #8b734b;
    border-radius: 20px;
}

.read-more-btn:hover {
    background-color: #ffffff;
    color: #000;
}

/* Brands Section */
.brands {
    padding: 0rem 0rem;
}

/* Row-based layout for desktop */
.brands-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0rem;
    margin-bottom: 0rem;
}

.brands-row:last-child {
    margin-bottom: 0;
}

.row-1 .brand-card {
    flex: 1;
}

.row-2 .brand-card {
    flex: 1;
}

.row-3 .brand-card {
    flex: 1;
}

.row-4 .brand-card {
    flex: 1;
}

.brand-card {
    position: relative;
    height: 60vh; /* Increased height */
    overflow: hidden;
    border-radius: 5px;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.brand-card:hover {
    transform: translateY(-10px);
    /*box-shadow: 0 15px 30px rgba(0,0,0,0.4);*/
}

.brand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.brand-card:hover img {
    transform: scale(1.05);
}

/* Brand overlay without multiply effect */
.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(35 30 23 / 85%); /* Using the color from color picker with opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    z-index: 2;
}

/* Hover state for the overlay */
.brand-card:hover .brand-overlay {
    background-color: rgba(109, 84, 47, 0.6); /* Lighter version on hover */
}

/* Logo container */
.logo-container {
    position: relative;
    z-index: 3; /* Higher than overlay */
}

/* Brand logo styles */
.brand-logo {
    max-height: 200px;
    max-width: 200px;
    object-fit: contain !important;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* Keep the hover effect for logo */
.brand-card:hover .brand-logo {
    transform: scale(1.1);
    /*filter: drop-shadow(0 0 15px rgba(0, 0, 1,1)) brightness(0) invert(1);*/
}

/* Decorative Images Styles */
.decorative-image {
    z-index: 10;
    transition: transform 2s ease-in-out;
    animation: float 4s ease-in-out infinite;
}

/* Desktop Decorative Image Positioning */
.bicak-desktop {
    position: absolute;
    top: 19%;
    left: 62%;
    transform: translate(-50%, -50%);
    width: 9% !important;
}

.zil-desktop {
    position: absolute;
    bottom: 1%;
    right: 10%;
    width: 12% !important;
}

.bilgisayar-desktop {
    position: absolute;
    top: 10%;
    left: 39%;
    transform: translate(-50%, -50%);
    width: 20% !important;
}

/* Mobile Decorative Image Positioning */
.bicak-mobile, .zil-mobile, .bilgisayar-mobile {
    display: none; /* Hide by default on desktop */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.bicak-mobile {
    width: 20% !important;
}

.zil-mobile {
    width: 20% !important;
}

.bilgisayar-mobile {
    width: 20% !important;
}

@keyframes float {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Footer Styles */
footer {
    /* background-color: #000; */
    color: #8b734b;
    padding: 2rem 1rem;
    text-align: center;
    /* display: flex; */
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-logo {
    width: 200px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    padding: 0 1rem;
    margin: 0.5rem 0;
}

.contact-info {
    text-align: left;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icons a {
    color: #8b734b;
    font-size: 1.2rem;
    text-decoration: none;
}

.social-text {
    font-size: 0.9rem;
}

/* Contact button styling */
.contact-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #8b734b;
    color: #000;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #8b734b;
}

.desktopleftmobilcentertext {
    text-align: left; /* Masaüstünde varsayılan olarak sol hizalı */
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatUpDown {
    0% { transform: translateY(-30px); }
    50% { transform: translateY(0px); }
    100% { transform: translateY(-30px); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.crown, .nightingale {
    animation: floatUpDown 4s ease-in-out infinite;
}

.crown {
    animation-delay: 0.5s;
}

.nightingale {
    animation-delay: 1.5s;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

/* Custom styling for Holiday Inn section */
.holiday-inn {
    position: relative;
}

.holiday-inn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Mobile-specific styling */
@media (max-width: 768px) {


    footer::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 300px;
        background-image: url(/header-pattern.png);
        background-repeat: repeat-x;
        background-position: top center;
        z-index: 1;
        pointer-events: none;
        opacity: 0.5;
    }


    /* Hide desktop decorative images on mobile */
    .bicak-desktop, .zil-desktop, .bilgisayar-desktop {
        display: none;
    }

    /* Show mobile decorative images */
    .bicak-mobile, .zil-mobile, .bilgisayar-mobile {
        display: block;
        position: relative;  /* absolute yerine relative kullan */
        width: 25% !important;
        margin: -460px auto;  /* Yatayda ortalamak için */
        left: auto;
        /* left: 50% yerine auto kullan */
        transform: none; /* transform'u kaldır */
        z-index: 10;     /* Görünürlük için */
        position: absolute;
    }

    /* Satır aralarına boşluk ekle */
    .row-2 {
        /* margin-bottom: 60px; */
        position: relative;
    }

    .row-3 {
        /* margin-bottom: 60px; */
        position: relative;
    }

    .row-4 {
        margin-bottom: 60px;
        position: relative;
    }

    /* Her dekoratif görselin özel konumu */
    .bicak-mobile {
        /* Satırdan sonra boşluk */
        /* Bir sonraki satırdan önce boşluk */
        position: absolute;
    }

    .zil-mobile {
        margin-top: -58px;
        margin-bottom: 40px;
        position: absolute;
        /* margin-left: 50%; */
        /* margin-right: 0px; */
        right: 0px;
    }

    .bilgisayar-mobile {
        margin-top: -495px;
        margin-bottom: -11px;
        margin-left: 50%;
    }

    .header-text {
        font-size: 0.9rem;
    }

    .mermaid {
        position: absolute;
        bottom: -70px;
        left: 20px;
        width: 300px;
        min-width: 120px;
        z-index: 2;
    }

    .brands-row {
        flex-direction: column;
    }

    .crown, .nightingale, .mermaid {
        width: 60px;
    }

    .brand-card {
        height: 250px;
        min-width: auto;
    }

    .brand-logo {
        height: 60px;
        max-width: 140px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        margin-top: -100px;
    }

    .footer-section {
        width: 100%;
        margin: 1rem 0;
    }

    .contact-info {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* Adjust sound toggle position on mobile */
    .sound-toggle {
        top: 20px;
        right: 70px;
    }

    /* Mobil cihazlarda metin ortalı olacak */
    .desktopleftmobilcentertext {
        text-align: center;
    }
}
