/*
Theme Name: Maribyrnong MUCC Theme
Theme URI: https://www.maribyrnongmucc.com.au
Author: Converted by ChatGPT
Description: WordPress theme for Maribyrnong Medicare Urgent Care Clinic
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: maribyrnongmucc
*/


/* ================================
   RESET + BASE
================================ */

body{
margin:0;
padding:0;
font-family:Arial, Helvetica, sans-serif;
line-height:1.6;
color:#333;
background:#ffffff;
	position:relative;
}

a{
color:#0066cc;
text-decoration:none;
}

a:hover{
text-decoration:underline;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}


/* ================================
   NAVBAR
================================ */

.navbar{
background:#003366;
color:#fff;
padding:12px 0;
	 position: sticky;
  top: 0;
	z-index:10;
}

.navbar .container{
display:flex;
align-items:center;
justify-content:space-between;
}

.branding-div{
display:flex;
align-items:center;
gap:10px;
}

.site-logo img{
max-height:70px;
width:auto;
}

.site-title a{
font-size:1.4rem;
font-weight:600;
color:#fff;
text-decoration:none;
}

.navbar nav ul{
list-style:none;
margin:0;
padding:0;
display:flex;
gap:20px;
}

.navbar nav ul li a{
color:#fff;
font-weight:600;
}

.navbar nav ul li a:hover{
opacity:.85;
}


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

.hero{
position:relative;
background:#f4f8fb;
padding:80px 20px;
overflow:hidden;
}

.hero::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(120deg,#e6f2ff 0%,#ffffff 70%);
z-index:0;
}

.hero-container{
display:flex;
flex-direction:column;
gap:40px;
max-width:1200px;
margin:auto;
position:relative;
z-index:1;
}

.hero-text{
flex:1;
}

.clinic-title{
font-size:1.5rem;
color:#0b4f87;
margin-bottom:20px;
font-weight:700;
	text-align:left;
}

.hero p{
font-size:17px;
color:#444;
margin-bottom:15px;
}

/* hero image */

.hero-image{
flex:1;
}

.hero-image img{
width:100%;
border-radius:12px;
box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

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

.hero-buttons{
margin-top:25px;
display:flex;
flex-wrap:wrap;
gap:15px;
}

.btn{
display:inline-block;
padding:14px 26px;
border-radius:6px;
font-weight:600;
text-decoration:none;
transition:all .25s ease;
}

.btn-primary{
background:#0b4f87;
color:#fff;
}

.btn-primary:hover{
background:#083a66;
transform:translateY(-2px);
}

.btn-secondary{
background:#27ae60;
color:#fff;
}

.btn-secondary:hover{
background:#1e8f4d;
transform:translateY(-2px);
}


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

section{
padding:60px 0;
}


/* ================================
   SERVICE + EMERGENCY SECTIONS
================================ */

.info-sections{
display:flex;
flex-direction:column;
gap:40px;
padding:60px 20px;
max-width:1200px;
margin:auto;
align-items:center;
}


/* cards */

.card{
background:#fff;
padding:40px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
width:90%;
}


/* headings */

.card h2{
color:#0b4f87;
font-size:24px;
margin-bottom:20px;
}

.card h3{
font-size:16px;
color:#555;
margin-bottom:20px;
font-weight:500;
}


/* lists */

.card ul{
padding-left:20px;
}

.card li{
margin-bottom:10px;
line-height:1.6;
}


/* emergency highlight */

.emergency-notice{
border-left:6px solid #d33;
}

.emergency-notice h2{
color:#c62828;
}


/* booking */

.booking-call{
text-align:center;
font-size:18px;
margin:40px auto;
}

.booking-call a{
font-weight:600;
color:#0b4f87;
}


/* ================================
   CONTACT
================================ */
#contact{
display:flex;
gap:40px;
max-width:1200px;
margin:auto;
	
}

.contact div{
	flex:1;
}

.contact{
background:#f9f9f9;
text-align:center;
}

.contact h2{
font-size:28px;
color:#003366;
margin-bottom:10px;
}


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

footer{
background:#003366;
color:#fff;
padding:20px 0;
text-align:center;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width:768px){
	#contact{
	flex-direction:column;
text-align:center;
	}
.hero-container{
flex-direction:column;
text-align:center;
}

.hero-image{
order:2;
}

}


/* desktop hero layout */

@media (min-width:1000px){

.hero-container{
flex-direction:row;
align-items:center;
}

.info-sections{
flex-direction:row;
align-items:flex-start;
}

.info-sections > div{
flex:1;
}

}


/* hide logo bar if exists */

.logoBar{
display:none !important;
}
@media (max-width:950px){
	.menu-buttons{
		display:none;
	}
}

.partners{
display:flex;
gap:40px;
padding:60px 20px;
max-width:1200px;
margin:20px auto;
	justify-content:space-around;
align-items:center;
	background:#4fc8f0;
	border-radius:20px;
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.7));

}
.partners svg {
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.7));
}
.partners img{
	max-width: 300px;
	width:100%;
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));

}



#about{
display:flex;
gap:40px;
max-width:1200px;
margin:auto;
position:relative;
z-index:1;
	
}

.about-text{
	flex:1;
	padding:10px;
text-align:justify;
}
.about-image{
	flex:1;
	
}
.about-image img{
	max-width:100%;
	overflow:hidden;
}

@media (max-width:768px){

#about{
flex-direction:column;
text-align:center;
}
	.partners{
		flex-direction:column;

	}
}

/* =========================
   HEALTH NOTICE POPUP
========================= */

.popup-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
display:flex;
align-items:center;
justify-content:center;
z-index:9999;
}

.popup-box{
background:#fff;
max-width:650px;
width:90%;
padding:40px;
border-radius:10px;
text-align:center;
box-shadow:0 20px 40px rgba(0,0,0,0.25);
position:relative;
}

.popup-title{
color:#c62828;
margin-bottom:15px;
font-size:22px;
}

.popup-box p{
margin-bottom:15px;
font-size:16px;
}

.popup-emergency{
margin-top:20px;
font-weight:600;
}

.popup-btn{
display:inline-block;
margin-top:25px;
padding:14px 30px;
border:2px solid #000;
color:#d32f2f;
font-weight:600;
text-decoration:none;
transition:all .25s ease;
}

.popup-btn:hover{
background:#d32f2f;
color:#fff;
border-color:#d32f2f;
}

.popup-close{
position:absolute;
top:15px;
right:18px;
font-size:28px;
cursor:pointer;
color:#999;
}

.popup-close:hover{
color:#000;
}


.clinic-slider{
    display:flex;
    justify-content:center;
}

.hero-slider{
    position:relative;
    width:100%;
    max-width:1200px;
    height:500px;
    overflow:hidden;
    /*background: linear-gradient(135deg,#d1005d,#f05a24);*/
}

.slides{
    display:flex;
    transition:transform .8s ease;
    height:100%;
}

.slide{
    min-width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.slide img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}






.slider-prev,
.slider-next{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,.5);
color:white;
border:none;
font-size:28px;
padding:10px 16px;
cursor:pointer;
}

.slider-prev{ left:20px; }
.slider-next{ right:20px; }

.nav-dots{
position:absolute;
bottom:20px;
width:100%;
text-align:center;
}

.dot{
width:12px;
height:12px;
background:#ccc;
border-radius:50%;
display:inline-block;
margin:5px;
cursor:pointer;
}

.dot.active{
background:#2e8bff;
}