/* ==========================================
   ROYAL ROUTES VACATIONS - MASTER STYLESHEET
   ========================================== */

:root {
    --gold: #D4AF37;
    --gold-hover: #C5A059;
    --peach: #FFCBA4;
    --peach-light: #FFE5D9;
    --charcoal: #2C2A29;
    --gray-text: #5A5A5A;
    --white: #FFFFFF;
    --bg-light: #FCFCFC;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--charcoal);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
    background-color: var(--white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    max-height: 100px;
    width: auto;
    display: block;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--charcoal);
    cursor: pointer;
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav > a {
    text-decoration: none;
    color: var(--gray-text);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav > a:hover {
    color: var(--gold);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    text-decoration: none;
    color: var(--gray-text);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.dropdown:hover .dropbtn {
    color: var(--gold);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 6px;
    top: 100%;
    left: 0;
    z-index: 1000;
    padding: 10px 0;
    border-top: 3px solid var(--gold);
}

.dropdown-content a {
    color: var(--charcoal);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    text-transform: none;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-content a:hover {
    background-color: var(--peach-light);
    color: var(--gold);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 10px 0;
    border-top: 3px solid var(--gold);
}

.dropdown-submenu:hover .submenu-content {
    display: block;
}

.has-submenu::after {
    content: ' ▶';
    font-size: 0.65rem;
    float: right;
    line-height: 1.5;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--charcoal);
}

/* ==========================================
   SECTIONS & CARDS
   ========================================== */
.section-container {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

h2.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--charcoal);
}

h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--peach);
    margin: 15px auto 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--gold);
    transition: transform 0.3s;
    display: block;
}

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

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 25px;
    text-align: center;
}

.card-content h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-content p {
    color: var(--gray-text);
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-top: 4px solid var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

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

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--gray-text);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.client-info h4 {
    color: var(--charcoal);
    margin: 0;
    font-size: 1.1rem;
}

.client-info span {
    font-size: 0.8rem;
    color: #888888;
}

/* ==========================================
   FOOTER & FLOATING WIDGETS
   ========================================== */
footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 50px 5%;
    text-align: center;
}

footer p {
    margin: 10px 0;
    color: #CCCCCC;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

.call-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 115px;
    right: 40px;
    background-color: var(--gold);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.call-float:hover {
    transform: scale(1.1);
}

.call-icon {
    width: 28px;
    height: 28px;
    fill: white;
}

/* ==========================================
   MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 900px) {
    header {
        padding: 12px 20px;
    }

    .logo img {
        max-height: 65px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 15px 25px rgba(0,0,0,0.1);
        padding: 15px 0;
        border-top: 1px solid #E0E0E0;
        align-items: flex-start;
        gap: 5px;
    }

    nav.active {
        display: flex;
    }

    nav > a, .dropbtn {
        padding: 12px 20px;
        width: 100%;
        text-align: left;
        box-sizing: border-box;
        font-size: 0.95rem;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        width: 100%;
        background-color: #FAFAFA;
        padding: 0;
        border-top: none;
    }

    .dropdown.mobile-open .dropdown-content {
        display: block !important;
    }

    .dropdown-submenu {
        width: 100%;
    }

    .dropdown-submenu .submenu-content {
        position: static;
        box-shadow: none;
        display: none;
        width: 100%;
        background-color: #F0EFEA;
        padding: 0;
        border-top: none;
    }

    .dropdown-submenu.mobile-open .submenu-content {
        display: block !important;
        padding-left: 15px;
    }

    .dropdown-content a, .submenu-content a {
        padding: 10px 20px;
        font-size: 0.9rem;
        color: var(--charcoal);
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .has-submenu::after {
        content: ' ▼';
        font-size: 0.6rem;
        float: right;
    }

    .hero {
        padding: 100px 15px !important;
    }
    .hero h1 {
        font-size: 2.2rem !important;
    }
    .hero p {
        font-size: 1.1rem !important;
    }
    
    .hero-badges {
        gap: 8px;
    }
    .hero-badge-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .section-container {
        padding: 50px 20px;
    }
    
    h2.section-title {
        font-size: 1.9rem !important;
        margin-bottom: 30px;
    }

    .about-flex {
        flex-direction: column;
        gap: 30px;
    }
    .about-image {
        width: 100%;
        height: 280px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form-container {
        padding: 20px !important;
    }

    .call-float {
        width: 50px;
        height: 50px;
        bottom: 85px;
        right: 20px;
    }
    .call-icon {
        width: 22px;
        height: 22px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 20px;
    }
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}