/* StellarStay - Luxury Landing Page Styles */

/* CSS Variables for Color Palette */
:root {
    --navy-blue: #001F3F;
    --gold: #FFD700;
    --cream: #FFFFF0;
    --dark-gold: #B8860B;
    --light-navy: #003366;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #6C757D;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--cream);
    background-color: var(--navy-blue);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--cream);
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Top Bar */
.top-bar {
    background-color: var(--light-navy);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.top-bar-text {
    color: var(--cream);
    font-weight: 500;
}

.top-bar-text i {
    color: var(--gold);
}

/* Header */
.header {
    background-color: var(--navy-blue);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand .logo {
    font-size: 2rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--cream) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--gold) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border-color: var(--gold);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 215, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.7) 0%, rgba(0, 51, 102, 0.5) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--cream);
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: var(--navy-blue);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
    color: var(--navy-blue);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    border: none;
    color: var(--navy-blue);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--dark-gold), var(--gold));
    color: var(--navy-blue);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--gold);
    color: var(--navy-blue);
    border-color: var(--gold);
}

/* Featured Properties */
.featured-properties {
    background-color: var(--light-gray);
    color: var(--navy-blue);
}

.featured-properties .section-title {
    color: var(--navy-blue);
}

.featured-properties .section-subtitle {
    color: var(--dark-gray);
}

.property-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.property-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.property-location {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255, 215, 0, 0.9);
    color: var(--navy-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    color: var(--navy-blue);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.property-description {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.property-price {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Experiences Section */
.experiences {
    background-color: var(--navy-blue);
}

.experience-card {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.experience-card:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

.experience-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.experience-card h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.experience-card p {
    color: var(--cream);
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    background-color: var(--light-gray);
    color: var(--navy-blue);
}

.testimonials .section-title {
    color: var(--navy-blue);
}

.testimonials .section-subtitle {
    color: var(--dark-gray);
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

.author-info h5 {
    color: var(--navy-blue);
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.author-info span {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Gallery */
.gallery {
    background-color: var(--navy-blue);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 300px;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--navy-blue) 100%);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--cream);
    padding: 1rem;
    border-radius: 10px;
    height: 56px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 240, 240, 0.7);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
    color: var(--cream);
}

.newsletter-form .btn {
    height: 56px;
    border-radius: 10px;
}

/* Footer */
.footer {
    background-color: var(--light-navy);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer h5 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--gold);
    opacity: 1;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy-blue);
    transform: translateY(-3px);
}

/* Bottom Bar */
.bottom-bar {
    background-color: var(--navy-blue);
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 0.9rem;
}

.bottom-bar p {
    color: var(--cream);
    opacity: 0.8;
}

.bottom-bar a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-bar a:hover {
    color: var(--dark-gold);
    text-decoration: underline;
}

/* Modal Styles */
.modal-content {
    background-color: var(--navy-blue);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.modal-title {
    color: var(--gold);
}

.btn-close {
    filter: invert(1);
}

.modal-body .form-control,
.modal-body .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--cream);
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
    color: var(--cream);
}

.modal-body .form-label {
    color: var(--cream);
    font-weight: 500;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
    
    .top-bar .text-end {
        text-align: left !important;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .property-card {
        margin-bottom: 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gold);
}
