/* Main CSS file for Teafuu website */
@import url('./cart.css');

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

body {
  font-family: 'Noto Sans SC', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 2rem; /* Increased padding for height */
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  background-color: transparent; /* Transparent background */
}

.header-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
}

.header.scrolled {
  background-color: rgb(4, 99, 91); /* Fully opaque green when scrolled */
  box-shadow: none !important;
}

.transparent-header {
  background-color: transparent;
}

.logo {
  height: 60px;
  width: auto;
}

.text-logo {
  font-size: 24px;
  font-weight: 700;
  color: #04635b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin-left: 0;
}

.auth-link {
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0.5rem 1rem;
  margin-right: 1rem;
}

/* Cart icon styles */
.cart-icon {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff6b6b;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-link:hover {
  color: #e0e0e0;
}

/* Shopping cart icon styles */
.cart-icon {
  position: relative;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.cart-icon:hover {
  color: rgba(255, 255, 255, 0.8);
}

.cart-icon i {
  margin-right: 0.3rem;
}

.auth-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* User menu styles */
.user-menu-container {
  position: relative;
  margin-right: 1rem;
}

.user-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ff6b6b;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.user-icon:hover {
  background-color: #ff5252;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 180px;
  padding: 0.8rem 0;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 15px;
  width: 12px;
  height: 12px;
  background-color: white;
  transform: rotate(45deg);
  border-top-left-radius: 2px;
}

.user-email {
  padding: 0.6rem 1.2rem;
  color: #333;
  font-size: 0.9rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 0.5rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-button {
  width: 100%;
  padding: 0.6rem 1.2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.9rem;
  color: #ff5252;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.logout-button:hover {
  background-color: #f8f8f8;
}

/* Authentication Dialog Styles */
.auth-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(3px);
}

.auth-dialog {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: dialogFadeIn 0.3s ease-out;
}

@keyframes dialogFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-tabs {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.auth-tab {
  flex: 1;
  padding: 15px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-tab.active {
  color: #04635b;
  border-bottom: 2px solid #04635b;
}

.auth-content {
  padding: 20px;
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.auth-form.active {
  display: flex;
}

.auth-form-header {
  text-align: center;
  margin-bottom: 10px;
}

.auth-form-title {
  color: #04635b;
  font-size: 1.8rem;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.auth-form-subtitle {
  color: #666;
  margin: 0;
  font-size: 1rem;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-input-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}

.auth-input {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.auth-input:focus {
  border-color: #04635b;
  box-shadow: 0 0 0 2px rgba(4, 99, 91, 0.2);
  outline: none;
}

.auth-submit-button {
  padding: 14px;
  background-color: #04635b;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.auth-submit-button:hover {
  background-color: #035049;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.auth-submit-button:disabled {
  background-color: #88aba7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.auth-error-message {
  background-color: #fff2f2;
  border-left: 3px solid #ff5252;
  padding: 10px 15px;
  color: #d32f2f;
  font-size: 0.9rem;
  border-radius: 4px;
  margin-bottom: 10px;
}

.form-group.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.form-group.checkbox label {
  font-weight: normal;
  font-size: 14px;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: white;
  font-weight: 500;
  font-size: 1.1rem; /* Larger text */
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-links a.active {
  font-weight: 700;
  border-bottom: 2px solid white;
}

/* Video background styles */
.home-page {
  position: relative;
}

.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  max-height: 100vh;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  max-width: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Media queries for video responsiveness */
@media screen and (max-width: 768px) {
  .video-container {
    height: 70vh;
  }
  
  .background-video {
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 480px) {
  .video-container {
    height: 60vh;
  }
}

.logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  text-align: center;
}

.centered-logo {
  max-width: 400px;
  width: 80%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

/* Hero section styles */
.hero {
  padding: 5rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

/* Video hero specific styles */
.video-hero {
  height: 100vh;
  margin-bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
  background: transparent;
  position: relative;
  z-index: 2;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  cursor: pointer;
  z-index: 3;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-arrow {
  margin-top: 0.5rem;
  width: 20px;
  height: 20px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-10px) rotate(45deg);
  }
  60% {
    transform: translateY(-5px) rotate(45deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: #04635b;
  font-size: 3rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.hero p {
  color: #4a6b6a;
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero .cta-button {
  display: inline-block;
  background-color: #04635b;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 48px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid #04635b;
  box-shadow: 0 4px 15px rgba(4, 99, 91, 0.2);
}

.hero .cta-button:hover {
  background-color: #034943;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 99, 91, 0.3);
}

/* Featured Products */
.featured-products {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 48px 48px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.featured-products h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
  color: #04635b;
  font-size: 2.2rem;
  font-weight: 700;
}

.featured-products h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #04635b;
  margin: 1rem auto 0;
  border-radius: 48px;
}

/* Shop page layout with sidebar */
.shop-main-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 2rem;
}

.shop-sidebar {
  width: 240px;
  flex-shrink: 0;
  padding: 1rem;
}

.products-section {
  flex-grow: 1;
}

.filter-section {
  margin-bottom: 2rem;
}

.filter-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #333;
}

.filter-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-button {
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  text-align: left;
  cursor: pointer;
  font-size: 0.95rem;
  color: #555;
  transition: color 0.2s;
}

.filter-button:hover {
  color: #04635b;
}

.filter-button.active {
  color: #04635b;
  font-weight: 600;
}

/* Grid layout switch buttons */
.grid-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.grid-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #999;
  transition: all 0.2s ease;
}

.grid-btn:hover {
  border-color: #04635b;
  color: #04635b;
}

.grid-btn.active {
  background: #04635b;
  color: white;
  border-color: #04635b;
}

/* Product grid layouts */
.product-grid {
  display: grid;
  gap: 2rem;
  justify-content: center;
}

.product-grid.three-columns {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid.two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.product-grid.one-column {
  grid-template-columns: 1fr;
}

.product-grid.one-column .product-card {
  max-width: 700px;
  margin: 0 auto;
}

/* Responsive grid adjustments */
@media (max-width: 1200px) {
  .product-grid.three-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid.three-columns,
  .product-grid.two-columns {
    grid-template-columns: 1fr;
  }
}

/* Product Wrapper */
.product-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

/* Product Card - now only contains the image */
.product-card {
  max-width: 540px;
  width: 100%;
  aspect-ratio: 1/1;
  background-color: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  margin-bottom: 1rem;
}

.product-detail-page {
  max-width: 700px;
  margin: 3rem auto;
  background: white;
  border-radius: 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-detail-page img {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 32px;
  margin-bottom: 2rem;
}
.product-detail-page h2 {
  font-size: 2.2rem;
  color: #04635b;
  margin-bottom: 1.2rem;
}
.product-detail-page .product-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 1.7rem;
}
.product-detail-page .product-description {
  font-size: 1.15rem;
  color: #444;
  text-align: center;
  margin-bottom: 2.2rem;
}

.product-description-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 99, 91, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
  color: white;
  text-align: center;
  border-radius: 28px;
}

.product-image:hover .product-description-overlay {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Removed duplicate hover style */

.product-image {
  width: 100%;
  height: 100%;
  background: #f8f8f8;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 28px;
  padding: 16px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: #f8f8f8;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  color: #04635b;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

.product-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 0.5rem;
  margin-bottom: 1.5rem;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #333;
}

.product-price {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  color: #04635b;
  text-align: center;
}

.product-description {
  display: none;

  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.add-to-cart {
  background-color: #04635b;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 48px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.add-to-cart:hover {
  background-color: #034943;
}

/* Company Info */
.company-info {
  background-color: white;
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
}

.info-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.info-section {
  text-align: center;
}

.info-section h3 {
  color: #04635b;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.info-section p {
  color: #666;
  line-height: 1.7;
}

/* Footer styles */
.footer {
  background-color: #04635b;
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

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

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

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* About page styles */
.about-page {
  padding-top: 80px;
}

/* Remove unwanted line/shadow below banner for Shop and About pages */
.shop-page > *:first-child,
.about-page > *:first-child {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  margin-top: 0 !important;
}

.shop-page > .page-header-banner,
.about-page > .page-header-banner {
  border-bottom: none !important;
  box-shadow: none !important;
}

.page-header-banner {
  background-color: #04635b;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: none !important;
  box-shadow: none !important;
}

.page-header-banner h1 {
  font-size: 2.5rem;
  margin: 0;
}

.team-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member-card {
  background-color: white;
  border-radius: 48px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.team-member-card h3 {
  color: #04635b;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.team-member-card h4 {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Shop page styles */
.shop-page {
  padding-top: 80px;
}

.filter-section {
  background-color: #f5f5f5;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-label {
  font-weight: 600;
  color: #04635b;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-button {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 48px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-button:hover {
  background-color: #f0f0f0;
}

.filter-button.active {
  background-color: #04635b;
  color: white;
  border-color: #04635b;
}

.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.view-all-container {
  text-align: center;
  margin-top: 2rem;
}

.view-all-button {
  display: inline-block;
  background-color: #04635b;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 48px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-all-button:hover {
  background-color: #034943;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(4, 99, 91, 0.3);
}

/* Error and not found pages */
.error-message,
.not-found {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.error-message h1,
.not-found h1 {
  color: #04635b;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.back-home {
  display: inline-block;
  margin-top: 2rem;
  background-color: #04635b;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 48px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-home:hover {
  background-color: #034943;
}

.centered-text-logo {
  font-size: 3rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Authentication pages styles */
.auth-page {
  padding-top: 80px;
}

.auth-form-container {
  max-width: 500px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 48px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #333;
}

.form-group input {
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 48px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: #04635b;
  outline: none;
  box-shadow: 0 0 0 2px rgba(4, 99, 91, 0.2);
}

.auth-submit-button {
  width: 100%;
  padding: 0.8rem;
  background-color: #04635b;
  color: white;
  border: none;
  border-radius: 48px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.auth-submit-button:hover {
  background-color: #034943;
}

.auth-alternate-link {
  text-align: center;
  margin-top: 1rem;
  color: #666;
}

.auth-alternate-link a {
  color: #04635b;
  font-weight: 600;
  margin-left: 0.5rem;
  transition: color 0.3s ease;
}

.auth-alternate-link a:hover {
  color: #034943;
  text-decoration: underline;
}

/* Contact page styles */
.contact-page {
  padding-top: 80px;
}

/* Apply the same header banner style as other pages */
.contact-page > *:first-child {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  margin-top: 0 !important;
}

.contact-page > .page-header-banner {
  border-bottom: none !important;
  box-shadow: none !important;
}

.contact-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2,
.contact-form h2 {
  color: #04635b;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #04635b;
}

.detail-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.detail-content p {
  color: #666;
}

/* Contact form styles */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #333;
}

.required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 48px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group textarea {
  border-radius: 24px;
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #04635b;
  outline: none;
  box-shadow: 0 0 0 2px rgba(4, 99, 91, 0.2);
}

.submit-button {
  padding: 0.8rem 2rem;
  background-color: #04635b;
  color: white;
  border: none;
  border-radius: 48px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.submit-button:hover {
  background-color: #034943;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(4, 99, 91, 0.3);
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  text-align: center;
}

/* Map section */
.map-section {
  padding: 2rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.map-container {
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .centered-logo {
    max-width: 300px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.8rem 1rem;
  }
  
  .nav-links li {
    margin-left: 1rem;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .featured-products {
    padding: 2rem 1rem;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .centered-logo {
    max-width: 250px;
  }
}
