:root {
    --primary-teal: #2A5A58;   /* From window frames */
    --accent-lime: #76D72F;   /* From logo flower */
    --accent-gold: #F2C94C;   /* From logo center/highlights */
    --bg-dark: #162422;       /* Deep Slate Teal - Clearly not black */
    --card-bg: #1F302E;       /* Muted Forest Green */
    --text-cream: #F2F0E9;    /* Warm Limestone Cream */
    --text-sage: #A5BDB2;     /* Muted Teal-Grey */
    --hemp-green: #598A59;    /* Earthy Hemp Green */
    --text-white: #FFFFFF;
    --text-creme: #E6E2D3;    /* Limestone Creme */
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-cream);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 4%;
    text-align: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collage-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px; /* Bigger gap to show grid */
    background: #000;
    padding: 20px;
    z-index: 0;
    transform: scale(1.1);
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collage-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.slide.active .slide-bg,
.slide.active .collage-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cinematic Vignette + Warm Color Grade */
    background: radial-gradient(circle, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%),
                linear-gradient(rgba(26, 67, 50, 0.1), rgba(26, 67, 50, 0.1)); 
    z-index: 1;
    display: block; /* Bringing back the overlay for cinematic effect */
}

.slide-content {
    position: relative;
    z-index: 10;
    max-width: 80%; /* Wider but shorter */
    padding: 1.5rem 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    text-align: center;
}

/* Typography - Optimized for Signage Distance */
h1 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: var(--accent-lime);
}

.hemp-title {
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.hopes-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--hemp-green);
    text-transform: uppercase;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.hemp-side-leaf {
    width: 0.8em;
    height: 0.8em;
    flex-shrink: 0;
    object-fit: contain;
}

/* Helper Classes */
.hemp-green-text { color: var(--hemp-green) !important; }
.italic-white { 
    font-style: italic; 
    color: var(--text-white) !important;
    font-weight: 700;
}
.creme-text { color: var(--text-creme) !important; }
.white-text { color: var(--text-white) !important; }

h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-lime);
}

h3 {
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--text-cream);
    margin-bottom: 1rem;
}

p {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-sage);
}

.feature-list {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-lime);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}

.slide.active .fade-in {
    animation: fadeIn 1.2s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
}

.slide.active .slide-up {
    animation: slideUp 1.2s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.delay-1 { animation-delay: 0.3s !important; }
.delay-2 { animation-delay: 0.6s !important; }
.delay-3 { animation-delay: 0.9s !important; }

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

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

/* Split Layout for Slide 1 */
.split-container {
    display: flex;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}

.split-container.reverse {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#slide2 .split-image {
    flex: 1.3; /* Give more space to the stacked images */
}

.split-image.stacked {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
}

.stack-item {
    flex: 1;
    width: 100%;
    height: 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stack-item::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.5);
    z-index: 0;
}

.main-split-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

#stack-top .main-split-img,
#stack-bottom .main-split-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.split-image::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.5); /* Reduced blur */
    z-index: 0;
}

.split-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(22, 36, 34, 0) 80%, var(--bg-dark) 100%);
    pointer-events: none;
    z-index: 3;
}

.reverse .split-image::after {
    background: linear-gradient(to left, rgba(22, 36, 34, 0) 80%, var(--bg-dark) 100%);
}

.split-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    text-align: center;
    background: var(--bg-dark);
}

.split-wrapper {
    max-width: 600px;
}

.address-detail {
    font-size: 1.8rem;
    color: var(--text-cream);
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.hours-box {
    background: rgba(42, 90, 88, 0.15);
    border: 1px solid var(--accent-lime);
    padding: 2rem 3rem; /* More horizontal padding */
    border-radius: 20px;
    margin-bottom: 2.5rem;
    display: inline-block;
    min-width: 450px; /* Increased to ensure plenty of space between day and time */
}

.hours-box h3 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 5rem; /* Forced large gap between day and time */
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.hours-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.hours-row .day {
    font-weight: 600;
    color: var(--text-cream);
}

.hours-row .time {
    color: var(--accent-lime);
}

/* Slide 3 Restructuring - Card Layout */
#slide3 {
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

#slide3 .slide-container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

.main-heading {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-lime);
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 4px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem; /* Reduced from 3rem */
    width: 100%;
}

.card {
    background: var(--card-bg);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(118, 215, 47, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

.card-image {
    height: 320px;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.card-image::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.5); /* Reduced blur */
    z-index: 0;
}

.card-image img {
    position: relative;
    width: 90%;
    height: 90%;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.5s ease;
}

.slide.active .card-image img {
    /* Subtle zoom effect when slide becomes active */
    transform: scale(1.05);
}

.card-body {
    padding: 2rem 1.5rem;
    text-align: center;
    background: var(--card-bg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-gold);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-text {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-sage);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1200px) {
    .main-heading { font-size: 4rem; }
    .card-title { font-size: 2.2rem; }
    .card-image { height: 350px; }
}

/* Responsive Scaling for Big Screens (4K TV) */
@media (min-width: 2500px) {
    .main-heading { font-size: 10rem; }
    .card-title { font-size: 5rem; }
    .card-text { font-size: 3rem; }
    .card-image { height: 800px; }
    .card { border-radius: 60px; }
    .card-body { padding: 5rem 3rem; }
}

/* Contact Slide Specifics */
.premium-logo {
    display: block;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 4px solid var(--accent-lime);
    margin: 1rem auto 0 auto;
}

.address {
    font-size: 2rem;
    font-weight: 600;
    margin: 1rem 0;
    color: var(--text-cream);
}

.tagline {
    font-size: 1.2rem;
    color: var(--accent-lime);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.logo-placeholder {
    display: flex;
    justify-content: center;
}

/* Progress Bar */
.progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.progress-bar {
    height: 100%;
    background: var(--accent-lime);
    width: 0;
}

@keyframes progress {
    from { width: 0; }
    to { width: 100%; }
}

/* Responsive Scaling for Big Screens (General) */
@media (min-width: 1200px) {
    h1 { font-size: 4.5rem; }
    h2 { font-size: 4rem; }
    p { font-size: 2rem; }
    .address { font-size: 2.5rem; }
    .premium-logo { width: 250px; height: 250px; }
}

@media (min-width: 2500px) {
    h1 { font-size: 8rem; }
    h2 { font-size: 6rem; }
    p { font-size: 3.5rem; }
    .address { font-size: 4rem; }
    .premium-logo { width: 400px; height: 400px; }
}
