/**
 * Button Styles for Luxury Daily Cruises Theme
 * Contains styles for all buttons and CTAs
 */

/* Base Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Primary Button */
.btn-primary {
    background: #2c5aa0;
    color: white;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-primary:hover {
    background: #1e3f73;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.3);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
}

.btn-outline:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
}

/* White Outline Button (for dark backgrounds) */
.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: #2c5aa0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Secondary Button */
.btn-secondary {
    background: #1a2332;
    color: white;
}

.btn-secondary:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 35, 50, 0.3);
}

/* Large Button */
.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Small Button */
.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Full Width Button */
.btn-full {
    width: 100%;
    display: block;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Button with Icon */
.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-icon i {
    font-size: 1.1rem;
}

/* Animated Button */
.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-animated:hover::before {
    left: 100%;
}

/* Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Book Now Button (Special Styling) */
.btn-book-now {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-book-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
    background: linear-gradient(135deg, #1e3f73 0%, #2c5aa0 100%);
}

.btn-book-now:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

/* Call Button */
.btn-call {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-call i {
    font-size: 1.2rem;
}

.btn-call:hover {
    background: white;
    color: #2c5aa0;
}

/* Front Page Button Alignment */
.text-center {
    text-align: center;
}

.text-center .btn {
    margin: 0 auto;
    display: inline-block;
}

.mt-2 {
    margin-top: 2rem;
}

.about-text .btn {
    margin-top: 1.5rem;
    display: inline-block;
}

.experiences-text .btn {
    margin-top: 1.5rem;
    display: inline-block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-large {
        padding: 0.9rem 2rem;
    }
}
