﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

.text-center {
    text-align: center !important;
    margin-top: -25px;
}

#reservationForm {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    /* Header styling */
    #reservationForm h2 {
        color: #2c3e50;
        margin-bottom: 1.5rem;
        text-align: center;
        font-weight: 600;
    }

/* Form group styling */
.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: #34495e;
    }

    .form-group p {
        padding: 0.75rem;
        background-color: #f8f9fa;
        border-radius: 5px;
        margin: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

/* Input field styling */
.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

    .form-control:focus {
        border-color: #3498db;
        box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
        outline: none;
    }

/* Required field indicator */
.text-danger {
    color: #e74c3c;
}

.btn-primary {
    background-color: #3498db;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
    display: block;
    width: 100%;
    margin-top: 1.5rem;
}

    .btn-primary:hover {
        background-color: #2980b9;
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    }

.form-group:not(:last-child) {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

/* Select dropdown styling */
#inputState {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1em;
}
/*-----------*/

body {
    margin-bottom: 60px;
    font-family: Calibri;
    margin: 0;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.inside, .hotel, .outside-centras {

    width: 50%;
    height: 80%;
    margin-right: 20px;
    display: flex;
    border-radius: 10px;
}

footer {
    background-color: white;
}

.navbar {
    font-size: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    padding: 0 15px;
}

.login-nav-item, languageBtn {
    font-size: 25px;
    text-align: center;
    margin-left: auto;
}

@media (max-width: 1270px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px;
        position:static;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .nav-item {
        padding: 10px 0;
    }

    .login-nav-item, languageBtn {
        font-size: 20px;
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .navbar-collapse {
        position: relative;
        left: 0;
        width: 100%;
        z-index: 1000; 
    }
}

.logo {
    cursor: pointer;
    height: 80px;
}

.login-form {
    width: 40%;
    text-align: center;
    justify-content: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1001; 
}

@media (max-width: 1270px) {
    .login-form {
        width: 90%;
        padding: 15px;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 100px auto 30px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .navbar {
        position: relative;
        z-index: 1000;
        height: auto;
    }
}

    .registration-card {
        width: 500px;
        text-align: center;
        justify-content: center;
        position: absolute;
        top: 75%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff; /* Optional: for visibility */
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    @media (max-width: 768px) {
        .registration-card {
            width: 85%; /* Makes it smaller on mobile */
            width: 90%; /* Limits width */
            max-width: 350px;
        }

        .login-form {
            top: 60%; /* Moves it lower */
            width: 90%;
            max-width: 350px;
        }
    }

    .image-gallery {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        margin: auto;
        margin-bottom: 20px;
        transition: background-color 0.3s ease;
        transition: opacity 0.5s;
    }


    .main-image img {
        width: 100%;
        height: 100%;
        position: relative;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .side-images img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .side-images {
        display: grid;
        grid-template-rows: 1fr 1fr;
        gap: 10px;
    }

    @media (max-width: 1024px) {
        .image-gallery {
            grid-template-columns: 1fr;
            gap: 15px;
            margin-bottom: 40px;
        }

        .main-image {
            height: auto;
            max-height: 100%;
            max-width: 100%;
        }

        .side-images {
            display: none;
        }

        .reservation-form {
            width: 100%;
            position: relative;
            margin: 0 auto;
        }
    }

    .btn-show-all-photos {
        position: absolute;
        bottom: 15px;
        left: 15px;
        z-index: 10;
        background-color: rgba(0, 0, 0, 0.7); /* Dark transparent */
        color: white;
        padding: 12px 25px;
        border-radius: 8px;
        font-size: 1rem;
        border: none;
        cursor: pointer;
        background-color: #29160b;
        transition: background-color 0.3s ease, opacity 0.3s ease;
        opacity: 0.6; /* Slight transparency */
        pointer-events: auto;
    }

        .btn-show-all-photos:hover {
            background-color: #1a0d06;
            opacity: 1;
        }

    .main-image {
        position: relative; /* Needed for absolute positioning of the button */
        display: block;
        justify-content: center;
        align-items: center;
    }

    /*#895129*/
    .reservation-form-row {
        border-radius: 5px;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        background-color: #f9f9f9; /* Light background */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4); /* Soft shadow */
        width: 100%;
        justify-content: center;
        color: #333; /* Dark text for contrast */
        padding: 8px;
        margin-bottom: 25px;
    }

    .reservation-row, .people-row {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-content: center;
    }

    .reservation-col, .people-col {
        padding: 5px;
        flex: 1;
        align-content: center;
        justify-content: center;
    }


    .btn-block {
        transition: 0.2s;
        font-size: 1em;
        text-align: center;
        padding-top: 5px;
        width: 100%;
        height: 100%;
        color: white;
        border-radius: 4px;
        box-shadow: 0px 0px 1px #0f0;
        background-size: 200%;
        background-image: linear-gradient( to bottom left, #4A2C2A 0%, #8B4513 50%, #D2B48C 100% );
        transition: 600ms ease;
    }

        .btn-block:hover {
            background-position: 100% 0;
            color: white;
            transform: scale(1.05);
        }

    .room-card {
        display: flex;
        align-items: center; /* Align items vertically */
        justify-content: space-between; /* Space between columns */
        padding: 15px;
        background-color: #f9f9f9;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
        border-radius: 5px;
        margin-bottom: 20px;
    }

        .room-card img {
            width: 35%;
            height: auto;
            object-fit: cover;
            border-radius: 5px;
            cursor: pointer;
        }
.unavailable {
    opacity: 0.5 ;
    pointer-events: none; /* if you want to disable clicks */
}
    .room-info {
        flex: 1; /* Takes remaining space */
        padding: 0 15px;
        text-align: left;
    }

        .room-info h3 {
            margin: 0 0 10px 0;
        }

    /* Third Column: Price & Button */
    .room-actions {
        display: flex;
        flex-direction: column; /* Stack price & button */
        align-items: center;
        height: 100%;
        justify-content: space-between;
    }

    .price {
        font-size: 25px;
        font-weight: bold;
        margin-bottom: 10px;
        top: 100px;
    }

    .book-room {
        padding: 10px 15px;
        background-color: #895129;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

        .book-room:hover {
            background-color: #6d3d20;
            color: white;
            transform: scale(1.05);
        }

    @media (max-width: 768px) {
        .room-card {
            flex-direction: column; /* Stack image and text vertically */
            align-items: center;
            text-align: center;
            padding: 15px;
        }

            .room-card img {
                width: 100%;
                margin-bottom: 15px;
            }

        .room-info {
            padding: 0;
        }

        .room-actions {
            flex-direction: column;
            width: 100%;
            margin-top: 15px;
        }

        .price {
            font-size: 22px;
            margin-bottom: 10px;
        }

        .book-room {
            width: 100%;
            padding: 12px;
        }

        #findRoom {
            width: 90% !important; /* Big and tappable */
            height: auto !important; /* Let it adjust naturally */
            padding: 12px 0;
            font-size: 18px;
            margin: 10px auto 0 auto; /* Center it */
            display: block;
            position: relative; /* Remove weird 'right' shifting */
            right: 0;
        }
    }

    /* Main container with proper constraints */
    .slide-container {
        width: 100%;
        max-width: 1200px;
        height: 65vh;
        position: relative;
        margin: 5vh auto 0;
        overflow: hidden;
        border-radius: 8px;
    }

    .slides {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .slides.active {
            display: flex;
            opacity: 1;
        }

        .slides img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

    /* About text with proper spacing */
    .about-container {
        width: 100%;
        padding: 20px 0;
        margin-top: 0; /* Reduced space above text */
    }

    .about.title {
        margin-top: 5vh;
    }

    .about {
        width: 95%;
        margin: 0 auto;
        text-align: justify;
        font-size: 22px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 8px;
    }

    .dot-div {
        position: absolute;
        top: 80vh;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 10;
        margin: 10px;
    }

    .dot {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        background: #bbb;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .dot.active {
            background: #717171;
        }

    /* Mobile responsiveness */
    @media (max-width: 915px) {
        .slide-container {
            height: 50vh;
            position: relative;
        }

        .about {
            width: 90%;
            font-size: 18px;
            padding: 15px;
        }

        .dot-div {
            display: none !important;
        }
    }

    .contact-section {
        padding: 15px;
    }

    .menu-img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }

    .menu-content {
        display: flex;
        align-items: center; /* Align content in the center */
        justify-content: center;
        position: relative;
        font-size: 20px;
    }

        .menu-content::before,
        .menu-content::after {
            content: "";
            width: 1px;
            height: 100%;
            background-color: lightgrey;
            position: absolute;
            top: 0;
        }

        .menu-content a {
            color: black;
            text-decoration: none;
        }

        .menu-content::before {
            left: -15px;
        }

        .menu-content::after {
            right: -15px;
        }

    @media (max-width:768px) {
        .menu-img {
            display: block;
            margin-left: auto;
            margin-right: auto;
            width: 90%;
        }
    }

    .services-list {
        list-style: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

        .services-list li {
            display: flex;
            flex-direction: column;
            align-content: center;
            text-align: center;
            align-items: center;
            text-align: center;
            width: 30%;
            flex-wrap: wrap;
            justify-content: center;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 10px;
            background-color: #f9f9f9;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        }

        .services-list img {
            width: 200px;
            height: 180px;
            object-fit: cover;
            border-radius: 10px;
        }

    .confirmReservation {
        width: 45%;
        justify-content: center;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff; /* Optional: for visibility */
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    /* Base styles */
    .contact-info {
        max-width: 1200px;
        margin: 2rem auto;
        padding: 0 20px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-around;
    }

    .contact-section {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 1.5rem;
        min-width: 300px;
        flex: 1;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin-bottom: 1.5rem;
    }

        .contact-section h3 {
            color: #2c3e50;
            margin-bottom: 1rem;
            font-size: 1.5rem;
            border-bottom: 2px solid #e74c3c;
            padding-bottom: 0.5rem;
        }

        .contact-section p {
            margin: 0.8rem 0;
            color: #34495e;
            line-height: 1.6;
        }

        .contact-section a {
            color: #2980b9;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .contact-section a:hover {
                color: #e74c3c;
                text-decoration: underline;
            }

    /* Map styling */
    iframe {
        width: 100%;
        height: 400px;
        border: 0;
        border-radius: 8px;
        margin: 2rem auto;
        display: block;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* Mobile responsiveness */
    @media (max-width: 768px) {
        .contact-info {
            flex-direction: column;
            padding: 0 15px;
            margin: 1rem auto;
        }

        .contact-section {
            width: 100%;
            min-width: auto;
            margin-bottom: 1rem;
            padding: 1rem;
        }

            .contact-section h3 {
                font-size: 1.3rem;
            }

            .contact-section p {
                font-size: 0.95rem;
            }

        iframe {
            height: 300px;
            margin: 1rem auto;
        }

        h1 {
            font-size: 1.8rem;
            text-align: center;
            padding: 0 15px;
        }

        hr {
            margin: 1rem 15px;
        }
    }

    /* Desktop enhancements */
    @media (min-width: 992px) {
        .contact-section {
            max-width: 100%;
        }

        .contact-info {
            justify-content: center;
            gap: 2.5rem;
        }
    }