/* Base Body */
body {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Navbar Overrides */
.navbar {
    border-bottom: 1px solid #ddd;
}
.nav-link.active,
.nav-link:hover {
    color: #198754 !important;
    font-weight: 600;
}
.navbar-brand img {
    height: 100px;
    width: auto;
    animation: pulse 3s infinite ease-in-out;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    height: 600px;
    z-index: 1;
}
.hero-bg {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.hero-text {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.15);
    opacity: 0; animation: fadeInDown 3s ease-out forwards;
}
.hero-wave {
    width: 100%; height: 90px;
    position: absolute; left: 0;
    pointer-events: none; z-index: 5;
}
.hero-wave-top {
    position: absolute; top: -1px; left: 0;
    transform: scaleY(-1); animation: waveMovementTop 2s infinite ease-in-out;
}
.hero-wave-bottom {
    bottom: 0; animation: waveMovement 2s infinite ease-in-out;
}

/* Tour Section */
.tour-section {
    position: relative;
    padding: 5rem 0;
    color: #fff;
    overflow: hidden;
    min-height: 450px;
}

.tour-section .bubbles {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Bubbles */
.bubble {
    position: absolute;
    bottom: -50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0.7;
    animation: bubbleRise 8s linear infinite;
}

/* Vary bubble positions and delays */
.bubbles .bubble:nth-child(1) {
    width: 30px; height: 30px; left: 10%;
    animation-delay: 0s;
}
.bubbles .bubble:nth-child(2) {
    width: 40px; height: 40px; left: 25%;
    animation-delay: 2s;
}
.bubbles .bubble:nth-child(3) {
    width: 35px; height: 35px; left: 50%;
    animation-delay: 4s;
}
.bubbles .bubble:nth-child(4) {
    width: 45px; height: 45px; left: 70%;
    animation-delay: 6s;
}
.bubbles .bubble:nth-child(5) {
    width: 25px; height: 25px; left: 85%;
    animation-delay: 1s;
}

@keyframes bubbleRise {
    0% {
        transform: translateY(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-100px);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-200px);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-300px);
        opacity: 0.4;
    }
    100% {
        transform: translateY(-400px);
        opacity: 0;
    }
}

.tour-section .container {
    position: relative;
    z-index: 2;
}
.tour-section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    animation: fadeInTitle 1.5s ease-out;
}
.tour-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInText 2s ease-out;
}
.tour-section .btn-success {
    background-color: #198754;
    color: #fff;
    padding: 12px 24px;
    font-size: 1.25rem;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInCTA 2.5s ease-out;
}
.tour-section .btn-success:hover {
    background-color: #146c43;
}

/* CONTACT GRID */
.contact-grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 320px 1fr;
    }
}

/* PANELS */
.contact-panel {
    background: #fff;
    border-radius: .5rem;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.contact-panel h3 {
    color: #198754;
    margin-bottom: 1.5rem;
}

/* CONTACT INFO */
.contact-panel p {
    margin-bottom: 1rem;
    font-size: .95rem;
}
.contact-panel p i {
    color: #198754;
    margin-right: .5rem;
}

/* FORM PANEL */
.form-panel form {
    display: flex;
    flex-direction: column;
}
.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 576px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-grid .full {
        grid-column: 1 / -1;
    }
}
.form-group label {
    font-weight: 600; margin-bottom: .25rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: .75rem;
    border: 1px solid #ccc;
    border-radius: .375rem;
    transition: border-color .3s, box-shadow .3s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #198754;
    box-shadow: 0 0 0 .2rem rgba(25,135,84,0.25);
}

/* MAP SECTION */
.map-section {
    background: #f3f7fa; padding: 2rem 0;
}
.map-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.map-header {
    background: #198754; color: #fff;
    padding: .75rem 1.5rem;
}
.map-header h4 {
    margin: 0; font-size: 1.1rem;
}
.map-container iframe {
    width: 100%; height: 400px; border: 0;
}

/* Footer */
footer {
    text-align: center;
    background: #fff;
    padding: 2rem 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}
footer small {
    color: #777; font-size: .9rem;
}

/* Animations */
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes waveMovement {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}
@keyframes waveMovementTop {
    0%,100% { transform: scaleY(-1) translateY(0); }
    50% { transform: scaleY(-1) translateY(10px); }
}
@keyframes pulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInTitle {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInCTA {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
