/* ===================================================
   Stone Keeper Memorial Care
   Premium Responsive Website
   =================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ---------- Variables ---------- */

:root{

    --primary:#365243;
    --secondary:#b89654;
    --dark:#2d2d2d;
    --light:#f8f7f5;
    --white:#ffffff;
    --gray:#666;
    --border:#e4e4e4;

    --shadow:0 10px 35px rgba(0,0,0,.08);
    --transition:.35s ease;

    --radius:8px;

}

/* ---------- Reset ---------- */

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

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Open Sans',sans-serif;

    color:var(--dark);

    background:var(--white);

    line-height:1.7;

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

/* ===================================================
   NAVIGATION
   =================================================== */

header{

    position:absolute;

    width:100%;

    z-index:999;

}

.navbar{

    padding:18px 0;

}

.navbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo img{

    height:90px;

}

.nav-links{

    display:flex;

    gap:35px;

}

.nav-links a{

    color:white;

    font-weight:600;

    transition:var(--transition);

}

.nav-links a:hover{

    color:var(--secondary);

}

.active{

    color:var(--secondary)!important;

}

.mobile-toggle{

    display:none;

    color:white;

    font-size:28px;

    cursor:pointer;

}

/* ===================================================
   BUTTONS
   =================================================== */

.btn-primary{

    display:inline-block;

    background:var(--secondary);

    color:white;

    padding:15px 34px;

    border-radius:40px;

    transition:var(--transition);

    font-weight:700;

}

.btn-primary:hover{

    background:#9f7e43;

    transform:translateY(-3px);

}

.btn-secondary{

    display:inline-block;

    color:white;

    border:2px solid white;

    padding:14px 34px;

    border-radius:40px;

    margin-left:15px;

    transition:var(--transition);

}

.btn-secondary:hover{

    background:white;

    color:var(--primary);

}

/* ===================================================
   HERO
   =================================================== */

.hero{

    position:relative;

    height:95vh;

    background:url("../images/hero.jpg") center center/cover no-repeat;

    display:flex;

    align-items:center;

    color:white;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(25,35,29,.58);

}

.hero-content{

    position:relative;

    z-index:5;

}

.hero-text{

    max-width:700px;

}

.hero h1{

    font-family:'Cormorant Garamond',serif;

    font-size:74px;

    line-height:1.1;

    margin-bottom:25px;

}

.hero h1 span{

    color:var(--secondary);

}

.hero p{

    font-size:22px;

    margin-bottom:40px;

    max-width:620px;

}

/* ===================================================
   SECTIONS
   =================================================== */

section{

    padding:100px 0;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title h2{

    font-family:'Cormorant Garamond',serif;

    font-size:48px;

    color:var(--primary);

    margin-bottom:15px;

}

.section-title p{

    color:var(--gray);

}

/* ===================================================
   TRUST BAR
   =================================================== */

.trust-bar{

    background:var(--light);

}

.trust-grid{

    display:grid;

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

    gap:35px;

    text-align:center;

}

.trust-grid i{

    font-size:42px;

    color:var(--secondary);

    margin-bottom:20px;

}

.trust-grid h3{

    margin-bottom:12px;

}

/* ===================================================
   SERVICES
   =================================================== */

.service-grid{

    display:grid;

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

    gap:30px;

}

.service-card{

    background:white;

    padding:40px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);

    text-align:center;

}

.service-card:hover{

    transform:translateY(-8px);

}

.service-card i{

    font-size:50px;

    color:var(--secondary);

    margin-bottom:25px;

}

.service-card h3{

    margin-bottom:15px;

    color:var(--primary);

}

.service-card a{

    display:inline-block;

    margin-top:20px;

    color:var(--secondary);

    font-weight:bold;

}

/* ===================================================
   WHY US
   =================================================== */

.why-us{

    background:var(--light);

}

.two-column{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.two-column h2{

    font-family:'Cormorant Garamond',serif;

    font-size:48px;

    margin-bottom:25px;

    color:var(--primary);

}

.two-column ul{

    margin-bottom:35px;

}

.two-column li{

    margin-bottom:14px;

    padding-left:25px;

    position:relative;

}

.two-column li::before{

    content:"✓";

    color:var(--secondary);

    position:absolute;

    left:0;

}

.two-column img{

    border-radius:12px;

    box-shadow:var(--shadow);

}

/* ===================================================
   CTA
   =================================================== */

.cta{

    background:var(--primary);

    color:white;

    text-align:center;

}

.cta h2{

    font-family:'Cormorant Garamond',serif;

    font-size:50px;

    margin-bottom:20px;

}

.cta p{

    margin-bottom:35px;

    font-size:20px;

}

/* ===================================================
   FOOTER
   =================================================== */

footer{

    background:#222;

    color:#ddd;

    padding-top:70px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

}

.footer-logo{

    width:180px;

    margin-bottom:20px;

}

footer h4{

    color:white;

    margin-bottom:20px;

}

footer li{

    margin-bottom:10px;

}

footer a{

    color:#ddd;

}

footer a:hover{

    color:white;

}

.copyright{

    text-align:center;

    padding:30px;

    border-top:1px solid #444;

    margin-top:60px;

    font-size:14px;

}

/* ===================================================
   MOBILE
   =================================================== */

@media(max-width:991px){

.hero h1{

    font-size:52px;

}

.trust-grid{

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

}

.two-column{

    grid-template-columns:1fr;

}

}

@media(max-width:768px){

.nav-links{

    display:none;

}

.mobile-toggle{

    display:block;

}

.btn-primary{

    padding:14px 24px;

}

.hero{

    height:85vh;

    text-align:center;

}

.hero h1{

    font-size:42px;

}

.hero p{

    font-size:18px;

}

.hero-buttons{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.btn-secondary{

    margin-left:0;

}

.trust-grid{

    grid-template-columns:1fr;

}

.footer-grid{

    grid-template-columns:1fr;

    text-align:center;

}

.logo img{

    height:70px;

}

section{

    padding:70px 0;

}

.section-title h2{

    font-size:38px;

}

.two-column h2{

    font-size:38px;

}

.cta h2{

    font-size:38px;

}

}
/*==================================
GALLERY
==================================*/

.center-heading{

    text-align:center;

    margin-bottom:50px;

}

.gallery-grid{

    display:grid;

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

    gap:30px;

}

.gallery-card{

    background:#fff;

    border-radius:12px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.35s;

}

.gallery-card:hover{

    transform:translateY(-8px);

}

.gallery-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    display:block;

}

.gallery-caption{

    padding:25px;

}

.gallery-caption h3{

    margin-bottom:10px;

    color:var(--primary);

    font-family:'Cormorant Garamond',serif;

    font-size:30px;

}

.gallery-caption p{

    color:#666;

    line-height:1.7;

}