/* ========== COMPONENT: PRIMARY CTA BUTTON ========== */
.primary-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #FFA07A;
    color: #FFFFFF;
    border: none;
}

.primary-cta-btn:hover {
    background-color: #E8906A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 160, 122, 0.4);
    color: #FFFFFF;
}

.primary-cta-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 160, 122, 0.3);
}

.primary-cta-btn:active {
    transform: scale(0.98);
}

.primary-cta-btn.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ========== COMPONENT: SECONDARY CTA BUTTON ========== */
.secondary-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: transparent;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

.secondary-cta-btn:hover {
    background-color: #4A90E2;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.secondary-cta-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

/* ========== COMPONENT: TERTIARY CTA LINK ========== */
.tertiary-cta-link {
    display: inline-block;
    color: #4A90E2;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.tertiary-cta-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #FFA07A;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.tertiary-cta-link:hover {
    color: #333333;
}

.tertiary-cta-link:hover::after {
    width: 100%;
}

/* ========== COMPONENT: TESTIMONIAL SLIDER ========== */
.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: #4A90E2;
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-family: Georgia, serif;
}

.testimonial-author {
    font-weight: 600;
    color: #4A90E2;
    font-size: 1rem;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #4A90E2;
    background: transparent;
    color: #4A90E2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-arrow:hover {
    background: #4A90E2;
    color: #FFFFFF;
    transform: scale(1.1);
}

.testimonial-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.testimonial-arrow:disabled:hover {
    background: transparent;
    color: #4A90E2;
    transform: none;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #4A90E2;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot.active {
    background: #4A90E2;
    transform: scale(1.2);
}

.testimonial-dot:hover:not(.active) {
    background: rgba(74, 144, 226, 0.3);
}

/* ========== COMPONENT: AMENITY CARD ========== */
.amenity-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.amenity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(74, 144, 226, 0.2);
}

.amenity-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8F8F8 0%, #EEEEEE 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.amenity-card:hover .amenity-icon {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.amenity-icon svg {
    width: 32px;
    height: 32px;
    color: #4A90E2;
    transition: color 0.3s ease;
}

.amenity-card:hover .amenity-icon svg {
    color: #FFFFFF;
}

.amenity-card h4 {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.amenity-card p {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ========== COMPONENT: GALLERY GRID ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: #F8F8F8;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-zoom-icon svg {
    width: 24px;
    height: 24px;
    color: #333333;
}

/* ========== COMPONENT: CONTACT FORM ========== */
.contact-form {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group label .required {
    color: #E53935;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid #F0F0F0;
    border-radius: 8px;
    background: #FAFAFA;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4A90E2;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.form-control::placeholder {
    color: #AAAAAA;
}

.form-control.error {
    border-color: #E53935;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-error-message {
    color: #E53935;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.form-control.error + .form-error-message {
    display: block;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: #E8F5E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success-icon svg {
    width: 32px;
    height: 32px;
    color: #4CAF50;
}

.form-success h3 {
    color: #333333;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #666666;
}

/* ========== COMPONENT: BOOKING FORM ========== */
.booking-form {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.booking-form h2 {
    margin-bottom: 1.5rem;
    color: #333333;
}

.booking-form .form-description {
    color: #666666;
    margin-bottom: 2rem;
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.booking-form .form-group-full {
    grid-column: 1 / -1;
}

.booking-form .form-control {
    background: #FFFFFF;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ========== COMPONENT: ACCORDION ========== */
.accordion {
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.accordion-item {
    border-bottom: 1px solid #F0F0F0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #F8F8F8;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: #666666;
    line-height: 1.7;
}

.accordion-body ul {
    margin: 0.5rem 0 0 1.25rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

/* ========== COMPONENT: MAP PIN ANIMATION ========== */
.map-pin {
    animation: pinPulse 2s ease-in-out infinite;
}

@keyframes pinPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========== RESPONSIVE ADJUSTMENTS FOR COMPONENTS ========== */
@media (max-width: 767px) {
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .booking-form {
        padding: 1.5rem;
    }
    
    .booking-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
