/*
Theme Name: Quilmana Escapes
Theme URI: https://github.com/javierarteagagonzales/theme-qu
Author: Antigravity AI
Author URI: https://github.com/javierarteagagonzales/theme-qu
Description: A production-ready WordPress theme for Quilmaná, Cañete (Peru). Focused on nature, gastronomy, and short getaways.
Version: 1.0.0
Text Domain: quilmana
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

html {
    scroll-behavior: smooth;
}

:root {
    /* Color Palette from Logo */
    --primary: #0082B4;
    /* Creative Blue */
    --primary-light: #4ABAD9;
    --secondary: #C82270;
    /* Vibrant Magenta */
    --accent: #00A3A0;
    /* Modern Teal */
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-s: 1rem;
    --space-m: 2rem;
    --space-l: 4rem;
    --space-xl: 8rem;

    /* Effects */
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.05);
    --glass: rgba(255, 255, 255, 0.8);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    margin-top: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-s);
}

.section-padding {
    padding: var(--space-l) 0;
}

/* Visibility Rules */
.desktop-menu {
    display: block;
}

#mobile-nav {
    display: none;
}

@media (max-width: 992px) {
    .desktop-menu {
        display: none;
    }

    #mobile-nav {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 90, 39, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: #d4a03a;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.btn-whatsapp-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.btn-whatsapp-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #25D366;
    color: #25D366;
}

/* Header & Navigation - Premium Design */
.site-header {
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sticky-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding img {
    height: 45px;
    width: auto;
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-menu a:hover {
    opacity: 1;
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    border: none;
    background: none;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    z-index: 2000;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition-smooth);
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    position: absolute;
    transition: var(--transition-smooth);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.menu-toggle.is-active .hamburger {
    background: transparent;
}

.menu-toggle.is-active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.is-active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: var(--space-l);
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay .nav-menu {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
}

.mobile-nav-overlay .nav-menu a {
    font-size: 2rem;
    text-transform: none;
    font-family: var(--font-heading);
}

.mobile-nav-overlay .nav-menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.mobile-nav-overlay.is-open .nav-menu li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay for menu items */
.mobile-nav-overlay.is-open li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav-overlay.is-open li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav-overlay.is-open li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav-overlay.is-open li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav-overlay.is-open li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav-overlay.is-open li:nth-child(6) {
    transition-delay: 0.6s;
}

/* Footer */
.site-footer {
    background-color: var(--primary);
    color: var(--bg-white);
}

.site-footer h2,
.site-footer h3 {
    color: var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-l);
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-newsletter input {
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-family: var(--font-body);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-s) 0;
    font-size: 0.85rem;
}

.legal-nav {
    display: flex;
    gap: 20px;
}

/* Floating Actions - Premium FAB */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column-reverse;
    /* Icons stacked upwards */
    gap: 15px;
    z-index: 2000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
}

.floating-whatsapp {
    background: #25D366;
    color: white !important;
    animation: whatsapp-pulse 2s infinite;
}

.floating-whatsapp svg {
    width: 35px;
    height: 35px;
}

.whatsapp-bubble {
    position: absolute;
    right: 80px;
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.floating-whatsapp:hover .whatsapp-bubble {
    opacity: 1;
    transform: translateX(0);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.4);
}

.back-to-top {
    background-color: var(--primary);
    color: white !important;
    width: 50px;
    height: 50px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Grid & Spacing Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-m);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-m);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-m);
}

.mt-m {
    margin-top: var(--space-m);
}

.mt-l {
    margin-top: var(--space-l);
}

.text-center {
    text-align: center;
}

.bg-warm {
    background-color: #F4F1EA;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--bg-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: var(--space-s);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin: 0;
    color: var(--bg-white);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: var(--space-m);
}

.hero-ctas {
    display: flex;
    gap: var(--space-m);
}

.btn-whatsapp-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.btn-whatsapp-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #25D366;
}

/* Feature & Experience Cards */
.feature-card {
    background: var(--bg-white);
    padding: var(--space-m);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: var(--space-s);
}

.experience-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

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

.experience-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.experience-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.experience-price {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 16px 0 0 0;
    font-weight: 600;
}

.experience-info {
    padding: var(--space-m);
}

.btn-text {
    font-weight: 600;
    color: var(--primary);
}

/* CTA Section with Glassmorphism */
.cta-section {
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-l);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.cta-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-l);
}

/* Reveal Transitions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.revelation {
    animation: fadeIn 1s both;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Multi-device */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .desktop-only {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .cta-grid {
        flex-direction: column;
        text-align: center;
    }
}

/* Experience & Single Post Styles */
.experience-header {
    background: var(--bg-white);
    padding-top: var(--space-xl);
}

.experience-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-top: -15px;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: var(--space-s);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.experience-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.highlight-item i {
    color: var(--secondary);
}

.experience-cta-group {
    display: flex;
    align-items: center;
    gap: var(--space-m);
}

.experience-booking-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.experience-hero-img-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-l);
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.booking-widget h3 {
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
}

.w-100 {
    width: 100%;
    text-align: center;
}

.small-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

.includes-list {
    list-style: none;
    padding: 0;
}

.includes-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.includes-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* Booking Page Styles */
.booking-flow {
    display: flex;
    justify-content: space-around;
    position: relative;
    margin-bottom: var(--space-l);
}

.flow-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.flow-step::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: -1;
}

.flow-step:last-child::after {
    display: none;
}

.flow-step h3 {
    margin-top: 15px;
    font-size: 1rem;
    color: #999;
}

.flow-step.active h3 {
    color: var(--primary);
}

.step-number {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: #e0e0e0;
    color: #666;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.flow-step.active .step-number {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(45, 90, 39, 0.3);
}

.big-booking-card {
    padding: var(--space-l);
    background: var(--bg-white);
    max-width: 900px;
    margin: 0 auto;
}

.booking-main-form label {
    font-weight: 600;
}

.booking-main-form input,
.booking-main-form select,
.booking-main-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fdfdfd;
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.trust-item {
    padding: var(--space-m);
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.trust-item h4 {
    margin-bottom: 5px;
}

/* Why Visit Styles */
.reason-item {
    padding: var(--space-m);
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition-smooth);
}

.reason-item:hover {
    transform: translateY(-5px);
}

.reason-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Testimonial Styles */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-m);
}

.testimonial-card {
    padding: var(--space-m);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-card strong {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--primary);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Default Page Content styling */
.page-main-content {
    background: var(--bg-white);
    padding: var(--space-l);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: var(--space-l);
}

.page-main-content p {
    margin-bottom: 25px;
    font-size: 1.15rem;
    line-height: 1.8;
}

.page-header.bg-warm {
    background: #F3F4F6;
}

/* Gallery Hover Label */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-weight: 600;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.gallery-item-wrapper:hover .gallery-caption {
    transform: translateY(0);
}

/* Responsive adjustment */
@media (max-width: 992px) {

    .grid-2,
    .grid-2-1 {
        grid-template-columns: 1fr;
    }

    .experience-header {
        padding-top: var(--space-l);
    }
}

@media (max-width: 768px) {

    .testimonial-grid,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}