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

:root {
  /* Brand Colors */
  --primary-color: #2c3e50;       /* dark blue-gray */
  --secondary-color: #8f8f8f;     /* light gray background */
  --gold-color: #ffcc00;          /* warm gold */
  --light-color: #ffffff;         /* white background */

  /* Alert Colors */
  --success-bg: #d4edda;
  --success-text: #155724;
  --error-bg: #f8d7da;
  --error-text: #721c24;
  --warning-bg: #fff3cd;
  --warning-text: #856404;

  /* Fonts */
  --font-main: 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Playfair Display', serif;
  --font-company: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  /* Sizing and Spacing */
  --border-radius: 10px;
  --max-width: 1980px;
  --popup-width: 400px;

  /* Shadows */
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.2);
  --shadow-strong: 0 4px 15px rgba(0, 0, 0, 0.3);

  /* Transitions */
  --transition-speed: 0.3s;

  /* Special Colors */
  --highlight-letter: #b22222; /* Firebrick (deep red) */
}

/* Global Resets & Base */

body {
  font-family: var(--font-main);
  background-color: var(--secondary-color);
  color: var(--primary-color);
  line-height: 1.6;
}
a {
  color: var(--gold-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}
a:hover {
  color: var(--primary-color);
}

/* Header */

.site-header {
  background-color: var(--primary-color);
  border-bottom: 2px solid var(--gold-color);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 50px;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

}

.logo a img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  border-radius: calc(var(--border-radius) * 0.8);
  transition: transform var(--transition-speed) ease;
  vertical-align: middle;
}

.logo a:hover img {
  transform: scale(1.05);
}

.company-name {
  font-size: 1.8rem;
  letter-spacing: 3px;
  color: var(--gold-color);
  font-weight: 700;
  font-family: var(--font-company);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.company-name::first-letter {
  color: var(--highlight-letter);
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.main-nav ul li a {
  font-weight: 600;
  padding: 0.5rem;
  position: relative;
  font-family: var(--font-main);
  transition: color var(--transition-speed);
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gold-color);
  bottom: -4px;
  left: 0;
  transition: width var(--transition-speed) ease;
}

.main-nav ul li a:hover::after {
  width: 100%;
}



/* User Dropdown */

.user-dropdown {
  position: relative;
}

.user-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  min-width: 150px;
  z-index: 1000;
  padding: 0.5rem 0;
  flex-direction: column;
}



.user-badge {
  background-color: var(--primary-color);
  color: var(--gold-color);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-main);
}

.dropdown-icon {
  transition: transform var(--transition-speed);
}

.user-dropdown.active .dropdown-icon {
  transform: rotate(180deg);
}



/* Slider */
.slider {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity var(--transition-speed) ease-in-out;
}

.slide::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.slide.active {
  opacity: 1;
  position: relative;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  border: none;
  padding: 0.5rem 1rem;
  color: var(--light-color);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  border-radius: calc(var(--border-radius) / 2);
  font-family: var(--font-main);
  transition: background-color var(--transition-speed);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}



/* greet */
.slider-overlay {
  width: 70%;
  position: absolute;
  top: 30px;
  left: 50%; 
  transform: translateX(-50%); 
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 1rem 3rem;
  z-index: 10;
  background-color: var(--primary-color);
  border-radius: 10rem;
}

.welcome-text {
  color: var(--light-color);
  animation: fadeInUp var(--transition-speed) ease-out both;
}

.welcome-text h1 {
  font-size: 5rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--light-color);
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  animation: fadeInSlide var(--transition-speed) ease-out both;
}

.brand-name {
  color: var(--gold-color);
  font-weight: 700;
  font-family: var(--font-company);
}

.brand-name .highlight {
  color: var(--light-color);
  background: linear-gradient(to right, var(--gold-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quote {
  font-size: 2rem;
  font-weight: 500;
  font-family: var(--font-main);
}

@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Popup */
.popup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 120px;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition-speed) ease, visibility var(--transition-speed);
  z-index: 99;
}
.popup.active {
  visibility: visible;
  opacity: 1;
}
.logo-pop{
  display: flex;
  flex-direction: column;
}
.popup-content {
  background: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: var(--popup-width);
  box-shadow: var(--shadow-strong);
  text-align: center;
}
.popup-content h3 {
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  color: var(--primary-color);
}
.popup-content input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--secondary-color);
  border-radius: var(--border-radius);
  font-family: var(--font-main);
}
.popup-content button {
  width: 100%;
  padding: 0.75rem;
  background: var(--gold-color);
  border: none;
  border-radius: var(--border-radius);
  color: var(--light-color);
  font-weight: bold;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background var(--transition-speed) ease;
}
.popup-content button:hover {
  background: var(--primary-color);
}


/* errors - success- messages */

/* Alert Messages (Success, Error, Warning) */

ul.messages.messages-success {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  padding: 0;
  margin: 0;
  list-style: none;
  width: max-content;
  max-width: 90%;
  text-align: center;
}

ul.messages.messages-success li {
  background: var(--success-bg);
  color: var(--success-text);
  padding: 12px 20px;
  border-radius: var(--border-radius);
  font-weight: 500;
  box-shadow: var(--shadow-light);
  margin: 10px auto;
}

ul.messages.global-messages {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 0;
  margin: 0;
  list-style: none;
}

ul.messages li {
  display: inline-block;
  background: var(--error-bg); /* Default to error */
  color: var(--error-text);
  padding: 10px 15px;
  border-radius: calc(var(--border-radius) * 0.5);
  font-weight: 500;
  margin-bottom: 5px;
}

ul.messages li.success {
  background: var(--success-bg);
  color: var(--success-text);
}

ul.messages li.warning {
  background: var(--warning-bg);
  color: var(--warning-text);
}

.error {
  background: var(--error-bg);
  color: var(--error-text);
  padding: 6px 10px;
  border-radius: calc(var(--border-radius) * 0.4);
  font-size: 0.9em;
  margin-bottom: 1rem;
}
.login{
  margin-top: 1rem;
}

/* errors - success- messages */


/* Footer */
.site-footer {
  background: var(--primary-color);
  color: var(--light-color);
  padding: 3rem 1.5rem 1rem;
  font-family: var(--font-main);
  border-top: 4px solid var(--primary-color);
  box-shadow: var(--shadow-medium);
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-about h4,
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold-color);
  margin-bottom: 1rem;
  position: relative;
}

.footer-about h4::after,
.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  margin-top: 0.3rem;
  border-radius: 2px;
}

.footer-about p {
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-speed) ease;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Optional: keep for subtle line */
}




@media (max-width: 360px) {

  /* header */
  .header-flex {
  flex-direction: column;
  }
  .logo {
    flex-direction: column;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  /* header */

  /* greet */
  .slider-overlay {
    width: 100%;
    padding: .5rem .5rem;
  }
  .welcome-text h1 {
    font-size: 1.5rem;
  }
  .hero-title {
    font-size: 1rem;
  }
  .quote {
    font-size: 1rem;
  }
  /* greet */
  .popup {
  top: 200px;
  }

}


@media (min-width: 361px) and (max-width: 575px){
  /* header */
  .header-flex {
  flex-direction: column;
  }
  .logo {
    flex-direction: column;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  /* header */
  /* greet */
  .slider-overlay {
    width: 100%;
    padding: .5rem .5rem;
  }
  .welcome-text h1 {
    font-size: 2rem;
  }
  .hero-title {
    font-size: 1rem;
  }
  .quote {
    font-size: 1rem;
  }
  /* greet */
  /* popup */
  .popup {
  top: 190px;
  }
  /* popup */
  

}
@media (min-width: 576px) and (max-width: 767px){
  /* header */
  .header-flex {
  flex-direction: column;
  }
  .logo {
    flex-direction: column;
  }
  /* header */
  /* greet */
  .slider-overlay {
    width: 100%;
    padding: .5rem .5rem;
  }
  .welcome-text h1 {
    font-size: 3rem;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .quote {
    font-size: 1.5rem;
  }
  /* greet */
  /* popup */
  .popup {
  top: 160px;
  }
  /* popup */

}

@media (min-width: 768px) and (max-width: 1024px){
  /* header */
  .header-flex {
  flex-direction: column;
  }
  /* header */
  /* greet */
  .slider-overlay {
    width: 100%;
    padding: .5rem .5rem;
  }
  .welcome-text h1 {
    font-size: 3.5rem;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .quote {
    font-size: 1.5rem;
  }
  /* greet */
  /* popup */
  .popup {
  top: 100px;
  }
  /* popup */
  
}


@media (min-width: 1025px) and (max-width: 1366px){
  /* greet */
  .slider-overlay {
    width: 100%;
    padding: .5rem .5rem;
  }
  .welcome-text h1 {
    font-size: 5rem;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .quote {
    font-size: 1.5rem;
  }
  /* greet */
  /* popup */
  .popup {
  top: 100px;
  }
  /* popup */

}
@media (min-width: 1367px) and (max-width: 1600px){
   .slider-overlay {
    width: 100%;
    padding: .5rem .5rem;
  }

}
@media (min-width: 1601px) and (max-width: 1920px){
    
    
}
@media (min-width: 1921px) {

    
}


