/* Excursions Page Specific Styles */

/* Hero section enhancements */
#wrapper #header .content .inner {
    padding: 2rem 3rem;
}

/* Center the hero buttons */
#wrapper #header .content .inner .actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Features/Highlights section */
.highlights {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature {
    text-align: center;
    padding: 1rem;
}

.feature .icon {
    display: inline-block;
    font-size: 2rem;
    color: #f56a6a;
    margin-bottom: 1rem;
}

.feature h4 {
    margin: 0.5rem 0;
    color: #ffffff;
}

.feature p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Destinations styling */
.destination-section {
    margin: 2rem 0;
}

.destination-section h3 {
    color: #f56a6a;
    border-bottom: 2px solid #f56a6a;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Vis Excursion custom destination grid/card fixes */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.destination-card {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.destination-card img {
    max-width: 100%;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}

.destination {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #f56a6a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(245, 106, 106, 0.2);
}

.destination-content h4 {
    color: #f56a6a;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.destination-content p {
    margin: 0;
    line-height: 1.6;
}

.destination-image {
    display: flex;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: block;
}

.destination:hover .destination-image img {
    transform: scale(1.05);
}

/* Lightbox Styles */
.destination-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 160px;
    box-sizing: border-box;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #f56a6a;
}

#lightbox-image {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
}

.lightbox-info {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 160px;
    padding: 0 20px;
    max-width: 800px;
    width: 100%;
}

.lightbox-info h3 {
    color: #f56a6a;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.lightbox-info p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.lightbox-nav {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10002;
}

.lightbox-prev, .lightbox-next {
    background: rgba(245, 106, 106, 0.8);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-weight: 500;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(245, 106, 106, 1);
    transform: scale(1.05);
}

/* Responsive lightbox */
@media screen and (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        height: 95%;
        padding-top: 30px;
        padding-bottom: 140px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    #lightbox-image {
        max-height: 50vh;
        margin-top: 20px;
    }
    
    .lightbox-info {
        margin-bottom: 140px;
        padding: 0 15px;
    }
    
    .lightbox-info h3 {
        font-size: 1.4rem;
    }
    
    .lightbox-info p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .lightbox-nav {
        bottom: 30px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .lightbox-prev, .lightbox-next {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-height: 40px;
        min-width: 120px;
    }
}

/* Boats grid */
.boats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.boat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.boat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.boat-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.boat-card:hover .boat-images img {
    transform: scale(1.1);
}

.boat-info {
    padding: 1.5rem;
}

.boat-info h3 {
    color: #f56a6a;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.boat-specs {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.boat-specs li {
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.boat-specs li:last-child {
    border-bottom: none;
}

.boat-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f56a6a;
    text-align: center;
    margin: 1rem 0;
    padding: 0.5rem;
    background: rgba(245, 106, 106, 0.1);
    border-radius: 6px;
}

/* Center boat selection buttons */
.boat-info .actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.boat-info .actions li {
    width: auto;
}

.boat-info .actions li a {
    min-width: 180px;
    text-align: center;
}

/* Contact info styling */
.contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(245, 106, 106, 0.1);
    border-radius: 8px;
    border-left: 4px solid #f56a6a;
}

.contact-info h3 {
    color: #f56a6a;
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

/* Date input styling */
input[type="date"] {
    color: #fff !important;
    background: rgba(255,255,255,0.075) !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 1;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .destination {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .destination-image {
        justify-content: center;
    }
    
    .destination-image img {
        height: 150px;
        width: 80%;
    }
    
    .boats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    #wrapper #header .content .inner {
        padding: 1.5rem 2rem;
    }
    
    /* Stack hero buttons on mobile */
    #wrapper #header .content .inner .actions {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    #wrapper #header .content .inner .actions li {
        width: 100%;
        max-width: 250px;
    }
    
    #wrapper #header .content .inner .actions li a {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .features {
        gap: 0.5rem;
    }
    
    .feature {
        padding: 0.5rem;
    }
    
    .destination {
        padding: 1rem;
    }
    
    .boat-info {
        padding: 1rem;
    }
    
    #wrapper #header .content .inner {
        padding: 1rem;
    }
}
