/* ==========================================================
   MARCO POLO CENTER - SYSTEM CONFIGURATION
   ========================================================== */

:root {
    --bg-dark: #031726;        /* Deep Sea Dark Blue */
    --bg-card: #082136;        /* Dark Blue Card Fill */
    --accent-yellow: #fbc02d;  /* Sun Yellow Accent */
    --accent-aqua: #00b4d8;    /* Vibrant Aqua Accent */
    --accent-highlight: #00d2c4;/* Desktop Hover Highlight */
    --text-light: #ffffff;     /* Pure White */
    --text-muted: #b0c4de;     /* Light Steel Blue */
    --font-primary: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================================
   HEADER & RESPONSIVE GLOBAL NAVIGATION 
   ========================================================== */

.site-header {
    background-color: rgba(3, 23, 38, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-yellow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Unified Logo Branding Group (Left side) */
.site-logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.site-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Navigation Links (Right side) */
.navigation-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.8rem;
}

.navigation-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navigation-links a:hover,
.navigation-links a.active {
    color: var(--accent-yellow);
}

/* Native Hamburger Toggle Element */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.hamburger-bar {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-light);
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================
   MOBILE MEDIA CONTROLS (< 768px Width Screens)
   ========================================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex; 
    }

    .navigation-tray {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 280px; 
        height: 100vh;
        background-color: var(--bg-dark);
        padding: 90px 2rem 2rem 2rem;
        box-sizing: border-box;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.4);
    }

    .navigation-tray.is-open {
        right: 0;
    }

    .navigation-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .navigation-links a {
        font-size: 1.2rem;
        width: 100%;
        display: block;
        padding: 0.5rem 0;
    }

    /* Morphing Icon Animations to X Shape */
    .mobile-menu-toggle.is-open .hamburger-bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .mobile-menu-toggle.is-open .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.is-open .hamburger-bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
}

/* ==========================================================
   HERO BANNER COMPONENT
   ========================================================== */
.hero {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 73px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(3, 23, 38, 0.15) 0%, rgba(3, 23, 38, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); 
}

.hero h1 span {
    color: var(--accent-aqua);
}

.hero .tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.3rem; }
    .hero .tagline { font-size: 1.1rem; }
}

/* ==========================================================
   BUTTON STRUCTURAL ELEMENTS
   ========================================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--accent-yellow);
    color: #000000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-yellow);
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-yellow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

/* ==========================================================
   COMMON CONTENT WRAPPERS
   ========================================================== */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.section-title span {
    color: var(--accent-yellow);
}

/* ==========================================================
   VALUE PILLARS / MULTI-GRID UTILITIES
   ========================================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pillar-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border-top: 4px solid var(--accent-aqua);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

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

.pillar-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(3, 23, 38, 0) 60%, rgba(8, 33, 54, 0.8) 100%);
}

.pillar-content {
    padding: 2rem 1.5rem;
    text-align: center;
}

.pillar-card h3 {
    color: var(--accent-yellow);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================
   INTERMEDIATE TEXT BLOCKS
   ========================================================== */
.mid-section-text {
    max-width: 800px;
    margin: 1.5rem auto 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.mid-section-text h2 {
    color: var(--accent-yellow);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.mid-section-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ==========================================================
   PRICING SCUBA CARDS GRID SETUP
   ========================================================== */
.pricing-group-title {
    color: var(--accent-yellow);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-aqua);
    padding-left: 0.8rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.price-item-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    height: 140px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: inherit;        
}

.price-item-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-yellow);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(3, 23, 38, 0.25); 
    z-index: 1;
}

.card-text-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
}

.price-info h4 {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.price-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.price-cost {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-yellow);
    white-space: nowrap;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* ==========================================================
   FOOTER ELEMENTS
   ========================================================== */
footer {
    background-color: #020f1a;
    padding: 4rem 2rem 2rem;
    border-top: 2px solid var(--accent-yellow);
}

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

.footer-col h4 {
    color: var(--accent-yellow);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-col p, 
.footer-col ul {
    color: var(--text-muted);
    list-style: none;
    font-size: 0.95rem;
}

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

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-aqua);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.social-icons-container a:hover {
    color: var(--accent-aqua) !important; /* Or whatever your theme's highlight color is! */
}

/* ==========================================================
   --- Floating WhatsApp Button ---
   ========================================================== */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* Official WhatsApp Green */
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 2000; /* Keeps it layered above header components */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Size container for the custom SVG icon path */
.whatsapp-icon {
    width: 32px;
    height: 32px;
}

/* Pulse Hover Animation Effect */
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* Smooth repositioning adjustments on smaller screens */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}

.track-section {
    padding: 0 !important; 
    max-width: 100% !important;
    margin: 0 !important;
}
.track-content-inner {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.hero {
    margin-top: 0 !important;
}
#diving .hero {
    margin-top: 73px !important; /* Pushes just the first block below your nav bar */
}