/* ======================================================
   Cemetery Cleaners NZ
   Modern Production Stylesheet
   ====================================================== */
:root{
    --green:#299B1B;
    --green-dark:#1f7a14;
    --gold:#ffcc00;
	 --gold-dark:#b08d24;
    --burgundy:#8d4254;
    --dark:#1c232c;
    --light:#f7f7f7;
    --white:#ffffff;
    --shadow:0 4px 15px rgba(0,0,0,.12);
    --radius:10px;
    --max-width:1200px;
}

/* ======================================================
   Reset
   ====================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family: 'Raleway', sans-serif;
    font-size:17px;
    line-height:1.7;
    color:var(--dark);
	border:2px solid #111;
    background-image:url("https://www.cemeterycleaners.co.nz/bgtissue4.webp");
}
main {
  width:100%;
   box-sizing:border-box;
  margin: 0 auto;  
padding-top:10px;  
background-size: cover;
min-height:950px;
}
.main-contact {
  width:100%;
   box-sizing:border-box;
  margin: 0 auto;  
padding-top:10px;  
background-size: cover;
min-height:950px;
 background-color:#e0f0ff;
}
/* ======================================================
   Layout
   ====================================================== */
img{
    max-width:100%;
    height:auto;
	margin: 0 auto;
    display:block;
}

/* ======================================================
   Typography
   ====================================================== */

h1,h2,h3,h4{
	font-family:'Raleway', sans-serif;
    line-height:1.2;
    margin-bottom:15px;
    color:var(--burgundy);
}


h1{
    font-size:clamp(1.6rem,3vw,1.8rem);
}

h2{
    font-size:clamp(1.6rem,3vw,1.8rem);
}
h3{
    font-size:1.5rem;
}
h4{
    font-size:clamp(1.8rem,3vw,2.8rem);
}
p{
    margin-bottom:5px;
	font-weight:500;
	 font-size:1.3rem;
}
.p99 {
    margin: 2px 0;
    line-height: 1.2;
}
ul{
    padding-left:20px;
}
/* ======================================================
   Header
   ====================================================== */

header{
    position:sticky;
    top:0;
    z-index:1000;
	border:2px solid #299B1B;
    background-color:#E6FFE6;
	padding:5px 0;
	 background-image:url("https://www.cemeterycleaners.co.nz/bgtissue4.webp");
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}
hr {
    width: 80%;
    height: 0;
    border: none;
    border-top: 3px solid var(--green);
    position: relative;
    margin: 10px auto;
}
.hr1 {width:100%; 
 height: 0;
margin-top:0px; 
position: relative;
border-top: 2px solid var(--green);
	}
	
.zoom {
  transition:transform .6s;
  margin: 0 auto;
}
.zoom:hover {
  -ms-transform: scale(1.2); /* IE 9 */
  transform: scale(1.17); 
   border: 1px solid #ffffff;
}
.logo,
.logo1{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:var(--dark);
    font-weight:700;
    font-size:1.3rem;
}
.logo1{
	margin-top:10px;
}

.logo2 {
    float: left;
    margin: 4px 10px 0 0;
}
/* ======================================================
   Navigation
   ====================================================== */
   nav .cool-link {
    color: #fff;
}
   
   nav {
    max-width: 750px;
	margin: 0 auto;
    margin-bottom: 0px;  
}
 
nav ul{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    max-width:600px;
    margin:0 auto;
	gap:3px;
	 width:100%;
	  max-width:none;
    padding:2px 0;
    list-style:none;
    background:#299B1B;
    border:2px solid #9B1B29;
}

nav li {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    padding: 4px 8px;
    text-decoration: none;
} 
/*.linebreak {height:1px;}
.linebreak2 {height:7px;}*/
  .container{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px; 
	border: 0px solid green;
}
 
   .container1 {
    max-width: 1100px;
	 width:100%;
    margin: 0 auto;
    padding: 0 20px;
	margin-top:1rem;
	margin-bottom:1rem;
	  text-align:center;
    border: 8px double #6b8e23;
    border-radius: 12px;
	background-color:#f2ebd0;
}
 .container2 {
    max-width: 1200px;
	 width:100%;
    margin: 0 auto;
    padding: 0 20px;
	margin-top:1rem;
	margin-bottom:1rem;
	  text-align:center;
    border: 2px solid green;
    border-radius: 2px;
}
.container-clean{
    max-width:1600px;
    margin:0 auto;
    padding:0 20px;
}
.container-contact {
  width:100%;
   box-sizing:border-box;
  margin: 0 auto;  
padding-top:10px;  
background-size: cover;
}

section{
	  width:100%;
    justify-content:center;
    align-items:center;
	  padding:0;
	  margin:0;
	border: 0px solid red;
}
.section-title {
	text-align:center;
	margin-top:20px;
	 margin-bottom: 0px;   /* Space below the heading */
		}
	
.section-title1 {
	text-align:center;
}
.center-box{
    text-align:center;
    max-width:800px;
    margin:0 auto;
}
	
.cta-section{
    width:100%;
    background:#fdf2cf;
    padding:10px 0px;
    text-align:center;
     border: 6px double #6b8e23;
}

.cta-section .container{
    max-width:1200px;
    margin:0 auto;
}

.cta-section h2{
    margin-bottom:20px;
}

.cta-section p{
    margin-bottom:15px;
}

/* ===========================
   Menu Links
   =========================== */
.cool-link {
    display: block;
    position: relative;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color .9s ease, color .9s ease;
}
/* Microsoft Edge */
@supports (-ms-ime-align: auto) {
    .cool-link {
        font-size: 17px;
    }
}

/* Hover */
.cool-link:hover {
    background: #d3d3d3;
    border-radius: 6px;
    color: #8d4254;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

/* Animated underline */
.cool-link::after {
    content: "";
    position: absolute;
    left: 12px;   /* Alters line starting point */
    right: 10px;
    bottom: 4px;
    height: 2px;  /* Alters line thickness */
    background: #8d4254;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.cool-link:hover::after {
    transform: scaleX(1);
}

 nav .cool-link {
	font-size: clamp(18px, 1vw, 2px);
}
/* ======================================================
   Hero
   ====================================================== */
.hero{
	position:relative;
    width:100%;
    min-height:280px;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    display:flex;
    align-items:center;
}
.hero-content{
    position:relative;
    z-index:2;
    color:#fff;
	border: 0px solid white;
    max-width:1000px;
    margin-left:10px;margin: 0 auto;
	margin-bottom:20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}

.hero-content h1{
	font-size:2.0rem;
    line-height:1.2;
}

.hero-content p{
    font-size:1.4rem;
}
 .hero-banner{text-align:center;
 color:#fff;
 background:rgba(41,155,27,0.95);
 padding:10px 20px; 
 display:inline-block; 
 border:2px solid #299B1B;
 border-radius:20px;
 }


/*=====================================================
   Buttons
   ====================================================== */

.hero-buttons{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
	  margin-top: 0px;   /* Move buttons down */
	    margin-bottom: 20px;  
}
.btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:260px  !important;
    height:40px;
    padding:0 12px;
    font-family:Arial, Helvetica, sans-serif;
    font-size:18px; 
    font-weight:600;
    color:#fff;
    text-decoration:none;
    border:2px solid #111;
    border-radius:8px;
    box-sizing:border-box;
    cursor:pointer;
    transition:background-color .3s ease, opacity .3s ease;
}
.btn-primary{
    background:var(--green);
    color:#fff;
}

.btn-primary:hover{
    background:var(--green-dark);
}

.btn-secondary{
    background:var(--gold);
    color:#000;
}

.btn-secondary:hover{
    opacity:.9;
}
.button-row {
    display: flex;
    justify-content: center;
    gap: 20px;
	  width:70%;
	   margin:0 auto;
}
/* ======================================================
   Cards
   ====================================================== */

.card-grid {
    display: grid;
	font-family:'Raleway',sans-serif;
	 font-weight:600;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    border: 0px solid red;
}

.card-grid-clean {
    display: grid;
    grid-template-columns: repeat(2, 1fr);   /* Two equal columns */
    gap: 20px;
	border:0px solid blue;
}

.card {
	  background-image:url("https://www.cemeterycleaners.co.nz/bgtissue111.webp");
	   font-family:'Raleway',sans-serif;
    border-radius:var(--radius);
	 border:2px solid var(--green);
	 font-weight:600;
	 font-size:18px;
	 text-align: center;
    padding:15px;
	margin-bottom:10px;
	box-shadow: 8px 4px 2px rgba(0,0,0,0.3);
}
.card1{
	 background-image:url("https://www.cemeterycleaners.co.nz/bgtissue112.webp");
	  font-family:'Raleway',sans-serif;
    border-radius:var(--radius);
	 border:2px solid var(--green);
    padding:5px;
	font-weight:600;
	font-size:18px;
	text-align: center;
	margin-bottom:10px;
	box-shadow: 8px 4px 2px rgba(0,0,0,0.3);
}
.card2{
	 background-image:url("https://www.cemeterycleaners.co.nz/bgtissue113.webp");
	  font-family:'Raleway',sans-serif;
    border-radius:var(--radius);
	 border:2px solid var(--green);
    padding:15px;
	font-weight:600;
	font-size:18px;
	text-align: center;
	margin-bottom:10px;
	box-shadow: 8px 4px 2px rgba(0,0,0,0.3);
}
.card-clean{
    background-image:url("https://www.cemeterycleaners.co.nz/bgtissue111.webp");
	  font-family:'Raleway',sans-serif;
    border:2px solid var(--green);
    border-radius:var(--radius);
    padding:15px;
	font-weight:600;
    box-shadow:8px 4px 2px rgba(0,0,0,.3);
}
.card-price {
	 background-image:url("https://www.cemeterycleaners.co.nz/bgtissue111.webp");
	   font-family:'Raleway',sans-serif;
    border-radius:var(--radius);
	 border:2px solid var(--green);
    padding:15px;
	margin-left:10px;
	border:0px solid blue;
	box-shadow: 8px 4px 2px rgba(0,0,0,0.3);
}

.float-right {
    float: right;
    margin: 0 0 15px 20px;
}
.why-choose {
    padding-top: 20px;
}
/* ======================================================
   Services
   ====================================================== */
.style4 {border-radius: 8px;
margin:10px;
border:1px solid #333333; 
height:auto;
		}
.service-card ul {
    padding-left: 15px;
    margin-top: 0px;
}
.service-card li {
    margin-bottom: 0px;
    line-height: 1.4;
    font-size:18px;
    font-weight: 600;
	text-align:left;
    color: #333;
}		
.service-card img{
    border-radius:8px;
    margin-bottom:15px;
}
.features-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:30px;
    max-width:1200px;
    margin:0 auto;
}

.feature-card{
    background-image:url("https://www.cemeterycleaners.co.nz/bgtissue111.webp");
    border:2px solid var(--green);
    border-radius:var(--radius);
    padding:20px;
    box-shadow:8px 4px 2px rgba(0,0,0,.3);
}
/* ======================================================
   Gallery
   ====================================================== */

.photo-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    max-width:850px;
    width:100%;
    padding:10px;
    margin:0 auto;
    border:6px double #6b8e23;
}

/*.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:15px;
}

.gallery-item{
    overflow:hidden;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
	border: 2px solid red;
}

.gallery-item img{
    transition:.4s;
}

.gallery-item:hover img{
    transform:scale(1.05);
}

.gallery-caption{
    padding:12px;
    text-align:center;
    background:#fff;
    font-weight:600;
}

/* ======================================================
   Testimonials
   ====================================================== */

.testimonial{
    background:#FFF8DC;
    border-left:5px solid var(--green);
	border-right:5px solid var(--green);
	 border-top:2px solid var(--green);
	  border-bottom:2px solid var(--green);
    padding:25px;
    border-radius:18px;
	box-shadow: 8px 4px 2px rgba(0,0,0,0.3);
}


.testimonial-author{
    margin-top:15px;
    font-weight:700;
    color:var(--green);
}
/* ======================================================
   Contact Form
   ====================================================== */

.contact-form{
    max-width:700px;
	margin:0 auto;
	padding: 0px 50px 50px 50px;
	  background-image:url("https://www.cemeterycleaners.co.nz/bgtissue112.webp");
	 border:2px solid #111; 
	 font-weight:600;text-align:left;
}

.form-group{
    margin-bottom:20px;
}

input,
textarea{
    width:100%;
    padding:14px;
    border:2px solid #111;
    border-radius:8px;
    font-size:18px;
	 font-weight:600;
	  font-family: "Raleway", Arial, sans-serif;
    color: #111;             /* Optional */
}

textarea{
    min-height:180px;
}

input:focus,
textarea:focus{
    outline:none;
    border-color:var(--green);
}


input:hover,
textarea:hover {
    border: 2px solid blue;
    background-color: #ffffe8;
    transition: 0.3s;
}

input:hover::placeholder,
textarea:hover::placeholder {
    color: #2e8b57;
	font-weight: 500;
}


.style17 {font-family: georgia ,arial ;
font-weight: 600;
font-size:35px;
color:#ffcc00;
margin:0 auto;
text-shadow:	2px 1px 2px #000000;
}
.style220{width:100%; 
border:#000080 solid 0px;
padding-left:0px;}	

.style19 {
    color: red;
	font-size:30px;
    display: inline-block;
    position: relative;
    top: 7px;      /* Adjust 2px–5px until it looks right */
    margin-right: 3px;
}



/*.style19 {font-weight: 700;
font-size:30px;
color:red;
vertical-align: -3px;
    margin-right: 3px;
border:0px ridge green;}*/

	.style23 {font-size:16px;
	font-style:italic;
	color:#8B0000;
	font-weight:600;}	
	
	.phone-field {
    margin-top: 13px;
}
/* ======================================================
   Quote Banner
   ====================================================== */

.quote-banner{
    background:var(--green);
    color:#fff;
    text-align:center;
    padding:50px 20px;
}

.quote-banner h2{
    color:#fff;
}

/* ======================================================
   Footer
   ====================================================== */
footer .container {
    margin: 0 auto;
}
footer {
    background-color: #d3d3d3;
    color: #111;
    padding: 5px 0px;   
    text-align: center;
    border: 2px solid #111;
	max-width: 100%;
	margin: 0 auto;
}
 .footer-margin {
margin:0; 
line-height:1.2;
font-weight:500;
}
.footer-text1 {
	color:red;
	font-style:italic;
	font-weight:900;
}
/* ======================================================
   Tables (Pricing & Sitemap)
   ====================================================== */

table{
    width:100%;
    border-collapse:collapse;
}

th,
td{
    padding:15px;
    border:1px solid #ddd;
}

th{
    background:var(--green);
    color:#fff;
}

/* ======================================================
   Utility Classes
   ====================================================== */

.text-center{
    text-align:center;
	margin-top:10px;
	color:#111;
}
.text-center1{
    text-align:center;
	margin-top:10px;
	color:#111;
}
.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mb-4{margin-bottom:30px; 
margin-top:30px;
}
/* ======================================================
   Mobile
   ====================================================== */


/* ==========================================
   NORTH ISLAND CEMETERY SEARCH PAGE
   ========================================== */

.hero-north{
    background-image:url("mttaranaki.jpg");
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
}

.regions-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:2rem;
    margin:3rem 0;
}

.region-card{
    background:#ffffff;
    border-radius:12px;
    padding:1.5rem;
    box-shadow:0 4px 16px rgba(0,0,0,0.08);
    transition:transform .3s ease, box-shadow .3s ease;
}

.region-card:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 24px rgba(0,0,0,0.12);
}

.region-card h3{
    color:#2f6b31;
    margin-bottom:1rem;
    font-family:'Oswald', sans-serif;
    font-size:1.5rem;
}

.region-card ul{
    list-style:none;
    padding:0;
    margin:0;
}

.region-card li{
    margin-bottom:.75rem;
    line-height:1.5;
}

.region-card a{
    text-decoration:none;
    color:#1a0dab;
    font-weight:500;
}

.region-card a:hover{
    color:#8d4254;
    text-decoration:underline;
}
.billiongraves-btn{
    display:inline-block;
    margin-top:1rem;
    padding:.75rem 1.25rem;
    background:#2f6b31;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.billiongraves-btn:hover{
    background:#8d4254;
    color:#fff;
}
/* Mobile adjustments */
@media (max-width:900px){
.cool-link {
    padding:0px 6px;
}
    .header-inner{
        flex-direction:column;
        gap:15px;
    }
    .hero{
        max-height:200px;
    }
}
@media (max-width:768px){
.card-grid-clean{
        grid-template-columns:1fr;
    }
	.card-grid{
        grid-template-columns:1fr;
    }
	.hero{
    min-height:155px;
}
	.photo-grid{
        grid-template-columns:repeat(3,1fr);
        gap:6px;
    }
	
.features-grid{
        grid-template-columns:1fr;
    }
	.regions-grid{
        grid-template-columns:1fr;
        gap:1.5rem;
    }
	
.region-card .btn{
    margin-top:auto;
}
.cemetery-list{
    margin-top:1rem;
    padding-left:1rem;
}

.cemetery-list li{
    margin-bottom:.5rem;
}

.region-note{
    background:#f5f5f5;
    border-left:4px solid #2f6b31;
    padding:1rem;
    margin-top:1rem;
    border-radius:6px;
}

    .cta-section{
        padding:35px 15px;
    }

    .cta-section h2{
        font-size:2rem;
    }

    .cta-section p{
        font-size:1rem;
    }

    .btn{
        width:100%;
        max-width:320px;
    }
.region-card{
    display:flex;
    flex-direction:column;
    height:100%;
	 padding:1.25rem;
}
.billion-btn{
    display:inline-block;
    margin-top:1rem;
}
    .region-card h3{
        font-size:1.3rem;
    }
}

@media (max-width:600px){ 
    body{
        font-size:16px;
    }
	.hero{
    min-height:152px;
	 max-height:200px;
}
   .hero-buttons{
        flex-direction:column;
        align-items:center;
    }
	
.logo1{
    display:flex;
    align-items:center;
    gap:12px;
	margin-top:0px;
    text-decoration:none;
    color:var(--dark);
    font-weight:700;
    font-size:1.3rem;
}
 .btn-secondary {
        margin-left: 40px;
 }
 .button-row {
        gap: 30px;   /* Increase gap on phones */
      width:90%;
	   margin:0 auto;
	}
    .btn{
        display:flex;
        width:50%;
        margin:0 auto;
    }
}
@media (max-width: 480px) {
    .hero {
        min-height: 200px;
        max-height: 200px;
    }
}

/* ======================================================
   Print
   ====================================================== */

@media print{
    header,
    footer,
    .btn{
        display:none;
    }
}
