/* Custom CSS for Cayinfoaz Yacht Rentals */

:root {
    --primary-navy: #1B3C53;
    --medium-blue: #456882;
    --muted-beige: #E8988A;
    --soft-background: #F9F3EF;
    --white: #ffffff;
    --dark-text: #2c3e50;
    --light-text: #6c757d;
}

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

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--soft-background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-navy);
    color: white;
    padding: 1rem 0;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

/* Navigation */
.navbar {
    background: rgba(27, 60, 83, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: var(--primary-navy);
    padding: 0.5rem 0;
}

.navbar-brand .brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.navbar-brand img{
    max-width: 200px;
}
html{
    overflow-x: hidden;
}
.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--muted-beige) !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(27, 60, 83, 0.4), rgba(69, 104, 130, 0.4)),
                url('../images/banner.jpg') center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    /* justify-content: center; */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 60, 83, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.9;
}

.hero-buttons .btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
html{
    overflow-x: hidden;
}
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Button Styles */
.btn-primary {
    background: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-navy);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
    background: var(--primary-navy);
    color: white;
    transform: translateY(-2px);
}

/* Featured Yachts Section */
.featured-yachts {
    background: white;
    padding: 5rem 0;
}

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

.yacht-card:hover {
    transform: translateY(-10px);
}

.yacht-image {
    height: 250px;
    overflow: hidden;
}

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

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

.yacht-info {
    padding: 2rem;
}

.yacht-info h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.yacht-specs {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    flex-direction: column;
    color: var(--light-text);
}

.yacht-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    width: 100%;
    justify-content: center;
}
.breadcrumb-item+.breadcrumb-item::before{
    color: #fff;
}
.yacht-card .yacht-specs span {
    justify-content: flex-start;
}

.similar-yacht-card .yacht-specs span{
    justify-content: flex-start;
}

/* Why Choose Us Section */
.why-choose-us {
    background: var(--soft-background);
    padding: 5rem 0;
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

/* Destinations Section */
.destinations {
    background: white;
    padding: 5rem 0;
}

.destination-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.destination-card:hover {
    transform: scale(1.05);
}

.destination-image {
    width: 100%;
    height: 100%;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(27, 60, 83, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.destination-card:hover .destination-overlay {
    transform: translateY(0);
}

.destination-overlay h3 {
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--soft-background);
    padding: 5rem 0;
}

.testimonials-swiper {
    padding-bottom: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

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

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-navy);
}

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

/* Booking Steps Section */
.booking-steps {
    background: white;
    padding: 5rem 0;
}

.step-card {
    position: relative;
    padding: 2rem;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.step-icon {
    font-size: 3rem;
    color: var(--medium-blue);
    margin: 2rem 0 1rem;
}

.step-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq {
    background: var(--soft-background);
    padding: 5rem 0;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: var(--primary-navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-navy);
    color: white;
}

.accordion-body {
    background: white;
    color: var(--dark-text);
}

/* Newsletter Section */
.newsletter {
    background: var(--primary-navy);
    color: white;
    padding: 4rem 0;
}

.newsletter .section-title,
.newsletter .section-subtitle {
    color: white;
}

.newsletter-form {
    max-width: 400px;
}

.newsletter-form .form-control {
    border: none;
    padding: 1rem;
    border-radius: 50px 0 0 50px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 1rem 2rem;
    background: var(--muted-beige);
    color: var(--primary-navy);
    border: none;
    font-weight: 600;
}

.newsletter-form .form-text {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    color: white;
    margin-bottom: 1rem;
}

.footer-heading {
    color: var(--muted-beige);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--muted-beige);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--medium-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--muted-beige);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.contact-item i {
    color: var(--muted-beige);
    margin-top: 0.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--medium-blue);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        border-radius: 50px;
        margin-bottom: 1rem;
    }
    .newsletter-form .form-control, .newsletter-form .btn{
        width: 100%;
        border-radius: 50px!important;
    }
}

/* Additional Page Styles */
.page-header {
    background: linear-gradient(rgba(27, 60, 83, 0.8), rgba(69, 104, 130, 0.8)),
                url('../images/banner.jpg') center/cover;
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}
.yacht-specs-grid .spec-item{
    gap: 10px;
    align-items: center;
}

.yacht-specs-grid .spec-item i{
    font-size: 1rem;
    padding: 10px;
    margin-right: 10px;
    line-height: 1;
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.yacht-specs-grid
.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    justify-content: center;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: var(--muted-beige);
}

.content-section {
    background: white;
    padding: 4rem 0;
}

.yacht-detail-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: end;
    color: white;
    position: relative;
}

.yacht-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(27, 60, 83, 0.8));
}

.yacht-detail-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    width: 100%;
}

.breadcrumb{
    justify-content: flex-start;
}

.breadcrumb-item a{
    text-decoration: none;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.spec-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--soft-background);
    border-radius: 10px;
}

.spec-item i {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.spec-item h4 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.feature-badge {
    background: var(--primary-navy);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.contact-form {
    background: var(--soft-background);
    padding: 2rem;
    border-radius: 15px;
}

.form-control {
    border: 2px solid #e9ecef;
    padding: 1rem;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-navy);
    box-shadow: none;
}

.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h4 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.team-member .position {
    color: var(--light-text);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.bg-navy {
    background-color: var(--primary-navy);
}

.bg-soft {
    background-color: var(--soft-background);
}

.text-navy {
    color: var(--primary-navy);
}

.text-beige {
    color: var(--muted-beige);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}