/* NVW - Napa Valley Wineries Website Styles */
/* Original Clean Color Scheme */

/* CSS Variables */
:root {
    --primary-burgundy: #7d1e3f;
    --secondary-burgundy: #5d1830;
    --cream: #f9f7f5;
    --white: #ffffff;
    --dark-text: #202026;
    --gray-light: #e8e8e8;
    --gray-medium: #6b6b6b;
    --gold: #c9a961;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(125, 30, 63, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--dark-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-burgundy);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-burgundy);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--primary-burgundy);
    color: var(--primary-burgundy);
}

.lang-btn.active {
    background-color: var(--primary-burgundy);
    color: var(--white);
    border-color: var(--primary-burgundy);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Lato', sans-serif;
}

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

.btn-primary:hover {
    background-color: var(--secondary-burgundy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(125, 30, 63, 0.3);
}

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

.btn-secondary:hover {
    background-color: #b38950;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-text {
    background: none;
    color: var(--primary-burgundy);
    padding: 0.5rem 0;
    font-weight: 600;
}

.btn-text:hover {
    color: var(--secondary-burgundy);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-image img,
.hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-burgundy), var(--secondary-burgundy));
    color: var(--white);
    padding: 5rem 0 3rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--cream);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-burgundy);
}

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

.section-subtitle {
    font-style: italic;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

/* Testimonial Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.testimonial-image img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--gray-medium);
}

/* Video Section */
.video-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.video-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.video-content p {
    margin-bottom: 2rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Story Grid */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.story-image img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-founder {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary-burgundy);
    margin: 0 0 0.75rem;
    font-weight: 700;
}

.story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.story-images img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-burgundy);
    margin-bottom: 1rem;
}

.feature-card ul {
    list-style: none;
    padding-left: 0;
}

.feature-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: var(--primary-burgundy);
    margin-bottom: 1.5rem;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--cream);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-burgundy);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-content h3 {
    color: var(--primary-burgundy);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-content p {
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--primary-burgundy);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-burgundy);
    text-decoration: underline;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    color: var(--primary-burgundy);
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

/* Footer */
.footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-column p {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-burgundy);
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--gold);
    transform: scale(1.1);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
}

.privacy-notice {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    color: var(--gray-light);
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-burgundy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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



/* AI Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-burgundy), var(--secondary-burgundy));
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 6px 30px rgba(125, 30, 63, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(125, 30, 63, 0.6);
}

.chatbot-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.chatbot-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-height: 600px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(125, 30, 63, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chatbot-container.active {
    display: flex;
}

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

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

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-burgundy), var(--secondary-burgundy));
    color: var(--white);
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 300px;
    max-height: 400px;
    background: var(--cream);
}

.chatbot-message {
    max-width: 80%;
    padding: 0.875rem 1.125rem;
    border-radius: 16px;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.bot-message {
    background: linear-gradient(135deg, var(--white), rgba(249, 247, 245, 0.9));
    backdrop-filter: blur(10px);
    align-self: flex-start;
    border: 1px solid rgba(125, 30, 63, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.user-message {
    background: linear-gradient(135deg, var(--primary-burgundy), var(--secondary-burgundy));
    color: var(--white);
    align-self: flex-end;
    box-shadow: 0 2px 10px rgba(125, 30, 63, 0.3);
}

.chatbot-message p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.chatbot-quick-questions {
    padding: 0.75rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: var(--white);
    border-top: 1px solid rgba(125, 30, 63, 0.1);
}

.quick-question {
    background: var(--cream);
    border: 1px solid var(--primary-burgundy);
    color: var(--primary-burgundy);
    padding: 0.5rem 0.875rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-question:hover {
    background: var(--primary-burgundy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(125, 30, 63, 0.3);
}

.chatbot-input-container {
    display: flex;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    background: var(--white);
    border-top: 1px solid rgba(125, 30, 63, 0.1);
}

.chatbot-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(125, 30, 63, 0.2);
    border-radius: 25px;
    outline: none;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(249, 247, 245, 0.5);
}

.chatbot-input:focus {
    border-color: var(--primary-burgundy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(125, 30, 63, 0.1);
}

.chatbot-send {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-burgundy), var(--secondary-burgundy));
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(125, 30, 63, 0.4);
}

/* Glassmorphism effects */
.feature-card,
.blog-card,
.contact-form-wrapper,
.faq-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(125, 30, 63, 0.1);
}

.podcast-player {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 247, 245, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(125, 30, 63, 0.15);
}

/* Video container */
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

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

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Podcast Section */
.podcast-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.podcast-description {
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin: 1rem auto 2.5rem;
    max-width: 700px;
    line-height: 1.8;
}

.podcast-player {
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(125, 30, 63, 0.15);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(125, 30, 63, 0.1);
    position: relative;
}

.podcast-player::before {
    content: '🎙️';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    background: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--cream);
}

.podcast-player audio {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    display: block;
    border-radius: 50px;
    outline: none;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

/* Enhanced audio player styling */
.podcast-player audio::-webkit-media-controls-panel {
    background-color: var(--primary-burgundy);
    border-radius: 50px;
}

.podcast-player audio::-webkit-media-controls-play-button {
    background-color: var(--white);
    border-radius: 50%;
}

.podcast-player audio::-webkit-media-controls-current-time-display,
.podcast-player audio::-webkit-media-controls-time-remaining-display {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.podcast-player audio::-webkit-media-controls-timeline {
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.3);
}

.podcast-player audio::-webkit-media-controls-volume-slider {
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.3);
}

.podcast-links {
    margin-top: 3rem;
}

.podcast-links h3 {
    color: var(--primary-burgundy);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.podcast-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.podcast-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    min-width: 160px;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.podcast-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
    border-color: var(--primary-burgundy);
}

.podcast-buttons .btn i {
    font-size: 1.3rem;
}

/* Enhanced Mobile Optimization */
@media (max-width: 768px) {

    /* Improved touch targets for mobile */
    .btn {
        min-height: 44px;
        /* iOS recommended touch target */
        padding: 0.75rem 1.5rem;
    }

    .nav-link {
        padding: 0.75rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .lang-btn {
        min-height: 44px;
        padding: 0.5rem 1rem;
    }

    /* Podcast mobile optimization */
    .podcast-player {
        padding: 2rem 1rem 1.5rem;
        margin-top: 2rem;
    }

    .podcast-player::before {
        top: -20px;
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .podcast-player audio {
        max-width: 100%;
        height: 50px;
    }

    .podcast-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .podcast-buttons .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .podcast-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .podcast-links h3 {
        font-size: 1.2rem;
    }
}

/* iPhone Specific Optimizations */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) {

    /* iPhone X, XS, 11 Pro, 12 Mini, 13 Mini */
    .hero {
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    /* Safe area for notched iPhones */
    .header {
        padding-top: env(safe-area-inset-top);
    }

    .nav-menu.active {
        padding-top: calc(2rem + env(safe-area-inset-top));
    }
}

@media only screen and (min-device-width: 414px) and (max-device-width: 896px) and (-webkit-min-device-pixel-ratio: 2) {

    /* iPhone 11, XR */
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-width: 926px) and (-webkit-min-device-pixel-ratio: 3) {

    /* iPhone 12 Pro Max, 13 Pro Max, 14 Plus, 14 Pro Max */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 24px;
    }
}

/* Android Specific Optimizations */
@media only screen and (max-width: 768px) and (orientation: portrait) {

    /* Android phones portrait mode */
    .mobile-menu-toggle {
        -webkit-tap-highlight-color: transparent;
    }

    /* Prevent text size adjustment */
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Smooth scrolling on Android */
    html {
        -webkit-overflow-scrolling: touch;
    }

    /* Optimize images for Android */
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .video-section,
    .testimonial-grid,
    .story-grid {
        gap: 2rem;
    }

    .podcast-buttons .btn {
        min-width: 180px;
    }
}

/* iPad Specific */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {

    /* iPad Pro, Air */
    .testimonial-grid,
    .story-grid,
    .video-section {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Desktop Optimizations */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        align-items: flex-start;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav .btn-primary {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .testimonial-grid,
    .video-section,
    .story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section {
        padding: 3rem 0;
    }

    /* Mobile video container */
    .video-container {
        padding-bottom: 75%;
        /* Taller on mobile */
    }

    /* Mobile story images */
    .story-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero {
        height: 50vh;
        min-height: 400px;
    }

    .page-hero h1 {
        font-size: 1.75rem;
    }

    .page-hero {
        padding: 4rem 0 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }

    /* Smaller podcast player on small phones */
    .podcast-player {
        padding: 1.5rem 0.75rem 1.25rem;
        margin-top: 1.5rem;
    }

    .podcast-player::before {
        top: -18px;
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .podcast-player audio {
        max-width: 100%;
        height: 45px;
    }

    .podcast-links {
        margin-top: 2rem;
    }

    .podcast-links h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .podcast-buttons .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .podcast-buttons .btn i {
        font-size: 1.1rem;
    }

    /* Footer adjustments */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    /* WhatsApp and Chatbot mobile */
    .whatsapp-float {
        bottom: 90px;
        right: 1rem;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }

    .chatbot-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .chatbot-toggle {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .chatbot-container {
        position: fixed;
        width: calc(100vw - 2rem);
        max-width: 400px;
        left: 1rem;
        right: 1rem;
        bottom: 80px;
        height: 60vh;
        max-height: 500px;
        border-radius: 15px;
    }

    .chatbot-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Landscape mode optimizations for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .page-hero {
        padding: 3rem 0 2rem;
    }

    .section {
        padding: 2rem 0;
    }
}

/* Booking CTA Card */
.booking-cta-card {
    background: linear-gradient(135deg, rgba(125, 30, 63, 0.95) 0%, rgba(201, 169, 97, 0.95) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.booking-cta-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.booking-cta-card p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.booking-cta-card .btn-primary.btn-large {
    background: white;
    color: #7d1e3f;
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.booking-cta-card .btn-primary.btn-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: #f8f8f8;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 160px;
    /* Above WhatsApp and Chatbot */
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: var(--primary-burgundy);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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

@media (max-width: 480px) {
    .back-to-top {
        bottom: 155px;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
