/* Genel Stiller */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: Arial, sans-serif;
}

body {
   background-image: url('images/denizmanzara.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

/* Arka plan overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: -1;
}

.intro-section {
    text-align: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.intro-section h1 {
    color: #003d8f;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Rooms Grid */
.rooms-grid {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Room Card */
.room-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    min-height: 400px;
}

.room-card.featured {
    border: 2px solid #003d8f;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #003d8f;
    color: white;
    padding: 8px 30px;
    transform: rotate(45deg);
    font-size: 0.9em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Room Images */
.room-images {
    flex: 1;
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.room-gallery {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.room-gallery img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid white;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.room-gallery img:hover {
    transform: scale(1.1);
}

/* Room Info */
.room-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.room-info h2 {
    color: #003d8f;
    margin-bottom: 20px;
    font-size: 1.8em;
}

/* Room Features */
.room-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.room-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.room-features i {
    color: #003d8f;
    font-size: 1.2em;
}

/* Book Button */
.book-button {
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    margin-top: auto;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.book-button:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.book-button.featured {
    background-color: #003d8f;
}

.book-button.featured:hover {
    background-color: #002a66;
}

/* Common Areas */
.common-areas {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

.common-areas h2 {
    text-align: center;
    color: #003d8f;
    margin-bottom: 40px;
    font-size: 2em;
}

.common-areas-grid {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.common-area-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    padding-bottom: 20px;
    width: 100%;
}

.common-area-card:hover {
    transform: translateY(-5px);
}

.common-area-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.common-area-card h3 {
    padding: 20px 20px 10px;
    margin: 0;
    color: #003d8f;
    text-align: center;
    font-size: 1.5em;
}

/* Facility Features */
.facility-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.facility-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    margin-bottom: 8px;
    padding: 5px 15px;
}

.facility-features i {
    color: #003d8f;
    font-size: 1.1em;
    width: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .room-card {
        flex-direction: column;
    }

    .room-images {
        height: 300px;
    }

    .room-gallery {
        bottom: 10px;
        left: 10px;
    }

    .room-gallery img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .intro-section h1 {
        font-size: 2em;
    }

    .room-features {
        grid-template-columns: 1fr;
    }

    .common-area-card img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .room-gallery {
        display: none;
    }

    .common-area-card img {
        height: 200px;
    }
}
