/* SevenSeas Hotel - Custom CSS */

/* Color Variables */
:root {
    --gold: #C9A44C;
    --navy: #0E1A2B;
    --white: #FFFFFF;
    --light-gold: #D4B366;
    --dark-navy: #0A141F;
    --text-dark: #333333;
    --text-light: #666666;
    --border-light: #E5E5E5;
}

/* Typography */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--navy);
}

.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-navy { background-color: var(--navy) !important; }

/* Buttons */
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 164, 76, 0.3);
}

.btn-gold:hover {
    background-color: var(--light-gold);
    border-color: var(--light-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 164, 76, 0.4);
}

.btn-navy {
    background-color: var(--navy);
    border-color: var(--navy);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background-color: var(--dark-navy);
    border-color: var(--dark-navy);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-gold {
    color: var(--gold);
    border-color: var(--gold);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 26, 43, 0.8), rgba(201, 164, 76, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Cards */
.card-luxury {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card-luxury:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-luxury .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-luxury:hover .card-img-top {
    transform: scale(1.05);
}

/* Room Cards */
.room-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.room-card .room-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.room-card .room-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(14, 26, 43, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.room-card:hover .room-overlay {
    opacity: 1;
}

.room-card .room-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.room-card:hover .room-info {
    transform: translateY(0);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    margin: 1rem;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--gold);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
}

.testimonial-rating {
    color: var(--gold);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.testimonial-author {
    font-weight: 600;
    color: var(--navy);
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 26, 43, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Forms */
.form-luxury {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
    border: 2px solid var(--border-light);
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 164, 76, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Section Spacing */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--gold), var(--light-gold));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Booking Form */
.booking-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .room-card .room-info {
        position: static;
        transform: none;
        color: var(--text-dark);
        padding: 1rem;
    }
    
    .room-card .room-overlay {
        display: none;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-gold);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-widget a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(201, 164, 76, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-widget a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(201, 164, 76, 0.4);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 95px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.overlay-dark {
    background: rgba(0,0,0,0.5);
}

.overlay-navy {
    background: rgba(14, 26, 43, 0.8);
}

.border-gold {
    border-color: var(--gold) !important;
}

.bg-light-gray {
    background-color: #f8f9fa;
}

/* Responsive Floating Buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 12px;
    }
    
    .whatsapp-widget a,
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .floating-buttons {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-widget a,
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .back-to-top {
        bottom: 70px;
        right: 10px;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .main-footer,
    .whatsapp-widget,
    .back-to-top,
    .floating-buttons {
        display: none !important;
    }
}