/* General Styles */
:root {
  --primary-blue: #4c9cc5;
  --nature-gold: #d4af37;
  --spring-green: #a4d4ae;
  --light-bg: #f4f9fc;
  --header-bg: #eaf3f9;
  --text-color: #333333;
}

html,
body {
  font-family: Arial, sans-serif;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* background: linear-gradient(to right, #aee4ff, transparent); */
  background: linear-gradient(to right,#f4f9fc, #ffffff);
  color: #160d08; /* dark brown */
}


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to left, #ef9607, transparent);
  /* background: linear-gradient(to left, #0052d4, #ffcc33); Blue + Gold gradient */
  padding: 20px 30px; /* increased padding */
  font-weight: bold;
  flex-wrap: wrap;
  min-height: 120px; /* 1.5x taller than ~80px default */
}

/* Left section: logo + name */
.left-section {
  display: flex;
  align-items: center;
  gap: 20px; /* spacing between logo and text */
  flex-shrink: 1;
}

/* Logo fills header height */
.logo img {
  height: 100%; /* match header height */
  max-height: 100px; /* control scaling */
  width: auto;
  object-fit: contain;
  padding: 5px; /* breathing space */
  background: white; /* optional: gives it contrast */
  border-radius: 8px; /* soft corners */
}

/* Company info stacked */
.company-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

/* Company Name */
.company-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px; /* scaled up proportionally */
  font-weight: bold;
  color: #33679a; /* deep blue */
  text-transform: uppercase;
  white-space: nowrap;
}

/* Tagline */
.brand-tagline {
  font-size: 16px;
  font-weight: bold;
  color: #e6a100; /* gold tone */
  margin-top: 5px;
  font-family: 'Poppins', sans-serif;
}


/* Menu styling */
.menu {
  flex-shrink: 1;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  color: #160d08; /* dark brown */
}

.menu a.active {
  color: #59b672;
  text-decoration: underline;
  font-weight: bold;
}

.menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.menu ul li {
  margin-left: 20px;
}

.menu ul li a {
  text-decoration: none;
  color: #160d08; /* dark brown */
  font-weight: 500;
  transition: color 0.3s;
}

.menu ul li a:hover {
  /* color: #9b59b6; */ 
  color: #af3eb9;
  text-decoration: underline;
  font-weight: bold;
}



/* Responsive fallback */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    width: 100%;
    margin-top: 10px;
  }

  .menu ul {
    justify-content: flex-start;
  }

  .menu ul li {
    margin: 10px 10px 0 0;
  }
}


main {
  width: 80%; /* Takes up 80% of the available width */
  flex: 1;
  margin: 0 auto; /* Center the main content horizontally */
  /* Expands to fill space between header and footer */
  display: flex;
  /* Allows page to expand within it */
  
}

/* Main section for index page */
/* HOMEPAGE CENTERED LAYOUT — responsive and centered */

.homepage {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  background-color: #f8f9fa;
}

.homepage .page {
  width: 80%;
  max-width: 1200px;
  background: linear-gradient(to right, #f4f9fc, #ffffff);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.homepage .content > h1,
.homepage .content > h4,
.homepage .content > p {
  text-align: center;
  margin: 6px 0;
  line-height: 1.4;
}

.homepage .content > h1, h2 {
  text-align: center;
  margin-top: 0;
  font-size: 24px;
  margin-bottom: 0.6em; /* space below */
  color: #2c3e50;
}

.homepage .content > h4 {
  font-size: 20px;
  font-weight: 500;
  color: #34495e;
}

.homepage .content > p {
  font-size: 16px;
  color: #555;
  max-width: 900px;
  margin: 0px auto 2px auto;
}

/* Image + Text Layout */
.homepage .layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* gap: 40px; */
  /* margin-top: 20px; */
}

.homepage .image-left {
  flex: 1 1 300px;
  max-width: 550px;
}

.homepage .image-left img {
  width: 100%;
  height: 600px;
  border-radius: 2px;
  object-fit: cover;
  object-position: left center; /* keep left side visible */
}

.homepage .text-right {
  flex: 2 1 500px;
  display: flex;
  flex-direction: column;
}

.homepage .text-right h1 {
  font-size: 24px;
  font-weight: bold;
  margin-top: 2px;
  color: #2c3e50;
}

.homepage .text-right h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 2px 0 4px 0;
  color: #4a4a4a;
}

.homepage .text-right p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px 0;
  color: #333;
}

/* Mobile/Tablet Adjustments */
@media (max-width: 768px) {
  .homepage .layout {
    flex-direction: column;
    align-items: center;
  }

  .homepage .image-left,
  .homepage .text-right {
    width: 100%;
  }

  .homepage .page {
    width: 90%;
  }
}


/* main section for all other pages */
.page {
  padding: 10px;
  /* background: linear-gradient(to right, #d4f8c4, #e6f7ff); Light green to light blue */
  background: linear-gradient(to right,#f4f9fc, #ffffff);
  flex: 1;
  /* Makes page expand inside main */
  display: flex;
  /* Optional: Adjust layout inside page */
  flex-direction: column;
  /* Optional: Control child elements */
  white-space: pre-wrap;
}

.layout {
  display: flex;
  gap: 50px;
  margin-top: 2px;
  flex-wrap: wrap; /* allows mobile responsiveness */
}

.image-left {
  flex: 1;
  min-width: 300px;
}

.image-left img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.text-right {
  flex: 2;
  min-width: 300px;
}

.text-right h1 {
  font-size: 24px;
  margin-top: 20px;
}

.text-right h4 {
  margin-bottom: 5px;
  margin-top: 15px;
  font-size: 18px;
}

.text-right p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.container {
  flex: 1;
  /* Pushes the footer to the bottom */
}

/* footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background: linear-gradient(to right, #4c9cc5, transparent); */
  background: linear-gradient(to left, #ef9607, transparent);
  font-family: 'Orbitron', sans-serif;
  color: #000;
  padding: 10px 0;
}

footer p {
  margin: 2px 0;/* reduce vertical spacing */
  line-height: 1.1;
}

/* Top row layout */
.top-row {
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  flex-wrap: wrap;
  padding: 20px 0;
  gap: 20px;
  font-family: Arial,'Orbitron', sans-serif;
}

/* All sections: contact, opening-hours, news, social */
.contact-details,
.opening-hours,
.news,
.social-media {
  flex: 1 1 200px; /* responsive: shrink and wrap if needed */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 10px;
}

/* Section title */
.section-title {
  font-weight: bold;
  /* color: #d4af37; */
  color: #160d08; /* dark brown */
  font-size: 18px;
  margin-bottom: 8px;
  font-family: 'Orbitron', sans-serif;
}

/* Logo icons */
.section-logo img {
  height: 28px;
  margin-bottom: 6px;
}

/* News links */
.news ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news li {
  margin: 6px 0;
}

.news a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease;
}

.news a:hover {
  color: #af3eb9; /* gold hover */
}

/* Social media */
.social-icon {
  display: flex;
  align-items: center;
  margin: 4px 0;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.social-icon img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* Hover effect to match header links */
.social-icon:hover,
.social-icon:focus {
  color: #d4af37; /* gold on hover like header */
  font-weight: bold;
}

/* Active link styling */
.social-icon.active {
  color: #d4af37;
  font-weight: bold;
  text-decoration: underline;
}

/* Copyright */
.copyright {
  text-align: center;
  font-size: 14px;
  color: #160d08;
  margin-top: 20px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
  width: 100%;
}


  
/* footer above*/

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.popup-content {
  position: relative;
}

#closePopup {
  position: absolute;
  top: -10px;
  right: -10px;
  cursor: pointer;
  font-size: 20px;
}

form label {
  display: block;
  margin-top: 10px;
}

form input,
form textarea,
form button {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
}

form button {
  background-color: #f4d03f;
  border: none;
  cursor: pointer;
}


/* Contact form in contact us page */

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

#contactForm label {
  font-weight: bold;
  margin-top: 10px;
}

#contactForm input,
#contactForm textarea {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Make regular inputs 80% width */
#contactForm input[type="text"],
#contactForm input[type="tel"],
#contactForm input[type="email"],
#contactForm input[type="subject"] {
  width: 80%;
}

/* Make subject full width */
#contactForm input#body {
  width: 100%;
}

/* Textarea full width and larger height */
#contactForm textarea {
  width: 100%;
  height: 120px;
  resize: vertical;
}

/* Submit button styling */
#contactForm button {
  margin-top: 15px;
  padding: 10px;
  background-color: #005fa3;
  color: white;
  border: none;
  border-radius: 4px;
  width: 150px;
  cursor: pointer;
}
