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

body {
    font-family: sans-serif;
    background-color: #fefefc;
    color: #333;
}

header {
    background-color: #fafaf7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8px;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}
footer {
   
    padding: 50px 30px;
    margin-top: 50px;
    min-height: 200px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url("/assets/Images/BannerFooter2.png") center/cover no-repeat;
    color: #fff;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.footer-left {
    margin-top: 80px;
    text-align: left;
    font-size: 13px;
}
.footer-center {  
    text-align: center;
    font-size: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img.logo-img {
    height: 80px;
    width: 100px;
}
/* Hide hamburger by default */
.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #67b246;
}
/* Header behaviour for Index Pages */
/* Global body background for index.php */
body.index-page {
    background: url("/assets/Images/BannerHomesun.png") center center / cover no-repeat fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body.about-page{
    background: url("/assets/Images/BannerAboutMeNature.png") center center / cover no-repeat fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body.contact-page {
    background: url("/assets/Images/BannerKontaktUs.png") center center / cover no-repeat fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}


body.service-page {
    background: url("/assets/Images/BannerServices.png") center center / cover no-repeat fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
se
.hero {
    background: none;
    height: 350px;
    display: flex;
    justify-content: left;
	padding: 20px 20px;
    align-items: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 40px;
    border-radius: 8px;
    margin-top: 200px; /* adjust value as needed */
}
/* Header behaviour for About me Pages */
.about {
    background: none;
    height: 400px;
    display: flex;
    justify-content: left;
	padding: 20px 20px;
    align-items: center;
      }

.about h1 {
    color: white;
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 40px;
    border-radius: 8px;
    margin-top: 200px; /* adjust value as needed */
}
/* Header behaviour for Service Pages */
.service {
    background: none;
    height: 400px;
    display: flex;
    justify-content: left;
	padding: 20px 20px;
    align-items: center;
      }

.service h1 {
    color: white;
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 40px;
    border-radius: 8px;
    margin-top: 200px; /* adjust value as needed */
}

/* Header behaviour for contact Pages */
.contact {
    background: none;
    height: 400px;
    display: flex;
    justify-content: left;
	padding: 20px 20px;
    align-items: center;
      }

.contact h1 {
    color: white;
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 40px;
    border-radius: 8px;
    margin-top: 200px; /* adjust value as needed */
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fefefe;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    transition: border 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #a46b2d;
    box-shadow: 0 0 5px rgba(164, 107, 45, 0.4);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button[type="submit"] {
    background-color: #d89a40;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background-color: #bd812f;
}

.container {
    background: rgba(235, 216, 195, 0.8);
    border-radius: 8px;
    max-width: 1250px;
    margin: 40px auto;
    padding: 20px;
}

.container p {
  font-size: 1.2rem;
  text-align: center;
}

.button {
    display: inline-block;
    background: #da943a;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.button:hover {
    background: #4c8c1b;
}
.calendar-placeholder {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    width: 300px;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.calendar-box {
    background: #f8f8f8;
    padding: 20px;
    color: #666;
    font-size: 1rem;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        background: #fafaf7;
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
        border: 1px solid #ddd;
        padding: 10px;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }
}

/* Service Container */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 40px auto;
}

/* Outer grid layout for cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Make each card a grid so the footer sticks to bottom */
.service-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 102%;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: rgba(236, 222, 200, 0.8);
  text-align: center;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.service-card img {
   width: 100%;
    height:260px; /* Fixed height */
    object-fit: cover; /* Crop and fill */
    object-position: center;
    display: block;
    border-radius: 4px;
   margin-bottom: 5px;
}

.service-card h3 {
  margin: 1rem 0 0.5rem 0;
  font-size: 1.2rem;
}

.service-card p {
  margin: 0.5rem 0 1rem 0;
}
/* Ensure editor content aligns uniformly inside cards */
.editor-content {
  text-align: center;
  padding: 0.5rem 0;
}

/* Normalize image sizing and centering from WYSIWYG editor */
.editor-content img {
  max-width: 100%;
  height: auto;
  object-fit: cover; /* Crop and fill */
  object-position: center;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

/* footer sticks to bottom */
.card-footer {
  margin-top: auto;
  text-align: center;
}

.card-footer .button {
  display: inline-block;
  background-color: #da943a;
  color: #fff;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.card-footer .button:hover {
  background-color: #45a049;
}

/* Calendar Class */

#booking-widget {
    background: #eee8dc;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 30px auto;
    font-family: sans-serif;
}
#booking-widget h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

#booking-widget label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

#booking-widget select,
#booking-widget input[type="date"],
#booking-widget input[type="text"],
#booking-widget input[type="email"],
#booking-widget input[type="tel"],
#booking-widget input[type="password"],
#booking-widget textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#booking-widget button {
    background: #da943a;
    color: #fff;
    border: none;
    padding: 12px 20px;
    margin-top: 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

#booking-widget button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#booking-widget button:hover:not(:disabled) {
    background: #4c8c1b;
}

.timeslot-btn {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 4px;
}

.timeslot-btn.selected {
    background-color: #e7a854!important;
    color: #fff !important;
    border: 2px solid hsl(128, 71%, 49%) !important;
    box-shadow: 0 0 5px #888 !important;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #ddd;
    background-color: #f8f8f8;
}
.dashboard-header .welcome {
    font-weight: bold;
    font-size: 1.4em;
}
.dashboard-header .logout a {
    color: #7b3700;
    text-decoration: none;
    font-weight: bold;
}
.dashboard-nav {
    display: flex;
    gap: 20px;
    padding: 15px 30px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}
.dashboard-nav a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}
.dashboard-nav a.active {
    color: #e65c0d;;
    border-bottom: 2px solid #7b3700;
    padding-bottom: 5px;
}
.dashboard-content {
    padding: 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: auto;
}

.dashboard-content h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #333;
}

.dashboard-content form {
    max-width: 400px;
    margin-top: 20px;
}

.dashboard-content label {
    font-weight: 500;
    margin-bottom: 3px;
    color: #333;
}

.dashboard-content input[type="text"],
.dashboard-content input[type="tel"],
.dashboard-content input[type="email"],
.dashboard-content input[type="password"],
.dashboard-content select {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    margin-bottom: 12px; /* reduced from 20px */
    transition: border-color 0.3s ease;
}

.dashboard-content input:focus,
.dashboard-content select:focus {
    border-color: #a96c1f;
    outline: none;
}



.dashboard-content button[type="submit"] {
    background-color: #d68e2f;
    color: white;
    padding: 10px 16px;
    border: none;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dashboard-content button[type="submit"]:hover {
    background-color: #c57e20;
}
select#status {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fdfdfd;
    color: #333;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    transition: border-color 0.3s ease;
}

select#status:focus {
    border-color: #c4822f;
    outline: none;
    box-shadow: 0 0 3px rgba(196, 130, 47, 0.5);
}
.disabled-slot {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}
.main-split-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.status-filter-form {
    margin-top: 20px;
    margin-bottom: 20px;
}

.left-content {
    background: rgba(236, 222, 200, 0.7);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: 12px;
    border-radius: 8px;
}

.right-content {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
    background: rgba(236, 222, 200, 0.7);
    padding: 20px;
    border-radius: 8px;
}
.right-content H3{
     color: rgb(56, 54, 54);
    font-size: 1.5rem;
    padding: 0px 50px;
    margin-top: 10px; /* adjust value as needed */
}

#nav-links li a.active {
    color: #4CAF50;
    font-weight: bold;
}

.appointment-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
    background: #f9f9f9;
}
.appointment-card h4 {
    margin-top: 0;
}
.time-slot.selected {
    background-color: #333;
    color: #fff;
    border: 2px solid #ff9900;
}
