/*=========================================================
    Lazy H RV Park
    Canadian, Texas

    style.css
=========================================================*/

/*=============================
    Variables
=============================*/

:root{

    --background:#F8F5EF;
    --white:#ffffff;

    --text:#272523;

    --accent:#B87B3B;

    --accent-dark:#96612B;

    --charcoal:#211F1D;

    --sage:#5D6D5B;

    --light-gray:#E8E4DD;

    --radius:12px;

    --shadow:0 12px 30px rgba(0,0,0,.08);

    --transition:.35s ease;

    --width:1180px;

}

/*=============================
    Reset
=============================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--background);

    color:var(--text);

    font-family:Inter,sans-serif;

    line-height:1.7;

    overflow-x:hidden;

}

img{

    display:block;

    width:100%;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:min(92%,var(--width));

    margin:auto;

}

section{

    padding:90px 0;

}

/*=============================
    Typography
=============================*/

h1,h2,h3{

    font-family:Oswald,sans-serif;

    font-weight:600;

    letter-spacing:.5px;

}

h1{

    font-size:clamp(3.4rem,8vw,5.7rem);

    line-height:1;

}

h2{

    font-size:clamp(2rem,5vw,3rem);

    margin-bottom:25px;

}

h3{

    font-size:1.4rem;

}

p{

    color:#666;

}

.section-label{

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:.85rem;

    font-weight:700;

    margin-bottom:12px;

}

/*=============================
    Navigation
=============================*/

.navbar{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    z-index:100;

}

.nav-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:28px 0;

}

.logo{

    display:flex;

    flex-direction:column;

    color:white;

}

.logo-main{

    font-family:Oswald,sans-serif;

    font-size:2rem;

}

.logo-sub{

    letter-spacing:3px;

    font-size:.75rem;

}

.nav-links{

    display:flex;

    gap:34px;

}

.nav-links a{

    color:white;

    font-weight:500;

    transition:var(--transition);

}

.nav-links a:hover{

    color:var(--accent);

}

.nav-phone{

    color:white;

    font-weight:600;

}

.mobile-menu{

    display:none;

}

/*=============================
    Hero
=============================*/

.hero{

    position:relative;

    min-height:650px;

    display:flex;

    align-items:center;

    background:

    url("images/hero.jpg")

    center center /

    cover

    no-repeat;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        rgba(28,24,21,.55),

        rgba(28,24,21,.55)

    );

}

.hero-content{

    position:relative;

    z-index:5;

    color:white;

    max-width:720px;

}

.eyebrow{

    color:#D7C3A3;

    letter-spacing:3px;

    text-transform:uppercase;

    font-size:.9rem;

}

.hero h2{

    color:white;

    font-weight:400;

    font-size:2rem;

    margin:20px 0;

}

.hero-text{

    color:#f5f5f5;

    font-size:1.15rem;

    margin-bottom:40px;

}

/*=============================
    Buttons
=============================*/

.button{

    display:inline-block;

    padding:15px 30px;

    border-radius:6px;

    transition:var(--transition);

    font-weight:600;

}

.primary{

    background:var(--accent);

    color:white;

}

.primary:hover{

    background:var(--accent-dark);

}

.secondary{

    border:2px solid white;

    color:white;

    margin-left:15px;

}

.secondary:hover{

    background:white;

    color:var(--charcoal);

}
/*=========================================================
    Feature Bar
=========================================================*/

.feature-bar{

    background:white;

    border-top:1px solid var(--light-gray);

    border-bottom:1px solid var(--light-gray);

}

.feature-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    padding:45px 0;

}

.feature{

    text-align:center;

    padding:10px;

}

.feature-icon{

    width:70px;

    height:70px;

    margin:0 auto 20px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(184,123,59,.08);

    color:var(--accent);

    font-size:1.8rem;

}

.feature h3{

    margin-bottom:12px;

    color:var(--charcoal);

}

.feature p{

    font-size:.95rem;

}

/*=========================================================
    Generic Split Layout
=========================================================*/

.split-layout{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.text-column{

    max-width:560px;

}

.image-column{

    position:relative;

}

.image-column img{

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.image-column img:hover{

    transform:scale(1.02);

}

/*=========================================================
    About
=========================================================*/

#about{

    background:var(--background);

}

#about h2{

    margin-bottom:25px;

}

#about p{

    margin-bottom:24px;

    font-size:1.05rem;

}

#about .button{

    margin-top:10px;

}

/*=========================================================
    Section Heading
=========================================================*/

.section-heading{

    text-align:center;

    max-width:760px;

    margin:0 auto 60px;

}

.section-heading h2{

    margin-bottom:20px;

}

.section-heading p{

    font-size:1.1rem;

}

/*=========================================================
    Utility Spacing
=========================================================*/

.mt-1{margin-top:1rem;}
.mt-2{margin-top:2rem;}
.mt-3{margin-top:3rem;}

.mb-1{margin-bottom:1rem;}
.mb-2{margin-bottom:2rem;}
.mb-3{margin-bottom:3rem;}

/*=========================================================
    Image Polish
=========================================================*/

.image-column::after{

    content:"";

    position:absolute;

    width:140px;

    height:140px;

    background:rgba(184,123,59,.08);

    border-radius:50%;

    top:-25px;

    right:-25px;

    z-index:-1;

}

/*=========================================================
    Section Dividers
=========================================================*/

section{

    position:relative;

}

section:not(.feature-bar):not(.hero)::after{

    content:"";

    display:block;

    width:80px;

    height:3px;

    background:var(--accent);

    margin:70px auto 0;

    opacity:.12;

    border-radius:999px;

}
/*=========================================================
    Rates Section
=========================================================*/

#rates{

    background:var(--charcoal);

    color:white;

}

#rates .section-label{

    color:#D7C3A3;

}

#rates h2{

    color:white;

}

#rates .section-heading p{

    color:#D4D4D4;

}

.rates-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:45px;

    align-items:stretch;

}

.rates-table{

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    border-radius:var(--radius);

    padding:45px;

}

.rates-table table{

    width:100%;

    border-collapse:collapse;

}

.rates-table td{

    padding:22px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

    font-size:1.15rem;

}

.rates-table td:last-child{

    text-align:right;

    font-size:1.7rem;

    font-weight:700;

    color:var(--accent);

}

.rates-table tr:last-child td{

    border-bottom:none;

}

/*=========================================================
    Policy Card
=========================================================*/

.policy-card{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    border:1px solid rgba(255,255,255,.08);

    border-radius:var(--radius);

    background:rgba(255,255,255,.04);

    padding:45px;

}

.policy-card h3{

    font-size:2rem;

    color:var(--accent);

    margin-bottom:15px;

}

.policy-card p{

    color:#ddd;

    font-size:1.05rem;

    text-transform:uppercase;

    letter-spacing:2px;

}

/*=========================================================
    Gallery
=========================================================*/

#gallery{

    background:white;

}

.gallery-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(280px,1fr));

    gap:24px;

    margin-top:20px;

}

.gallery-grid img{

    width:100%;

    height:260px;

    object-fit:cover;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);

    cursor:pointer;

}

.gallery-grid img:hover{

    transform:translateY(-6px);

    box-shadow:

    0 20px 40px rgba(0,0,0,.16);

}

/*=========================================================
    Explore Canadian
=========================================================*/

#explore{

    background:linear-gradient(

        180deg,

        #F8F5EF,

        #EFE7DB

    );

}

.explore-box{

    max-width:900px;

    margin:auto;

    text-align:center;

    padding:70px;

    background:white;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.explore-box h2{

    margin-bottom:20px;

}

.explore-box p{

    max-width:700px;

    margin:0 auto 35px;

    font-size:1.1rem;

}

.explore-box .button{

    margin-top:10px;

}

/*=========================================================
    Explore Hover
=========================================================*/

.explore-box{

    transition:var(--transition);

}

.explore-box:hover{

    transform:translateY(-5px);

}

/*=========================================================
    Gallery Animation
=========================================================*/

.gallery-grid img{

    opacity:0;

    animation:fadeImage .8s forwards;

}

.gallery-grid img:nth-child(1){

    animation-delay:.1s;

}

.gallery-grid img:nth-child(2){

    animation-delay:.2s;

}

.gallery-grid img:nth-child(3){

    animation-delay:.3s;

}

.gallery-grid img:nth-child(4){

    animation-delay:.4s;

}

.gallery-grid img:nth-child(5){

    animation-delay:.5s;

}

.gallery-grid img:nth-child(6){

    animation-delay:.6s;

}

@keyframes fadeImage{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}
/*=========================================================
    Contact
=========================================================*/

#contact{

    background:white;

}

.contact-grid{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:40px;

    align-items:stretch;

}

.contact-card{

    background:var(--background);

    padding:45px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.contact-card h3{

    margin-bottom:20px;

}

.contact-card p{

    margin-bottom:20px;

}

.phone-number{

    font-family:Oswald,sans-serif;

    font-size:2.2rem;

    color:var(--accent);

    margin:30px 0;

    line-height:1;

}

.contact-buttons{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.contact-buttons .button{

    text-align:center;

}

.map-card{

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

}

.map-card iframe{

    width:100%;

    height:100%;

    min-height:420px;

    border:0;

    display:block;

}

/*=========================================================
    Footer
=========================================================*/

footer{

    background:var(--charcoal);

    color:white;

    padding:45px 0;

}

.footer-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

}

.footer-content h3{

    margin-bottom:10px;

}

.footer-content p{

    color:#cfcfcf;

}

/*=========================================================
    Hover Effects
=========================================================*/

.button{

    transition:

        transform .25s ease,

        background .25s ease,

        color .25s ease,

        box-shadow .25s ease;

}

.button:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(0,0,0,.15);

}

.feature{

    transition:transform .3s ease;

}

.feature:hover{

    transform:translateY(-6px);

}

/*=========================================================
    Mobile Navigation
=========================================================*/

@media (max-width:950px){

    .nav-links{

        display:none;

    }

    .nav-phone{

        display:none;

    }

    .mobile-menu{

        display:block;

        background:none;

        border:none;

        color:white;

        font-size:2rem;

        cursor:pointer;

    }

}

/*=========================================================
    Tablet
=========================================================*/

@media (max-width:900px){

    .feature-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .split-layout{

        grid-template-columns:1fr;

    }

    .rates-grid{

        grid-template-columns:1fr;

    }

    .contact-grid{

        grid-template-columns:1fr;

    }

    .footer-content{

        flex-direction:column;

        text-align:center;

    }

}

/*=========================================================
    Phone
=========================================================*/

@media (max-width:640px){

    section{

        padding:70px 0;

    }

    .hero{

        min-height:560px;

    }

    .hero-content{

        text-align:center;

    }

    .hero-buttons{

        display:flex;

        flex-direction:column;

        gap:15px;

    }

    .secondary{

        margin-left:0;

    }

    .feature-grid{

        grid-template-columns:1fr;

    }

    .gallery-grid{

        grid-template-columns:1fr;

    }

    .explore-box{

        padding:40px 30px;

    }

    .contact-card{

        padding:30px;

    }

    .phone-number{

        font-size:1.8rem;

    }

}

/*=========================================================
    Simple Fade Animation
=========================================================*/

.fade{

    opacity:0;

    transform:translateY(30px);

    transition:all .8s ease;

}

.fade.visible{

    opacity:1;

    transform:translateY(0);

}

/*=========================================================
    Selection
=========================================================*/

::selection{

    background:var(--accent);

    color:white;

}

/*=========================================================
    Scrollbar
=========================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#ece8e2;

}

::-webkit-scrollbar-thumb{

    background:var(--accent);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--accent-dark);

}
