/* =========================
   ROOT VARIABLES
========================= */
:root {
    --green: #17693a;
    --burgundy: #360707;
    --white: #ffffff;
    --gold: #D4AF37;
    --black: #111111;
}

/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: var(--white);
    color: var(--black);
}

/* =========================
   CONTAINER
========================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #fff;
    padding: 15px 30px;

    border-bottom: 3px solid var(--gold);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--green);
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Hide Mobile Elements */
.menu-toggle,
.mobile-menu {
    display: none;
}

/* =========================
   HERO SLIDER
========================= */
.hero-slider {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.slide-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 90%;
}

.slide-content h1 {
    color: #fff;
    font-size: 60px;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 22px;
}

/* =========================
   PAGE HERO
========================= */
.page-hero {
    background: var(--green);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.page-hero h1 {
    color: #fff;
    font-size: 52px;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 20px;
}

/* =========================
   GENERAL SECTIONS
========================= */
.section {
    padding: 80px 0;
}

.services-section {
    padding: 80px 0;
    background: #f8f8f8;
}

h1, h2, h3 {
    color: var(--burgundy);
}

h2 {
    font-size: 38px;
    margin-bottom: 25px;
}

p {
    line-height: 1.8;
}

/* =========================
   SERVICES GRID
========================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid var(--gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.service-card h3 {
    margin-bottom: 15px;
}

/* =========================
   FUNERAL PLANS
========================= */
.plans-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plan-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    position: relative;
}

.plan-card h3 {
    margin-bottom: 10px;
}

.price {
    font-size: 32px;
    color: var(--green);
    font-weight: bold;
    margin-bottom: 20px;
}

.plan-card ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.plan-card li {
    margin-bottom: 10px;
}

.featured {
    border: 3px solid var(--gold);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--green);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
}

/* =========================
   BUTTONS
========================= */
.btn,
.cta-button {
    display: inline-block;
    background: var(--gold);
    color: #000;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
}

.btn:hover,
.cta-button:hover {
    opacity: .9;
}

/* =========================
   ABOUT PAGE
========================= */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
}

/* =========================
   MISSION
========================= */
.mission-section {
    background: #f8f8f8;
    padding: 80px 0;
    text-align: center;
}

/* =========================
   GALLERY
========================= */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* =========================
   TOMBSTONES
========================= */
.tombstone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 40px;
}

.tombstone-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    text-align: center;
}

.tombstone-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tombstone-card h3 {
    margin: 15px 0 10px;
}

.tombstone-card p {
    padding: 0 15px 20px;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-container {
    display: flex;
    gap: 50px;
    padding: 60px 0;
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}

.contact-form button {
    background: var(--green);
    color: #fff;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
}

.map-box {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

.map-box iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: var(--burgundy);
    color: #fff;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 25px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer h3,
.footer h4 {
    color: var(--gold);
    margin-bottom: 15px;
}

.footer p {
    color: #ddd;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 40px;
    height: 40px;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.developer,
.developer a {
    color: var(--gold);
    text-decoration: none;
}

/* =========================
   WHATSAPP BUTTON
========================= */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 65px;
    height: 65px;

    background: #25D366;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 15px rgba(0,0,0,.3);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}