/* =================== CUSTOM CSS - DISCOVERY HOTEL =================== */

/* =================== SLIDER =================== */
.section-slider .owl-carousel .item {
    position: relative;
    overflow: hidden;
    height: 775px; /* Slider yüksekliği */
}

/* Video slider */
.section-slider .owl-carousel video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0; /* en altta */
}

/* Overlay */
.section-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* %35 siyah overlay */
    z-index: 1; /* videonun üstünde */
}

/* Caption */
.section-slider .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2; /* overlay'in üstünde */
}

/* =================== GALLERY =================== */
/* Box img sabit oran, taşan kısmı kırpar */
.gallery_product .box-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto !important;
    max-height: none !important;
}

/* Resimleri kutuya göre sığdır ve kırp */
.gallery_product .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Hover efekti: resim hafif büyüsün ve gölge gelsin */
.gallery_product .box-img:hover img {
    transform: scale(1.05);
}

.gallery_product .box-img:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Hover icon overlay */
.gallery-box-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
}

.wrap-box:hover .gallery-box-main {
    opacity: 1;
}

/* Icon stili */
.gallery-icon i {
    font-size: 32px;
    color: #fff;
}

/* =================== MODERN ROOMS SECTION =================== */
.modern-rooms-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.modern-rooms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23f0f0f0" opacity="0.3"/><circle cx="75" cy="75" r="1" fill="%23f0f0f0" opacity="0.3"/><circle cx="50" cy="10" r="0.5" fill="%23f0f0f0" opacity="0.2"/><circle cx="10" cy="60" r="0.5" fill="%23f0f0f0" opacity="0.2"/><circle cx="90" cy="40" r="0.5" fill="%23f0f0f0" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    z-index: 0;
}

.rooms-header {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.rooms-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000000 !important; /* Siyah renk */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.rooms-title-decoration {
    width: 120px;
    height: 5px;
    background: linear-gradient(45deg, #8E7037, #B8860B);
    margin: 0 auto 30px;
    border-radius: 3px;
    position: relative;
}

.rooms-title-decoration::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #8E7037;
    border-radius: 50%;
    border: 3px solid white;
}

.rooms-description {
    font-size: 18px;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.room-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(142,112,55,0.1);
}

.room-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.room-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.room-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.room-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.room-card:hover .room-image {
    transform: scale(1.1);
}

.room-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(142,112,55,0.9), rgba(184,134,11,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.room-card:hover .room-overlay {
    opacity: 1;
}

.room-overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.room-card:hover .room-overlay-content {
    transform: translateY(0);
}

.room-overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.room-overlay-content span {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.room-content {
    padding: 30px;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.room-title {
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.room-rating {
    display: flex;
    gap: 3px;
    margin-left: 15px;
}

.room-rating i {
    color: #f39c12;
}

.room-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 25px;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(142,112,55,0.1);
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #8E7037;
    font-weight: 500;
}

.feature-item i {
    font-size: 0.9rem;
}

.room-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(142,112,55,0.1);
}

.btn-reserve {
    background: linear-gradient(45deg, #8E7037, #B8860B);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-reserve:hover {
    background: linear-gradient(45deg, #B8860B, #DAA520);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(142,112,55,0.3);
}

.rooms-cta {
    margin-top: 60px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    color: white;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(44,62,80,0.2);
}

.btn-view-all:hover {
    background: linear-gradient(45deg, #34495e, #2c3e50);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(44,62,80,0.3);
    color: white;
    text-decoration: none;
}

.btn-view-all i {
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(5px);
}

/* =================== FAQ SECTION =================== */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.title-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #8E7037, #B8860B);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-column {
    padding: 0 15px;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(142,112,55,0.1);
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: rgba(142,112,55,0.05);
}

.faq-question h5 {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-question i {
    font-size: 1.2rem;
    color: #8E7037;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(45deg);
    color: #B8860B;
}

.faq-answer {
    padding: 0 30px 25px;
    background: white;
}

.faq-answer p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

/* Collapse animasyonu */
.collapse {
    transition: all 0.3s ease;
}

.collapse.show {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================== RESPONSIVE DESIGN =================== */
@media (max-width: 1200px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .modern-rooms-section {
        padding: 80px 0;
    }
    
    .rooms-main-title {
        font-size: 2.5rem;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .room-image-container {
        height: 250px;
    }
    
    .room-content {
        padding: 25px;
    }
    
    .room-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .room-rating {
        margin-left: 0;
    }
    
    .room-footer {
        justify-content: center;
    }
    
    .btn-reserve {
        justify-content: center;
    }
    
    /* FAQ Responsive */
    .faq-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 20px 25px;
    }
    
    .faq-question h5 {
        font-size: 1rem;
        padding-right: 15px;
    }
    
    .faq-answer {
        padding: 0 25px 20px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .rooms-main-title {
        font-size: 2rem;
    }
    
    .rooms-description {
        font-size: 1rem;
    }
    
    .room-content {
        padding: 20px;
    }
    
    .room-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .feature-item {
        justify-content: center;
    }
    
    /* FAQ Mobile */
    .faq-column {
        padding: 0 10px;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question h5 {
        font-size: 0.95rem;
        padding-right: 10px;
    }
    
    .faq-answer {
        padding: 0 20px 18px;
    }
}
