/* Banustour - Custom Styles */

:root {
    --primary-deep: #122c91;
    --primary-medium: #2a6fdb;
    --accent-aqua: #48d6d2;
    --accent-sky: #81e9e6;
    --accent-yellow: #fefcbf;
    --gradient-ocean: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-medium) 50%, var(--accent-aqua) 100%);
    --gradient-sunset: linear-gradient(135deg, var(--primary-medium) 0%, var(--accent-aqua) 50%, var(--accent-yellow) 100%);
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-heavy: 0 20px 60px rgba(0,0,0,0.25);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Alike', serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

.font-lora {
    font-family: 'Lora', serif;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-deep);
    color: var(--white);
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
    transition: var(--transition);
}

.skip-link:focus {
    top: 0;
    color: var(--white);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(18, 44, 145, 0.95);
    color: var(--white);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--accent-aqua);
}

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

.cookie-banner .btn {
    margin: 0 0.5rem;
    border-radius: 25px;
}

.cookie-banner .btn-outline-light:hover {
    background-color: var(--accent-aqua);
    border-color: var(--accent-aqua);
    color: var(--primary-deep);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(72, 214, 210, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.navbar-brand {
    font-family: 'Alike', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-deep) !important;
    text-decoration: none;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.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%2818, 44, 145, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--primary-deep) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-aqua) !important;
    background-color: rgba(72, 214, 210, 0.1);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
    color: var(--text-dark);
}

.dropdown-item:hover {
    background-color: rgba(72, 214, 210, 0.1);
    color: var(--primary-deep);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-ocean);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Floating elements */
.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-shape:nth-child(1) { 
    top: 20%; 
    left: 10%; 
    animation-delay: 0s; 
}

.floating-shape:nth-child(2) { 
    top: 60%; 
    right: 15%; 
    animation-delay: 2s; 
}

.floating-shape:nth-child(3) { 
    bottom: 30%; 
    left: 20%; 
    animation-delay: 4s; 
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(10deg); 
    }
}

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

/* Buttons */
.btn-ocean {
    background: var(--gradient-sunset);
    border: none;
    color: var(--primary-deep);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
    box-shadow: var(--shadow-light);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-ocean:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: var(--primary-deep);
    filter: brightness(1.1);
}

.btn-ocean:active {
    transform: translateY(-1px);
}

.btn-ocean:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Section Styling */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-deep);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-sunset);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Weather Widget */
.weather-widget {
    background: var(--gradient-sunset);
    border-radius: 20px;
    padding: 2.5rem;
    color: var(--primary-deep);
    text-align: center;
    box-shadow: var(--shadow-medium);
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.weather-widget h3 {
    color: var(--primary-deep);
    margin-bottom: 2rem;
}

.weather-widget h4 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.weather-widget p {
    color: var(--primary-deep);
    opacity: 0.8;
    margin-bottom: 0;
}

/* Yacht Cards */
.yacht-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    margin-bottom: 2rem;
    border: 1px solid rgba(72, 214, 210, 0.1);
}

.yacht-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.yacht-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.yacht-card-content {
    padding: 2rem;
}

.yacht-card h4 {
    color: var(--primary-deep);
    margin-bottom: 1rem;
}

.yacht-card .text-primary {
    color: var(--accent-aqua) !important;
    font-size: 1.2rem;
}

/* Swiper Styles */
.yacht-slider {
    padding: 2rem 0;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-aqua);
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-light);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    background: var(--accent-aqua);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-deep);
}

.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}



/* Mood Selector */
.mood-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mood-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-aqua);
}

.mood-card.selected {
    background: var(--gradient-sunset);
    color: var(--primary-deep);
    border-color: var(--primary-deep);
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.mood-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-aqua);
    transition: var(--transition);
}

.mood-card.selected .mood-icon {
    color: var(--primary-deep);
    transform: scale(1.1);
}

.mood-card h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.mood-card.selected h4,
.mood-card.selected p {
    color: var(--primary-deep);
}

/* Route Map */
.route-map {
    background: var(--primary-deep);
    border-radius: 20px;
    padding: 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map-container {
    position: relative;
    height: 400px;
    background: var(--gradient-ocean);
    border-radius: 15px;
    overflow: hidden;
}

.route-point {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-yellow);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 3px solid var(--white);
}

.route-point:hover {
    transform: scale(1.5);
    background: var(--accent-aqua);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.route-point::after {
    content: attr(data-location);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--primary-deep);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.route-point:hover::after {
    opacity: 1;
    top: -35px;
}

.route-info-popup {
    position: absolute;
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    display: none;
    z-index: 10;
    color: var(--text-dark);
    max-width: 250px;
}

.route-lines {
    pointer-events: none;
}

/* Stories Section */
.story-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.story-card:hover {
    transform: scale(1.05);
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow-heavy);
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.7));
    transition: var(--transition);
}

.story-card:hover::before {
    background: linear-gradient(transparent 20%, rgba(0,0,0,0.8));
}

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

.story-content h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.story-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

.story-content small {
    color: var(--accent-yellow);
    font-weight: 500;
}

/* Wave Decoration */
.wave-decoration {
    position: relative;
    background: var(--accent-sky);
}

.wave-decoration::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

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

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-58,10.79-114.16,30.13-172,41.86C245.21,73.08,183.83,96.39,121.13,96.39S0,73.08,0,48.11V120H1200V95.86C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%23122c91'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.footer h5 {
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
}

.footer h6 {
    color: var(--accent-aqua);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer a {
    color: var(--accent-sky);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-yellow);
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(72, 214, 210, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-aqua);
    color: var(--primary-deep);
    transform: translateY(-2px);
}

/* Contact Form Styles */
.form-control {
    border: 2px solid rgba(72, 214, 210, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-control:focus {
    border-color: var(--accent-aqua);
    box-shadow: 0 0 0 0.2rem rgba(72, 214, 210, 0.25);
    background-color: var(--white);
}

.form-label {
    font-weight: 600;
    color: var(--primary-deep);
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.7rem; }
    
    .weather-widget {
        padding: 1.5rem;
    }
    
    .yacht-card-content {
        padding: 1.5rem;
    }
    
    .mood-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .mood-icon {
        font-size: 2.5rem;
    }
    
    .story-card {
        height: 300px;
    }
    
    .story-content {
        padding: 1.5rem;
    }
    
    .btn-ocean {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .weather-widget {
        padding: 1rem;
    }
    
    .weather-widget .row [class*="col-"] {
        margin-bottom: 1rem;
    }
    
    .cookie-banner {
        padding: 0.8rem;
    }
    
    .cookie-banner .btn {
        margin: 0.2rem;
        font-size: 0.9rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .yacht-card, 
    .mood-card {
        border: 2px solid var(--primary-deep);
    }
    
    .btn-ocean {
        border: 2px solid var(--primary-deep);
    }
    
    .nav-link {
        border: 1px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link.active {
        border-color: var(--accent-aqua);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .floating-shape,
    .yacht-card,
    .mood-card,
    .story-card,
    .btn-ocean,
    .route-point {
        animation: none;
        transition: none;
    }
    
    .hero::before {
        background-attachment: scroll;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --text-dark: #ffffff;
        --text-light: #cccccc;
    }
    
    body {
        background-color: var(--white);
        color: var(--text-dark);
    }
    
    .navbar {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .yacht-card,
    .mood-card {
        background: #2a2a2a;
        border-color: rgba(72, 214, 210, 0.3);
    }
    
    .form-control {
        background-color: #2a2a2a;
        border-color: rgba(72, 214, 210, 0.3);
        color: var(--text-dark);
    }
}

.footer .font-lora{
    color: #fff;
}

.map-info p{
    color: #fff;
}