/* style.css */

/* Hero Section: Huge image, centered text */
.hero-section {
    /* REPLACE THIS URL with your actual photo later */
    background: url('img/bryn-aethwy-driveway.jpg') no-repeat center center;
    background-size: cover;
    height: 80vh; /* 80% of the viewport height */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    position: relative;
}

/* Dark overlay to make text readable on bright photos */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
}

/* Ensure text stays on top of the overlay */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* The box that floats over the hero image */
.booking-widget-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-top: -80px; /* Pulls it up into the hero image */
    position: relative;
    z-index: 10;
}

/* Room Cards */
.room-card {
    transition: transform 0.2s;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.room-card img {
    height: 250px;
    object-fit: cover;
}

/* Footer links */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Carousel images in rooms.html */
.room-carousel-img {
    height: 300px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .room-carousel-img {
        height: 400px;
    }
}

/* Sub-header for internal pages */
.page-header {
    background-color: #343a40; /* Neutral dark gray */
    color: white;
    padding: 2rem 0;
}