/* mobile-style.css - Mobile-only historic tour layout with portrait video */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #B6A458;     /* Highlight color 1 */
    --secondary: #B6A458;   /* Highlight color 2 */
    --accent: #8B4513;      /* Accent color */
    --light: #F8F7F3;       /* Background light */
    --dark: #222222;        /* Text color */
    --gray: #6B7D7A;        /* Gray color */
    --white: #FFFFFF;       /* White */
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --radius: 10px;
    --transition: all 0.3s ease;
}

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

html, body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark);      /* Updated to #222222 */
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Mobile-only container */
.mobile-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background-color: var(--white);
}

/* Video Section - Portrait/TikTok Style */
.video-container {
    width: 100vw;
    height: 70vh; /* Tall portrait video */
    min-height: 500px;
    max-height: 700px;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill the container */
    object-position: center;
    background-color: #000;
}

/* Video overlay for controls */
.video-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.video-play-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    pointer-events: auto;
    cursor: pointer;
    transition: var(--transition);
}

.video-play-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* Content Section */
.content-wrapper {
    padding: 1.5rem;
    position: relative;
    background-color: var(--white);
}

/* Title Section */
.title-section {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 1rem;
}

.home-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: var(--primary);  /* Using primary highlight color */
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.year-badge {
    display: inline-block;
    background-color: var(--secondary);  /* Using secondary highlight color */
    color: var(--dark);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    box-shadow: var(--shadow);
}

.address {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.address i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 1rem;
}

/* History Section */
.history-section {
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.history-content {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.history-content p {
    margin-bottom: 1rem;
    color: var(--dark);
}

.history-content p:last-child {
    margin-bottom: 0;
}

/* Map Section */
.map-section {
    margin-bottom: 2rem;
}

.map-container {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
}

/* Directions Section - MOVED ABOVE BUTTONS */
.directions-section {
    margin-bottom: 2rem;
}

.directions-box {
    background-color: #f5f2ea;
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
    box-shadow: var(--shadow);
}

.directions-box h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.directions-box h4 i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

/* Replace the existing .next-stop styles with these: */
.next-stop {
    background-color: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 8px rgba(255, 188, 112, 0.15);
}

/* Optional: If you want a more distinct outline style, you can use this alternative: *
.next-stop {
    background-color: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    border: 2px solid var(--primary);
    position: relative;
}

/* For a double outline effect (more decorative): */
/*
.next-stop {
    background-color: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    border: 1px solid var(--primary);
    outline: 1px solid var(--secondary);
    outline-offset: 2px;
}
*/

/* For a simple, clean outline: */
/*
.next-stop {
    background-color: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    border: 1px solid var(--primary);
    box-shadow: 0 0 0 1px var(--secondary);
}
*/
.next-stop h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.next-stop p {
    color: var(--dark);
    font-weight: 500;
}

/* Buttons Section - MOVED BELOW DIRECTIONS */
.buttons-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.tour-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 0.75rem;
    box-shadow: var(--shadow);
}

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

.tour-btn-primary {
    background-color: var(--primary);
    color: var(--dark);
}

.tour-btn-primary:hover, .tour-btn-primary:active {
    background-color: #ffa847;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 188, 112, 0.3);
}

.tour-btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
}

.tour-btn-secondary:hover, .tour-btn-secondary:active {
    background-color: #a4924e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(182, 164, 88, 0.3);
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.logo-image {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 480px) {
    .content-wrapper {
        padding: 1.25rem;
    }
    
    .home-title {
        font-size: 1.6rem;
    }
    
    .video-container {
        height: 65vh;
        min-height: 450px;
    }
    
    .map-container {
        height: 250px;
    }
    
    .logo-image {
        max-width: 200px;
    }
}

@media (min-width: 768px) {
    /* This layout is mobile-only, but we'll add some tablet adjustments */
    .mobile-container {
        max-width: 768px;
        margin: 0 auto;
    }
    
    .video-container {
        max-height: 600px;
    }
    
    .logo-image {
        max-width: 280px;
    }
}

/* Portrait video specific styles */
@media (orientation: portrait) {
    .video-container {
        height: 75vh;
    }
}

@media (orientation: landscape) {
    .video-container {
        height: 85vh;
    }
}

/* Hide on desktop if needed */
@media (min-width: 1024px) {
    .mobile-container {
        display: none;
    }
    
    body:before {
        content: "This layout is designed for mobile viewing only.";
        display: block;
        padding: 2rem;
        text-align: center;
        font-family: 'Poppins', sans-serif;
        color: var(--dark);
        background-color: var(--light);
    }
}

/* Additional CSS to hide map UI elements */
.map-container iframe {
    filter: grayscale(20%) contrast(1.1);
    /* These may help hide some elements but use carefully */
}

/* Hide Google logo (may break ToS - use with caution) */
.map-container {
    position: relative;
    overflow: hidden;
}

.map-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, rgba(255,255,255,0.9) 0%, transparent 100%);
    pointer-events: none;
}