/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Top Navigation Header Bar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8%;
    z-index: 100;
}

.logo {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
}

.logo .highlight {
    color: #d97706; /* Exact Amber Match */
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #d97706;
}

/* Slider Wrapper Layout */
.slider-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

/* Base Individual Slide Framework */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Clean structural crossfade logic overrides */
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
    z-index: 1;
}

/* Dynamic Visual Transition Trigger */
.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

/* Semi-transparent dark overlay match from image */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.76); 
    z-index: 2;
}

/* Typography & Content Block Setup */
.slide-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 850px;
    padding: 0 20px;
}

/* Typography elements starting hidden state */
.slide-content h1,
.slide-content p,
.slide-content .btn-quote {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

/* Sequential Fade-in Animations when Container becomes active */
.slide.active .slide-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.slide.active .slide-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.slide.active .slide-content .btn-quote {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Specific typography adjustments matching screenshot */
.slide-content h1 {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #EAEAEA;
}

.slide-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #b3b3b3;
    margin-bottom: 35px;
    font-weight: 400;
}

/* Amber Action Button Container */
.btn-quote {
    display: inline-block;
    background-color: #c27813;
    color: #fff;
    padding: 15px 38px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-quote:hover {
    background-color: #a16207;
    transform: scale(1.03);
}
