/* Water Sports 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;
}

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

.equipment-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);
}

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

.equipment-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.equipment-info {
    padding: 1.5rem;
}

.equipment-info h3 {
    color: #f56a6a;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.equipment-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.equipment-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.equipment-features li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.equipment-features li .icon {
    margin-right: 0.5rem;
    color: #4CAF50;
    font-size: 0.8rem;
}

.equipment-price {
    font-size: 1.6rem;
    font-weight: bold;
    color: #f56a6a;
    text-align: center;
    margin: 1.5rem 0 1rem 0;
    padding: 0.8rem;
    background: rgba(245, 106, 106, 0.1);
    border-radius: 8px;
    border: 2px solid rgba(245, 106, 106, 0.3);
}

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

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

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

/* Packages section */
.packages-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.package-card {
    background: rgba(245, 106, 106, 0.1);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid rgba(245, 106, 106, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 106, 106, 0.6);
}

.package-card h3 {
    color: #f56a6a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.package-includes {
    margin: 1.5rem 0;
}

.package-includes h4 {
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.package-includes ul {
    list-style: none;
    padding: 0;
}

.package-includes li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

.package-includes li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.package-price {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.discounted-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f56a6a;
    margin-right: 0.5rem;
}

.savings {
    display: block;
    font-size: 0.9rem;
    color: #4CAF50;
    font-weight: bold;
    margin-top: 0.5rem;
}

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

/* Safety info */
.safety-info {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.safety-info h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

/* 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;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .packages-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .package-card {
        padding: 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) {
    .equipment-card {
        margin: 0 0.5rem;
    }
    
    .equipment-info {
        padding: 1rem;
    }
    
    .package-card {
        padding: 1rem;
    }
    
    #wrapper #header .content .inner {
        padding: 1rem;
    }
}

/* Animation for equipment cards */
.equipment-card {
    animation: fadeInUp 0.6s ease-out;
}

.equipment-card:nth-child(2) {
    animation-delay: 0.2s;
}

.equipment-card:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Water sports modal */
.ws-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10050; /* increased to be above header/bg */
}
.ws-modal-overlay.is-visible { display: flex; }

.ws-modal {
    background: #202225;            /* tamnija pozadina kao ostatak sajta */
    color: #eee;                    /* svijetli tekst */
    width: min(620px, 92vw);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}
.ws-modal__header {
    padding: 1rem 1.25rem;
    background: rgba(245,106,106,0.15);      /* akcentna nijansa */
    border-bottom: 1px solid rgba(245,106,106,0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ws-modal__title {
    margin: 0;
    font-size: 1.15rem;
    color: #f56a6a;                           /* akcent */
}
.ws-modal__close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: #f56a6a;
}
.ws-modal__close:hover,
.ws-modal__close:focus {
    color: #ff8a8a;
}
.ws-modal__body {
    padding: 1.25rem;
    color: #ddd;
}
.ws-modal__body p { margin: 0 0 0.8rem 0; }

.ws-modal__actions {
    padding: 0 1.25rem 1.25rem 1.25rem;
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}