body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: url('../assets/beach.jpg') no-repeat center center fixed;
    background-size: cover;
}

body::before {
    content: "";
    position: fixed;
    z-index: 0;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
}

main, header, footer, section {
    position: relative;
    z-index: 1;
}

body,
section,
p,
h1, h2, h3, h4, h5, h6,
label,
input,
textarea,
button,
.rental-list h2,
.rental-item h3,
.rental-item p,
.rental-item .use,
.destination-item h3,
.destination-item p,
#contact h2,
#contact p {
    color: #023e8a !important;
}

header {
    background: #0077b6;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#logo {
    height: 50px;
    max-width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 1rem;
}

nav a:hover {
    color: #ffd166;
}

#lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.flag {
    width: 28px;
    height: 20px;
    min-width: 28px;
    min-height: 20px;
    max-width: 28px;
    max-height: 20px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: box-shadow 0.2s;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
}

.flag:hover {
    box-shadow: 0 0 5px #ffd166;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
    width: 100%;
    flex: 1 0 auto;
}

section {
    margin-bottom: 2.5rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #023e8a;
    letter-spacing: 1px;
}

.destination-items-vertical {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    width: 100%;
}

.destination-item {
    background: rgba(255,255,255,0.60); /* More transparent */
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.destination-item h3 {
    color: #0077b6;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.destination-item img {
    width: 100%;
    max-width: 480px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: block;
    margin-left: auto;
    margin-right: auto;
    background: none;
}

.destination-item p {
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

.map-container {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    background: #ffffff;
    color: #023e8a;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
}

/* Responsive styles */
@media (max-width: 900px) {
    main {
        padding: 1rem;
    }
    .destination-item, .map-container {
        max-width: 100%;
        padding: 1rem;
    }
    .destination-item img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    main {
        padding: 0.5rem;
    }
    .destination-item, .map-container {
        padding: 0.5rem;
    }
    #logo {
        height: 40px;
    }
    .destination-item img {
        height: 180px;
    }
}

.rental-item img,
.scooter-images img {
    width: 320px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background: none;
    box-shadow: none;
    transition: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.rental-items-vertical {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    width: 100%;
    text-align: center; 
}

.rental-item {
    background: transparent;
    border-radius: 12px;
    box-shadow: none;
    padding: 1rem;
    width: 100%;
    max-width: 340px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

#home h1,
#home p,
#home h2 {
    text-align: center;
}

#comments {
    margin: 0 auto 2.5rem auto;
    max-width: 600px;
    background: rgba(255,255,255,0.92);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 2rem 1rem 1.5rem 1rem;
}

#comment-section {
    margin-bottom: 2rem;
}

#comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.comment-name-input {
    padding: 0.8rem 1rem;
    border: 1px solid #bcd0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    font-weight: 500;
    transition: border 0.2s;
}

.comment-name-input:focus {
    border: 1.5px solid #0077b6;
    outline: none;
}

.comment-textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #bcd0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    min-height: 80px;
    resize: vertical;
    transition: border 0.2s;
}

.comment-textarea:focus {
    border: 1.5px solid #0077b6;
    outline: none;
}

.comment-btn {
    background: #0077b6;
    color: #fff;
    border: none;
    padding: 0.8rem 0;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
    margin-top: 0.2rem;
}

.comment-btn:hover {
    background: #023e8a;
}

#comments-list {
    margin-top: 1.5rem;
}

.playstore-comment {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(245, 247, 250, 0.98);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.avatar {
    width: 44px;
    height: 44px;
    background: #0077b6;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    letter-spacing: 1px;
}

.comment-body {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.2rem;
}

.comment-name {
    font-weight: bold;
    font-size: 1.08rem;
    color: #222;
    letter-spacing: 0.5px;
}

.comment-text {
    font-size: 1rem;
    color: #333;
    margin-top: 0.1rem;
    line-height: 1.5;
    text-align: left;
    word-break: break-word;
}

#home h1,
#home h2,
#home p,
.rental-list h2,
.rental-item h3,
.rental-item p,
.rental-item .use {
    color: #023e8a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    padding: 24px 0;
    align-items: start;
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f7f7f7;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: none;
    background: #f7f7f7;
    cursor: pointer !important;
    transition: none;
}

.gallery-item img:hover,
.gallery-item video:hover {
    cursor: pointer !important;
    transform: none;
    box-shadow: none;
}

.gallery-grid video {
    background: #000;
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .gallery-item {
        aspect-ratio: 4/3;
    }
}

.img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s;
    flex-direction: column;
}

.img-modal-content {
    max-width: 90vw;
    max-height: 80vh;
    width: 700px;         
    height: 525px;       
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    display: block;
    margin: auto;
    animation: zoomIn 0.25s;
    background: #fff;
    object-fit: cover;   
}

.img-modal-close {
    position: absolute;
    top: 32px;
    right: 48px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    text-shadow: 0 2px 8px #000;
}
.img-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    background: rgba(0,0,0,0.4);
    border: none;
    font-size: 2.5rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: background 0.2s, opacity 0.2s;
}
.img-modal-nav:hover {
    background: #0077b6;
    opacity: 1;
}
.img-modal video.img-modal-content {
    background: #000;
}
.img-modal-prev { left: 32px; }
.img-modal-next { right: 32px; }

@media (max-width: 800px) {
    .img-modal-content {
        width: 98vw;
        height: auto;
        max-width: 98vw;
        max-height: 70vh;
    }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.video-container video {
    width: 100%;
    height: auto;
    max-height: 60vw;
    background: #000;
    border-radius: 8px;
    display: block;
}
@media (orientation: landscape) {
    .video-container video {
        max-height: 80vh;
    }
}