@charset "utf-8";

/* Theme Colour Variables*/

/* Blue Theme (Default) */
[data-theme="blue"] {
  --bg-main: linear-gradient(180deg, #00aaff, #005f99);
  --text-color: #ffffff;
  --card-bg: #000000;
  --navbar-bg: #000000;
  --accent: #4E95D9;
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-main: #000000;
  --text-color: #ffffff;
  --card-bg: #111111;
  --navbar-bg: #000000;
  --accent: #FFFFFF;
}

[data-theme="dark"] .theme-switcher button {
  color: #000000;
}

[data-theme="dark"] .hero-text {
  color: #FFFFFF;
}

/* Light Theme */
[data-theme="light"] {
  --bg-main: #ffffff;
  --text-color: #FFFFFF;
  --card-bg: #f2f2f2;
  --navbar-bg: grey;
  --accent: #000000;
  --information-color: #000000;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styling - Everything */
body {
  font-family: Calibri, sans-serif;
  background: var(--bg-main);
  color: var(--text-color);
  min-height: 100vh;
  text-align: center;
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 2.2rem 5rem;
  background: black;
  color: white;
  border-bottom: 2px solid #fff;
  text-align: center;
}

.logo {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.logo img {
  width: 150px;
  border-radius: 50%;
}

.hero-text {
  flex: 1;
  text-align: center;
}

.hero-text h1 {
  font-size: 60px;
  text-align: center;
  color: var(--text-color);
}

/* Quote */
.tagline {
  font-size: 1.2rem;
  margin-top: 0.3rem;
  font-style: italic;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--navbar-bg);
  padding: 0.7rem 0;
  gap: 1.5rem;
  border-bottom: 2px solid #fff;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border-radius: 7px;
  background: #4E95D9;
  transition: all 0.2s ease;
  font-weight: 500;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar a:hover,
.navbar a.active {
  background: #4ED977;
  transform: scale(1.05);
}

.nav-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  pointer-events: none;
}

/* Email */
.contact-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  padding: 2rem 5rem;
  color: var(--information-color);
}

.contact-right {
  background: #000000;
  text-align: center;
  padding: 1.5rem;
}

.contact-left {
  background: #87d6ff;
  padding: 1rem;
  border: 2px solid #000000;
  color: white;
  border-radius: 6px;
}

.contact-icons p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #000;
}

.contact-icons a {
  color: #000;
  text-decoration: underline;
}

.contact-form .row {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  color: #000;
}

.contact-form .row label {
  text-align: left;
  margin-left: 0;
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.4rem;
  padding: 0.9rem;
  border: 2px solid black;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 260px;
  resize: vertical;
}

.send-btn {
  margin-top: 1.3rem;
  padding: 0.9rem 2rem;
  background: #4ED977;
  border: 2px solid black;
  font-size: 1.2rem;
  cursor: pointer;
  font-weight: bold;
  color: black;
  margin-left: auto;
  display: block;
}

.send-btn {
  transition: all 0.21s ease;
}

.send-btn:hover {
  background: #3EC46B;
  color: white;
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: rgba(0, 0, 0, 0.8);
  border-top: 2px solid #fff;
  padding: 30px 20px;
  color: white;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 16px;
}

.footer-right {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-right img {
  width: 35px;
  height: 35px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.footer-right img:hover {
  transform: scale(1.3);
}

/* JavaScript - Interactive Map */
.location-title {
  padding: 0.1rem;
  margin-bottom: 1rem;
  color: white;
  font-size: 26px;
}

#map-container {
  width: 100%;
  height: 595px;
}

/* JavaScript - Font Resizer */
.font-resizer {
  position: fixed;
  top: 5px;
  right: 10px;
  z-index: 9999;
}

.font-resizer button {
  padding: 5px 10px;
  margin: 8px;
  font-size: 18px;
  cursor: pointer;
  color: white;
  background-color: #138DFF;
  border: 1px solid white;
  width: 50px;
  border-radius: 6px;
  transform: scale(1.1);
  transition: 0.2s;
}

/* Hover Effects */
#DecreaseFont:hover {
  background: #FF0000;
  transform: scale(1.20);
}
#DefaultFont:hover {
  background: #FFC107;
  transform: scale(1.20);
}
#IncreaseFont:hover {
  background: #00C853;
  transform: scale(1.20);
}

/* JavaScript - Live Clock */
#clock {
  font-size: 40px;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid #fff;
}

/* JavaScript - Background Colour Change */
.theme-switcher {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  display: flex;
  gap: 10px;
}

.theme-switcher button {
  font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.2s;
}

.theme-switcher button:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* JavaScript - Cookies Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--card-bg, #1e1e1e);
  border-top: 1px solid var(--border-color, #333);
  padding: 15px;
  display: none;
  z-index: 99999;
  animation: slideUp 0.5s ease;
}

.cookie-content {
  max-width: 900px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  color: var(--text-color);
  font-size: 14px;
}

#accept-cookies {
  padding: 8px 18px;
  border: none;
  background: var(--accent, #2c7bff);
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
}

#accept-cookies:hover {
  background: var(--accent-hover, #1a5ed9);
}

/* Animation */
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* Responsiveness */

/* Tablets */
@media (max-width: 900px) {

  /* Hero */
  .hero-section {
    padding: 2rem 2rem;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .logo img {
    width: 120px;
  }

  /* Contact layout */
  .contact-section {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .contact-left,
  .contact-right {
    padding: 1.5rem;
  }

  /* Map */
  #map-container {
    height: 420px;
  }

  /* Controls */
  .font-resizer button,
  .theme-switcher button {
    min-width: 44px;
  }
}

/* Mobile */
@media (max-width: 600px) {

  /* Hero */
  .hero-section {
    padding: 1.3rem;
  }

  .hero-text h1 {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .tagline {
    font-size: 1.05rem;
  }

  .logo {
    position: static;
    transform: none;
    margin-bottom: 1rem;
  }

  .logo img {
    width: 95px;
  }

  /* Navbar */
  .navbar {
    flex-direction: column;
    gap: 0.8rem;
  }

  .navbar a {
    width: 90%;
    justify-content: center;
    padding: 0.7rem;
    font-size: 0.9rem;
  }

  /* Contact Layout */
  .contact-section {
    grid-template-columns: 1fr;
    padding: 1.2rem;
    gap: 1.5rem;
  }

  .contact-left,
  .contact-right {
    padding: 1.2rem;
    border-radius: 10px;
  }

  /* Contact text */
  .contact-icons p {
    font-size: 1rem;
    justify-content: center;
    text-align: center;
  }

  /* Form */
  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 0.85rem;
  }

  .contact-form textarea {
    min-height: 200px;
  }

  .send-btn {
    width: 100%;
    margin-left: 0;
    font-size: 1.05rem;
  }

  /* Map */
  #map-container {
    height: 300px;
  }

  .location-title {
    font-size: 22px;
  }

  /* Theme switcher */
  .theme-switcher {
    position: static;
    justify-content: center;
    margin: 0.6rem auto;
  }

  /* Font Resizer */
  .font-resizer {
    position: static;
    display: flex;
    justify-content: center;
    margin-bottom: 0.8rem;
  }

  .font-resizer button,
  .theme-switcher button {
    font-size: 16px;
    padding: 8px 12px;
    min-width: 48px;
  }

  /* Clock */
  #clock {
    font-size: 26px;
  }

  /* Footer */
  .footer-right img {
    width: 30px;
    height: 30px;
  }

  /* Cookie Banner */
  .cookie-content {
    justify-content: center;
    text-align: center;
  }
}
