/*
 * La Paz Vacation House - Casa Sol y Agua
 * Modern, beautiful CSS for the vacation rental site
 */

/* ==========================
   CSS VARIABLES & RESET
   ========================== */
:root {
    /* Brand Colors - Warm sunset tones */
    --lpvh-primary: #E67E22;        /* Warm orange */
    --lpvh-primary-dark: #D35400;   /* Darker orange */
    --lpvh-secondary: #16A085;      /* Teal/ocean */
    --lpvh-accent: #F39C12;         /* Golden yellow */
    --lpvh-dark: #2C3E50;           /* Deep blue-gray */
    --lpvh-light: #ECF0F1;          /* Light gray */
    --lpvh-white: #FFFFFF;
    --lpvh-cream: #FDF6E3;          /* Warm cream background */
    --lpvh-sand: #F5E6D3;           /* Sand color */
    
    /* Typography */
    --lpvh-font-display: 'Playfair Display', Georgia, serif;
    --lpvh-font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --lpvh-section-pad: 80px;
    --lpvh-container-max: 1200px;
    --lpvh-border-radius: 12px;
    --lpvh-shadow: 0 10px 40px rgba(0,0,0,0.1);
    --lpvh-shadow-hover: 0 15px 50px rgba(0,0,0,0.15);
}

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

/* ==========================
   BASE STYLES
   ========================== */
body.lpvh-page {
    font-family: var(--lpvh-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--lpvh-dark);
    background-color: var(--lpvh-white);
    -webkit-font-smoothing: antialiased;
}

body.lpvh-page h1,
body.lpvh-page h2,
body.lpvh-page h3,
body.lpvh-page h4 {
    font-family: var(--lpvh-font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--lpvh-dark);
}

body.lpvh-page h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

body.lpvh-page h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

body.lpvh-page h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 0.8rem;
}

body.lpvh-page p {
    margin-bottom: 1.2rem;
    color: #555;
}

body.lpvh-page a {
    color: var(--lpvh-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

body.lpvh-page a:hover {
    color: var(--lpvh-primary-dark);
}

body.lpvh-page img {
    max-width: 100%;
    height: auto;
    border-radius: var(--lpvh-border-radius);
}

/* ==========================
   CONTAINER
   ========================== */
.lpvh-container {
    max-width: var(--lpvh-container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.lpvh-container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================
   NAVIGATION
   ========================== */
.lpvh-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.lpvh-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: var(--lpvh-container-max);
    margin: 0 auto;
}

.lpvh-logo {
    display: flex;
    flex-direction: column;
}

.lpvh-logo a {
    text-decoration: none;
    color: var(--lpvh-dark);
}

.lpvh-logo-main {
    font-family: var(--lpvh-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lpvh-primary);
    line-height: 1.2;
}

.lpvh-logo-sub {
    font-family: var(--lpvh-font-body);
    font-size: 0.85rem;
    color: var(--lpvh-secondary);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lpvh-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.lpvh-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--lpvh-dark);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.lpvh-menu li a:hover,
.lpvh-menu li a.active {
    background: var(--lpvh-primary);
    color: var(--lpvh-white);
}

/* Mobile menu toggle */
.lpvh-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--lpvh-dark);
}

@media (max-width: 768px) {
    .lpvh-menu-toggle {
        display: block;
    }
    .lpvh-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--lpvh-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 4px;
    }
    .lpvh-menu.active {
        display: flex;
    }
    .lpvh-menu li a {
        border-radius: 8px;
    }
}

/* ==========================
   HERO SECTION
   ========================== */
.lpvh-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--lpvh-white);
    overflow: hidden;
}

.lpvh-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.lpvh-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.1) 50%,
        rgba(0,0,0,0.5) 100%
    );
}

.lpvh-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
    animation: fadeInUp 1s ease;
}

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

.lpvh-hero-label {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(230, 126, 34, 0.9);
    color: var(--lpvh-white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 24px;
}

.lpvh-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--lpvh-white);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.lpvh-hero-subtitle {
    font-family: var(--lpvh-font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: rgba(255,255,255,0.95);
    margin-bottom: 32px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.lpvh-hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.lpvh-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lpvh-btn-primary {
    background: var(--lpvh-primary);
    color: var(--lpvh-white);
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.4);
}

.lpvh-btn-primary:hover {
    background: var(--lpvh-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(230, 126, 34, 0.5);
    color: var(--lpvh-white);
}

.lpvh-btn-outline {
    background: transparent;
    color: var(--lpvh-white);
    border: 2px solid var(--lpvh-white);
}

.lpvh-btn-outline:hover {
    background: var(--lpvh-white);
    color: var(--lpvh-dark);
    transform: translateY(-2px);
}

.lpvh-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================
   SECTIONS
   ========================== */
.lpvh-section {
    padding: var(--lpvh-section-pad) 0;
}

.lpvh-section-alt {
    background: var(--lpvh-cream);
}

.lpvh-section-dark {
    background: var(--lpvh-dark);
    color: var(--lpvh-white);
}

.lpvh-section-dark h2,
.lpvh-section-dark h3 {
    color: var(--lpvh-white);
}

.lpvh-section-dark p {
    color: rgba(255,255,255,0.85);
}

.lpvh-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.lpvh-section-label {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(230, 126, 34, 0.1);
    color: var(--lpvh-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
}

.lpvh-section-header h2 {
    margin-bottom: 16px;
}

.lpvh-section-header p {
    font-size: 1.1rem;
    color: #777;
}

.lpvh-section-dark .lpvh-section-header p {
    color: rgba(255,255,255,0.8);
}

/* ==========================
   FEATURES GRID
   ========================== */
.lpvh-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.lpvh-feature-card {
    background: var(--lpvh-white);
    padding: 40px 30px;
    border-radius: var(--lpvh-border-radius);
    text-align: center;
    box-shadow: var(--lpvh-shadow);
    transition: all 0.3s ease;
}

.lpvh-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lpvh-shadow-hover);
}

.lpvh-feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.lpvh-feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.lpvh-feature-card p {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================
   CONTENT BLOCKS
   ========================== */
.lpvh-content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lpvh-content-block.reverse {
    direction: rtl;
}

.lpvh-content-block.reverse > * {
    direction: ltr;
}

.lpvh-content-image {
    position: relative;
    border-radius: var(--lpvh-border-radius);
    overflow: hidden;
    box-shadow: var(--lpvh-shadow);
}

.lpvh-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.lpvh-content-image:hover img {
    transform: scale(1.05);
}

.lpvh-content-text h2 {
    margin-bottom: 20px;
}

.lpvh-content-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .lpvh-content-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================
   GALLERY
   ========================== */
.lpvh-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.lpvh-gallery-item {
    position: relative;
    border-radius: var(--lpvh-border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.lpvh-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.lpvh-gallery-item:hover img {
    transform: scale(1.1);
}

.lpvh-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--lpvh-white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lpvh-gallery-item:hover .lpvh-gallery-overlay {
    opacity: 1;
}

.lpvh-gallery-overlay h4 {
    color: var(--lpvh-white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.lpvh-gallery-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================
   VIDEO WRAPPER
   ========================== */
.lpvh-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--lpvh-border-radius);
    box-shadow: var(--lpvh-shadow);
}

.lpvh-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--lpvh-border-radius);
}

/* ==========================
   TEXT BOX / CARD
   ========================== */
.lpvh-text-box {
    background: var(--lpvh-white);
    padding: 40px;
    border-radius: var(--lpvh-border-radius);
    box-shadow: var(--lpvh-shadow);
    margin-bottom: 30px;
}

.lpvh-text-box h3 {
    color: var(--lpvh-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--lpvh-sand);
}

.lpvh-text-box p:last-child {
    margin-bottom: 0;
}

/* ==========================
   CALENDAR PAGE
   ========================== */
.lpvh-calendar-placeholder {
    background: var(--lpvh-white);
    padding: 60px;
    border-radius: var(--lpvh-border-radius);
    box-shadow: var(--lpvh-shadow);
    text-align: center;
}

.lpvh-calendar-placeholder h3 {
    color: var(--lpvh-primary);
    margin-bottom: 20px;
}

/* ==========================
   CONTACT PAGE
   ========================== */
.lpvh-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.lpvh-contact-info h3 {
    color: var(--lpvh-primary);
    margin-bottom: 20px;
}

.lpvh-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.lpvh-contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.lpvh-contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--lpvh-dark);
}

.lpvh-contact-item p {
    color: #777;
    margin: 0;
}

.lpvh-contact-form {
    background: var(--lpvh-white);
    padding: 40px;
    border-radius: var(--lpvh-border-radius);
    box-shadow: var(--lpvh-shadow);
}

.lpvh-form-group {
    margin-bottom: 24px;
}

.lpvh-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--lpvh-dark);
    font-size: 0.95rem;
}

.lpvh-form-group input,
.lpvh-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--lpvh-font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.lpvh-form-group input:focus,
.lpvh-form-group textarea:focus {
    outline: none;
    border-color: var(--lpvh-primary);
}

.lpvh-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

@media (max-width: 768px) {
    .lpvh-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================
   HOST PROFILE
   ========================== */
.lpvh-host-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
}

.lpvh-host-photo {
    border-radius: var(--lpvh-border-radius);
    overflow: hidden;
    box-shadow: var(--lpvh-shadow);
}

.lpvh-host-photo img {
    width: 100%;
    display: block;
    border-radius: 0;
}

.lpvh-host-bio h2 {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .lpvh-host-profile {
        grid-template-columns: 1fr;
    }
    .lpvh-host-photo {
        max-width: 250px;
        margin: 0 auto;
    }
}

/* ==========================
   ATTRACTION CARDS
   ========================== */
.lpvh-attractions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.lpvh-attraction-card {
    background: var(--lpvh-white);
    border-radius: var(--lpvh-border-radius);
    overflow: hidden;
    box-shadow: var(--lpvh-shadow);
    transition: all 0.3s ease;
}

.lpvh-attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lpvh-shadow-hover);
}

.lpvh-attraction-image {
    height: 220px;
    overflow: hidden;
}

.lpvh-attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.lpvh-attraction-card:hover .lpvh-attraction-image img {
    transform: scale(1.1);
}

.lpvh-attraction-content {
    padding: 30px;
}

.lpvh-attraction-content h3 {
    margin-bottom: 10px;
    color: var(--lpvh-dark);
}

.lpvh-attraction-content p {
    color: #777;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==========================
   TESTIMONIALS
   ========================== */
.lpvh-testimonial {
    background: var(--lpvh-white);
    padding: 50px;
    border-radius: var(--lpvh-border-radius);
    box-shadow: var(--lpvh-shadow);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lpvh-testimonial-text {
    font-family: var(--lpvh-font-display);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--lpvh-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.lpvh-testimonial-author {
    font-weight: 700;
    color: var(--lpvh-primary);
}

/* ==========================
   FOOTER
   ========================== */
.lpvh-footer {
    background: var(--lpvh-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.lpvh-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.lpvh-footer-brand h3 {
    color: var(--lpvh-white);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.lpvh-footer-brand p {
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.lpvh-footer-links h4 {
    color: var(--lpvh-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--lpvh-font-body);
    font-weight: 700;
}

.lpvh-footer-links ul {
    list-style: none;
}

.lpvh-footer-links li {
    margin-bottom: 12px;
}

.lpvh-footer-links a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}

.lpvh-footer-links a:hover {
    color: var(--lpvh-primary);
}

.lpvh-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
}

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

/* ==========================
   ANIMATIONS
   ========================== */
.lpvh-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.lpvh-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================
   SCROLLBAR
   ========================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--lpvh-light);
}

::-webkit-scrollbar-thumb {
    background: var(--lpvh-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--lpvh-primary-dark);
}

/* ==========================
   UTILITY CLASSES
   ========================== */
.lpvh-text-center {
    text-align: center;
}

.lpvh-text-primary {
    color: var(--lpvh-primary);
}

.lpvh-mt-0 { margin-top: 0; }
.lpvh-mb-0 { margin-bottom: 0; }
