/* 
 * Barbershop - Main Stylesheet
 * A comprehensive style system for a professional barbershop website
 * Color scheme: Brown shades and #215F76 (teal)
 */

/* ===== RESET & BASE STYLES ===== */
:root {
  /* Color palette */
  --primary: #215F76;
  --primary-light: #2e7c99;
  --primary-dark: #174654;
  --secondary: #6b4c35;
  --secondary-light: #8a6446;
  --secondary-dark: #4d3626;
  --accent: #c69c6d;
  --accent-light: #d9b48f;
  --accent-dark: #a8814e;
  --white: #ffffff;
  --light: #f8f5f2;
  --gray-light: #e6e1dd;
  --gray: #aaa;
  --gray-dark: #666;
  --dark: #333;
  --black: #1a1a1a;
  
  /* Typography */
  --font-family-main: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-family-headers: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  --font-family-accent: 'Montserrat', Arial, sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-main);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-headers);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

/* Override default bold font-weight for h1 and h3 */
h1 {
  font-size: 2.5rem;
  position: relative;
  font-weight: 400; /* Normal weight instead of bold */
}

h2 {
  font-size: 2rem;
  font-weight: 400; /* Added this line to make h2 not bold */
}

h3 {
  font-size: 1.75rem;
  font-weight: 400; /* Normal weight instead of bold */
}

h1:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var (--accent);
  margin-top: var(--space-sm);
}

h2 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  margin-bottom: var (--space-md);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, textarea, select, button {
  font-family: var(--font-family-main);
}

input:focus, textarea:focus, select:focus {
  outline: none;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col {
  flex: 1;
  padding: 0 1rem;
}

.col-full {
  width: 100%;
  padding: 0 1rem;
}

.col-half {
  width: 50%;
  padding: 0 1rem;
}

.col-third {
  width: 33.333%;
  padding: 0 1rem;
}

.col-quarter {
  width: 25%;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .col-half, .col-third, .col-quarter {
    width: 100%;
    margin-bottom: var(--space-lg);
  }
}

.section {
  padding: var(--space-xl) 0;
}

.section-sm {
  padding: var(--space-lg) 0;
}

.section-lg {
  padding: var(--space-xl) calc(var(--space-xl) * 1.5);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

mb-xl {
  margin-bottom: var(--space-xl);
}

.mt-0 {
  margin-top: 0;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) 0;
  z-index: 100;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
}

/* Add these rules to change all nav links to dark when scrolled */
.header.scrolled .nav-menu a {
  color: var(--dark);
}

.header.scrolled .nav-menu a:hover {
  color: var(--primary);
}

/* Change logo text color when scrolled */
.header.scrolled .logo-text {
  color: var(--dark);
}

.header.scrolled .logo-text span {
  color: var(--secondary);
}

/* Keep active state consistent */
.nav-menu a.active {
  color: var(--accent-light);
}

.header.scrolled .nav-menu a.active {
  color: var(--primary);
}

/* ===== HEADER ACTIVE PAGE INDICATOR ===== */
/* Active state styling */
.nav-menu a.active {
  color: var(--accent-light);
  font-weight: 700;
}

.header.scrolled .nav-menu a.active {
  color: var(--primary);
}

/* Ensure the underline always shows for active items */
.nav-menu a.active:after {
  width: 100%;
  background-color: var(--accent-light);
}

/* Change underline color when scrolled */
.header.scrolled .nav-menu a.active:after {
  background-color: var(--primary);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
}

.logo-text {
  font-family: var(--font-family-headers);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-left: var(--space-sm);
  display: flex;
  align-items: center;
}

.logo-text span {
  color: var(--light);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0 var(--space-md);
  display: flex;
  align-items: center;
}

/* Fix transition for smoother effect */
.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-family-accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: flex;
  align-items: center;
  transition: color var(--transition-normal);
}

.nav-menu a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}

/* Hover effect */
.nav-menu a:hover {
  color: var(--accent-light);
}

.header.scrolled .nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a:hover:after {
  width: 100%;
}

/* Remove the redundant active selector since we've added it above */
/* .nav-menu a.active {
  color: var(--primary);
} */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.scroll-down {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--white);
  animation: bounce 2s infinite;
  opacity: 0.7;
  transition: opacity var(--transition-normal);
}

.scroll-down:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-15px) translateX(-50%);
  }
  60% {
    transform: translateY(-7px) translateX(-50%);
  }
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right var(--transition-normal);
    z-index: 101;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: var(--space-sm) 0;
  }
  
  .nav-toggle {
    display: block;
    z-index: 102;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }
  
  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* Login button in navigation styling */
.nav-menu .btn-outline-primary {
  border-color: var(--accent-light);
  color: var(--white);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.nav-menu .btn-outline-primary:hover {
  background-color: var(--accent-light);
  color: var(--dark);
  text-decoration: none;
}

/* Remove underline effect for login button */
.nav-menu .btn-outline-primary:after {
  display: none;
}

/* Logout button styling in navigation */
.nav-menu .btn-outline-secondary {
  border-color: var(--gray-light);
  color: var(--white);
  transition: background-color var(--transition-normal), color var(--transition-normal);
  margin-left: 0.5rem;
}

.nav-menu .btn-outline-secondary:hover {
  background-color: var(--gray-light);
  color: var(--dark);
  text-decoration: none;
}

/* Remove underline effect for logout button */
.nav-menu .btn-outline-secondary:after {
  display: none;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 800px; /* Fixed height for desktop */
  background-color: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Welcome message for logged-in users */
.welcome-message {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.welcome-text {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.welcome-text i {
  color: var(--accent-light);
  font-size: 1.3rem;
}

.welcome-text strong {
  color: var(--accent-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Mobile adjustments for welcome message */
@media (max-width: 768px) {
  .welcome-message {
    padding: 0.8rem 1rem;
    margin-bottom: var(--space-md);
  }
  
  .welcome-text {
    font-size: 1rem;
    text-align: center;
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h1:after {
  background-color: var(--accent-light);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.hero .btn-primary {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--primary);
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-top: 100px;
  position: relative;
  z-index: 2;
}

.hero-logo-img {
  width: 40%;
  height: auto;
}

/* Hero clock styling */
.hero-clock {
  max-width: 500px;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-clock:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 15px 25px rgba(0, 0, 0, 0.2);
}

.scroll-down {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--white);
  animation: bounce 2s infinite;
  opacity: 0.7;
  transition: opacity var(--transition-normal);
}

.scroll-down:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    height: auto; /* Allow flexible height */
    min-height: 800px; /* Adequate height for content and clock */
    text-align: center;
    padding-bottom: 60px; /* Add bottom padding for clock */
  }
  
  .hero .container {
    flex-direction: column;
    padding-top: 80px;
    min-height: 100%;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
    margin-bottom: var(--space-lg);
    flex-shrink: 0;
  }
    .hero-clock {
    max-width: 85%;
    max-height: 300px;
    margin: 30px auto;
    display: block;
  }
  
  .scroll-down {
    position: relative;
    bottom: auto;
    margin-top: 40px;
    margin-bottom: 20px;
    position: static;
    transform: none;
    display: block;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto; /* Allow flexible height */
    min-height: 750px; /* Adequate height for mobile */
    padding-top: 100px;
    padding-bottom: 50px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }
    .hero-clock {
    max-width: 85%;
    max-height: 280px;
  }
  
  .scroll-down {
    position: relative;
    bottom: auto;
    margin-top: 30px;
    margin-bottom: 15px;
    position: static;
    transform: none;
    display: block;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero {
    height: auto; /* Allow flexible height */
    min-height: 700px; /* Adequate height for small mobile */
    padding-top: 80px;
    padding-bottom: 40px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
    .hero-clock {
    max-width: 80%;
    max-height: 250px;
  }
  
  .scroll-down {
    position: relative;
    bottom: auto;
    margin-top: 25px;
    margin-bottom: 10px;
    position: static;
    transform: none;
    display: block;
    text-align: center;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-family-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--white);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var (--accent-dark);
  color: var(--white);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-light:hover {
  background-color: transparent;
  color: var(--white);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Ensure these styles work when header is scrolled */
.header.scrolled .nav-menu .btn-outline-primary {
  border-color: var(--accent-light);
  color: var(--dark);
}

.header.scrolled .nav-menu .btn-outline-primary:hover {
  background-color: var(--accent-light);
  color: var, (--dark);
}

/* Scrolled header logout button styles */
.header.scrolled .nav-menu .btn-outline-secondary {
  border-color: var(--gray-dark);
  color: var(--dark);
}

.header.scrolled .nav-menu .btn-outline-secondary:hover {
  background-color: var(--gray-dark);
  color: var(--white);
}

/* ===== SERVICES SECTION ===== */
.services {
  background-color: transparent; /* Change from white to transparent */
  position: relative;
}

.services:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/wood-desktop.png'); /* Use desktop-specific wood background */
  background-size: 800px auto; /* Adjusted to be less zoomed, similar to partners section */
  background-repeat: repeat;
  z-index: -1; /* Ensure the background stays behind the content */
  opacity: 1; /* Set to full opacity - no pattern overlay */
}

.services .container {
  position: relative;
}

/* Change services section header text to white with black shadow */
.services .section-header h2,
.services .section-header h3,
.services .section-header p {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add black shadow */
  color: var(--white); /* Keep text white */
}

.services .section-header h2 {
  font-weight: 400; /* Keep the title bold for better visibility */
}

/* Also make the h3 subtitle not bold */
.services .section-header h3 {
  font-weight: 400; /* Normal weight instead of semi-bold */
  margin-top: -10px; /* Keep the existing margin */
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-normal);
  min-height: 480px; /* Increased from 450px to 480px */
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  text-align: center;
  margin-bottom: var(--space-md);
}

.service-icon-img {
  width: 100px;
  height: 100px;
  border-radius: 0;
  border: none;
  background-color: transparent;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-img {
  transform: translateY(-5px);
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.2));
}

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.service-price {
  font-family: var(--font-family-accent);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--space-sm);
}

.service-time {
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin-bottom: var(--space-md);
}

.service-card p {
  flex: 1; /* Allow paragraph to take remaining space */
  overflow-wrap: break-word; /* Ensure long words break */
  margin-bottom: var(--space-lg); /* Space for button */
}

/* Position the button at the bottom of the card */
.service-card .btn {
  margin-top: auto;
  align-self: flex-start; /* Align to left */
  position: absolute;
  bottom: var(--space-lg);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .service-card {
    min-height: auto; /* Remove minimum height on mobile */
    padding-bottom: calc(var(--space-lg) + 45px); /* Extra padding at bottom for button */
  }
  
  .service-card p {
    margin-bottom: var(--space-md);
  }
}

/* Update all text in services section to be white with shadow */
.services h1, 
.services h2, 
.services h3, 
.services h4, 
.services h5, 
.services h6,
.services p,
.services .service-price,
.services .service-time {
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Ensure service cards maintain their original styling */
.service-card h1, 
.service-card h2, 
.service-card h3, 
.service-card h4, 
.service-card h5, 
.service-card h6,
.service-card p,
.service-card .service-price,
.service-card .service-time {
  color: initial; /* Reset to default color */
  text-shadow: none; /* Remove shadow */
}

/* Update title fonts for sections with wood background */
.services .section-header h2,
.gallery .section-header h2,
.pricing .section-header h2,
.partners .section-header h2 {
  font-family: 'Sorts Mill Goudy', Georgia, 'Times New Roman', Times, serif;
  /* Keep other styling like text-shadow and color */
}

/* Also update the subtitle font (h3) for consistency */
.services .section-header h3,
.gallery .section-header h3,
.pricing .section-header h3,
.partners .section-header h3 {
  font-family: 'Sorts Mill Goudy', Georgia, 'Times New Roman', Times, serif;
  /* Keep other styling */
}

/* ===== ABOUT SECTION ===== */
.about {
  background-color: var(--primary); /* Changed from var(--light) to var(--primary) (#215F76) */
  color: var(--white); /* Added to ensure text is readable on dark background */
  position: relative;
}

.about .container {
  position: relative;
  z-index: 1;
}

/* Update text colors for better readability on dark background */
.about h2, 
.about h3, 
.about h4 {
  color: var(--white);
}

.about p {
  color: var(--white);
}

.about-video {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-md);
  height: 475px; /* Set fixed height back */
  width: 100%;
}

/* Video styling in about section - make it fill the container */
.about-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Changed from 'contain' to 'cover' to fill the container */
  border-radius: var(--radius-md);
  background-color: transparent;
  box-shadow: none;
}

.about-info {
  padding: var(--space-lg);
}

.about-info h2 {
  margin-bottom: var(--space-md);
}

.about-info p {
  margin-bottom: var(--space-md);
}

.team-member {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.team-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
  position: relative;
}

.team-img img {
  transition: all var(--transition-normal);
}

.team-member:hover .team-img img {
  transform: scale(1.05);
}

.team-social {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md);
  background-color: rgba(33, 95, 118, 0.8);
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: all var(--transition-normal);
}

.team-member:hover .team-social {
  transform: translateY(0);
}

.team-social a {
  color: var(--white);
  margin: 0 var(--space-sm);
  font-size: 1.25rem;
}

.team-social a:hover {
  color: var(--accent);
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.team-role {
  color: var(--primary);
  font-family: var(--font-family-accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

/* Change button in about section to accent color instead of brown */
.about .btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.about .btn-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

/* ===== GALLERY SECTION ===== */
.gallery {
  background-color: transparent; /* Changed from var(--white) to transparent */
  position: relative;
}

.gallery h3 {
  color: var(--dark);
  font-weight: normal;
}

/* Add wood background like services section */
.gallery:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/wood-desktop.png'); /* Use desktop-specific wood background */
  background-size: 800px auto; /* Adjusted to be less zoomed, similar to partners section */
  background-repeat: repeat;
  z-index: -1;
  opacity: 1; /* Full opacity - no pattern overlay */
}

.gallery .container {
  position: relative;
}

/* Make section headers stand out on wood background */
.gallery .section-header h2,
.gallery .section-header p {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: var(--white);
}

.gallery-title {
  margin-bottom: var(--space-xl);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.filter-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family-accent);
  font-weight: 600;
  font-size: 0.9rem;
  padding: var(--space-sm) var(--space-md);
  margin: 0 var(--space-xs);
  color: var(--gray-dark);
  transition: all var(--transition-normal);
  position: relative;
}

.filter-btn:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--primary);
}

.filter-btn:hover:after,
.filter-btn.active:after {
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var (--radius-md);
  cursor: pointer;
}

.gallery-item img {
  transition: transform var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 95, 118, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.gallery-overlay p {
  color: var(--light);
  margin-bottom: 0;
}

.gallery-zoom {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-md);
  color: var(--primary);
  font-size: 1.5rem;
}

/* Update all text in gallery section to be white with shadow */
.gallery h1, 
.gallery h2, 
.gallery h3, 
.gallery h4, 
.gallery h5, 
.gallery h6,
.gallery p,
.gallery .filter-btn {
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Make filter buttons more visible on wood background */
.gallery .filter-btn {
  color: var(--white);
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.gallery .filter-btn:hover,
.gallery .filter-btn.active {
  font-weight: 700; /* Make it bolder for better visibility */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9); /* Stronger shadow for better contrast */
}

/* Make the active filter button's underline use primary color too */
.filter-btn.active:after {
  background-color: var(--primary); /* Change underline to primary color */
  height: 3px; /* Make the underline slightly thicker */
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background-color: var(--primary); /* Changed from var(--light) to var(--primary) */
  color: var(--white);
  position: relative;
}

/* Remove pattern overlay */
.testimonials:before {
  display: none;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials .section-header h2,
.testimonials .section-header p {
  color: var(--white);
}

.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-slide {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg);
  text-align: center;
  margin: 0 var(--space-md);
  /* Adjust dimensions - shorter height, wider width */
  height: 290px;  /* Reduced from 350px */
  width: 100%;
  max-width: 750px; /* Increased from 600px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  /* Center the slide within the slider */
  margin-left: auto;
  margin-right: auto;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: var(--space-md);
  color: var(--dark);
  /* Allow scrolling for longer quotes but with less height */
  overflow-y: auto;
  /* Reduced max height */
  max-height: 160px; /* Reduced from 200px */
  /* Add padding for scrollbar */
  padding-right: 10px;
}

.testimonial-rating {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: var (--space-lg);
  color: var(--dark); /* Changed to dark color for better readability */
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--dark); /* Added to ensure name is dark */
}
.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-sm);
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.testimonial-position {
  color: var(--gray-dark);
  font-size: 0.9rem;
}

.testimonial-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  font-size: 1.25rem;
  color: var(--secondary);
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 10;
}

.testimonial-prev {
  left: -25px;
}

.testimonial-next {
  right: -25px;
}

.testimonial-nav button:hover {
  background-color: var(--secondary);
  color: var(--white);
}

@media (max-width: 992px) {
  .testimonial-nav button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .testimonial-prev {
    left: -20px;
  }
  
  .testimonial-next {
    right: -20px;
  }
}

@media (max-width: 576px) {
  .testimonial-nav button {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  .testimonial-prev {
    left: -15px;
  }
  
  .testimonial-next {
    right: -15px;
  }
}

/* Brown buttons in testimonials section */
.testimonials .btn-primary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.testimonials .btn-primary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--white);
}

/* ===== PRICING SECTION ===== */
.pricing {
  background-color: transparent; /* Changed from var(--white) to transparent */
  position: relative;
}

.pricing h3 {
  color: var(--dark);
  font-weight: normal;
}

.pricing:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/wood-desktop.png'); /* Use desktop-specific wood background */
  background-size: 800px auto; /* Adjusted to be less zoomed, similar to services section */
  background-repeat: repeat;
  opacity: 1; /* Full opacity - no pattern overlay */
  z-index: -1;
}

.pricing .container {
  position: relative;
}

.pricing .section-header h2,
.pricing .section-header p,
.price-notice {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: var(--white);
}

/* Adjust pricing table for better visibility on wood background */
.price-table {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
}

.price-table th,
.price-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

.price-table th {
  font-family: var(--font-family-headers);
  font-size: 1.25rem;
  color: var(--dark);
}

.price-name {
  font-weight: 600;
}

.price-description {
  color: var(--gray-dark);
  font-size: 0.9rem;
}

.price-value {
  font-family: var(--font-family-accent);
  font-weight: 700;
  color: var(--secondary);
}

.price-notice {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: var(--space-lg);
}

/* Update all text in pricing section to be white with shadow */
.pricing h1, 
.pricing h2, 
.pricing h3, 
.pricing h4, 
.pricing h5, 
.pricing h6,
.pricing p,
.pricing .price-notice {
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Make sure price table text stays readable */
.price-table th,
.price-table td,
.price-table .price-name,
.price-table .price-description,
.price-table .price-value {
  text-shadow: none; /* Remove shadow for table text */
}

/* ===== PARTNERS SECTION ===== */
.partners {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.partners .container {
  max-width: 1200px;
  margin: 0 auto;
}

.partners-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  text-decoration: none;
  border-radius: 20px;
  padding: 30px;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.1),
    0 1px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.2);
  position: relative;
  overflow: hidden;
}

.partner-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.partner-item:hover::before {
  left: 100%;
}

.partner-item:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(212, 165, 116, 0.2);
  border-color: #d4a574;
}

.partner-logo {
  width: 200px;
  height: 120px;
  object-fit: contain;
  object-position: center;
  transition: all 0.4s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.partner-item:hover .partner-logo {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

/* Specific styling for each brand */
.partner-logo[alt="Depot"] {
  filter: brightness(1.1) contrast(1.1) saturate(1.1);
}

.partner-logo[alt="Farout"] {
  filter: brightness(1.05) contrast(1.05) saturate(1.1);
}

/* Responsive adjustments for partners */
@media (max-width: 768px) {
  .partners {
    padding: 60px 0;
  }
  
  .partners-container {
    gap: 40px;
    flex-direction: column;
  }
  
  .partner-item {
    padding: 25px;
  }
  
  .partner-logo {
    width: 160px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .partners {
    padding: 40px 0;
  }
  
  .partners-container {
    gap: 30px;
  }
  
  .partner-item {
    padding: 20px;
  }
  
  .partner-logo {
    width: 140px;
    height: 85px;
  }
}

/* ===== APPOINTMENT SECTION ===== */
.appointment {
  background-color: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.appointment:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/pattern.png');
  background-size: 300px;
  opacity: 0.05;
}

.appointment h2 {
  color: var(--white);
}

.appointment-form {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  flex: 1;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color var(--transition-normal);
}

.form-control:focus {
  border-color: var(--primary);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.form-check-input {
  margin-right: var(--space-sm);
}

.form-error {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: var(--space-xs);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background-color: var(--primary); /* Changed from var(--light) to var(--primary) */
  color: var(--white);
  position: relative;
}

/* Remove pattern overlay */
.contact:before {
  display: none;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact .section-header h2,
.contact .section-header p {
  color: var(--white);
}

.contact-details h4 {
  color: var(--white);
}

.contact-details p {
  color: var(--white);
}

.contact-info {
  margin-bottom: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

/* Change contact icons to white instead of brown */
.contact-icon {
  color: var(--white) !important;
  font-size: 1.5rem;
  margin-right: var(--space-md);
}

.contact-details h4 {
  margin-bottom: var(--space-xs);
}

.contact-details p {
  margin-bottom: 0;
}

/* Fix the social-links class selector by adding the missing dot */
.social-links {
  display: flex;
  margin-top: var(--space-md);
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--white);
  margin-right: var(--space-sm);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  font-size: 1.2rem;
}

.social-link:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px) rotate(5deg);
  box-shadow: var(--shadow-md);
  color: var (--secondary); /* Change to the same brown color as "shop" text in header */
}

/* Instagram link styling */
.social-link.instagram-link {
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  transition: all var(--transition-normal);
}

.social-link.instagram-link:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* TikTok link styling */
.social-link.tiktok-link {
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #25F4EE, #000000, #FE2C55);
  transition: all var(--transition-normal);
}

.social-link.tiktok-link:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* WhatsApp link styling */
.social-link.whatsapp-link {
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  background: #25D366;
  transition: all var(--transition-normal);
}

.social-link.whatsapp-link:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Single social link in footer */
.footer-social a:only-child {
  width: 46px;
  height: 46px;
  font-size: 1.4rem;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer-social a:only-child:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Update footer social styling for when there are multiple icons */
.footer-social a {
  width: 46px;
  height: 46px;
  font-size: 1.4rem;
  margin-right: var(--space-sm);
  transition: all var(--transition-normal);
}

/* First icon is Instagram with its gradient */
.footer-social a:first-child {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Second icon is TikTok with its gradient */
.footer-social a:nth-child(2) {
  background: linear-gradient(90deg, #25F4EE, #000000, #FE2C55);
}

/* Update footer social styling for third icon (WhatsApp) */
.footer-social a:nth-child(3) {
  background: #25D366;
}

.map-container {
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Brown buttons in contact section */
.contact .btn-primary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.contact .btn-primary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--white);
}

/* Make outline buttons in teal sections have brown borders */
.about .btn-outline-primary,
.testimonials .btn-outline-primary,
.contact .btn-outline-primary {
  border-color: var(--secondary);
  color: var(--secondary);
}

.about .btn-outline-primary:hover,
.testimonials .btn-outline-primary:hover,
.contact .btn-outline-primary:hover {
  background-color: var(--secondary);
  color: var(--white);
}

/* ===== WORKING HOURS SECTION ===== */
.working-hours {
  background-color: var(--white);
}

.hours-container {
  background-color: var(--light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.hours-title {
  margin-bottom: var(--space-md);
  text-align: center;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-light);
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 600;
}

.hours-time {
  color: var(--secondary);
}

.hours-closed {
  color: var (--gray-dark);
  font-style: italic;
}

.hours-highlight {
  background-color: var(--accent-light);
  color: var(--secondary-dark);
  font-weight: 700;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-left: var(--space-sm);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark);
  color: var(--gray-light);
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
}

/* Fix for Safari auto-styling of phone numbers */
.footer a[href^="tel:"],
.footer .phone-number {
  color: var(--gray-light) !important;
  text-decoration: none !important;
  -webkit-text-fill-color: var(--gray-light) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline !important;
}

.contact-info .phone-number,
.privacy-table .phone-number {
  color: var(--dark) !important;
  text-decoration: none !important;
  -webkit-text-fill-color: var(--dark) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline !important;
}

/* Special handling for phone links that should have proper styling */
a.phone-link {
  color: var(--white) !important;
  text-decoration: none !important;
  -webkit-text-fill-color: var(--white) !important;
}

.footer .col-third {
  text-align: center;
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-logo img {
  width: max-content;
  margin: 0 auto; /* Center the logo image */
}

.footer-about p {
  margin-bottom: var(--space-md);
}

.footer h4 {
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; /* Center the underline */
  transform: translateX(-50%); /* Ensure proper centering */
  width: 50px;
  height: 2px;
  background-color: var(--accent-light); /* Changed from var(--primary) to var(--accent-light) */
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--gray-light);
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--accent-light); /* Changed from var(--primary) to var(--accent-light) */
}

.footer-social {
  display: flex;
  margin-top: var(--space-md);
  justify-content: center;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  margin-right: var(--space-sm);
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background-color: var(--accent-light); /* Changed from var(--primary) to var(--accent-light) */
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  font-size: 0.9rem;
}

.footer-copyright a {
  color: var(--accent-light); /* Changed from var(--primary) to var(--accent-light) */
}

/* ===== LOGIN & REGISTER PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--light);
  padding: var(--space-xl) 0;
}

.auth-container {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.auth-form {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl);
}

.auth-logo {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.auth-logo img {
  height: 60px;
  margin: 0 auto;
}

.auth-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.auth-footer {
  text-align: center;
  margin-top: var(--space-lg);
}

.auth-footer p {
  margin-bottom: var(--space-sm);
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-header {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  padding: var(--space-md) 0;
  margin-bottom: var(--space-lg);
}

.dashboard-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-logo img {
  height: 40px;
}

.dashboard-user {
  display: flex;
  align-items: center;
}

.dashboard-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: var(--space-sm);
}

.dashboard-username {
  font-weight: 600;
}

.dashboard-role {
  font-size: 0.8rem;
  color: var(--gray-dark);
}

.dashboard-sidebar {
  width: 250px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
  margin-right: var(--space-lg);
}

.dashboard-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-nav li {
  margin-bottom: var(--space-xs);
}

.dashboard-nav a {
  display: flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  color: var(--dark);
  transition: all var(--transition-normal);
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
  background-color: var(--primary);
  color: var(--white);
}

.dashboard-nav a i {
  margin-right: var(--space-sm);
  font-size: 1.2rem;
}

.dashboard-content {
  flex: 1;
}

.dashboard-main {
  display: flex;
}

.dashboard-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.dashboard-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--gray-light);
}

.dashboard-card-title {
  margin-bottom: 0;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var (--space-md);
  margin-bottom: var(--space-lg);
}

.stat-card {
  background-color: var(--white);
  border-radius: var (--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
  text-align: center;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-dark);
}

.appointment-list {
  margin-bottom: var(--space-lg);
}

.appointment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  border-bottom: 1px solid var(--gray-light);
}

.appointment-item:last-child {
  border-bottom: none;
}

.appointment-info {
  flex: 1;
}

.appointment-date {
  font-weight: 600;
  margin-bottom: var (--space-xs);
}

.appointment-service {
  color: var(--gray-dark);
  font-size: 0.9rem;
}

.appointment-status {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: var(--space-md);
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-confirmed {
  background-color: #d4edda;
  color: #155724;
}

.status-cancelled {
  background-color: #f8d7da;
  color: #721c24;
}

.status-completed {
  background-color: #d1ecf1;
  color: #0c5460;
}

.appointment-actions {
  display: flex;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: var(--space-md);
}

.tab {
  padding: var(--space-sm) var (--space-md);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-normal);
}

.tab.active {
  border-bottom-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.notification {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  transition: all var(--transition-normal);
}

.notification:hover {
  box-shadow: var(--shadow-md);
}

.notification.unread {
  border-left: 3px solid var(--primary);
}

.notification-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}

.notification-title {
  font-weight: 600;
}

.notification-date {
  font-size: 0.8rem;
  color: var(--gray-dark);
}

.notification-body {
  margin-bottom: var(--space-sm);
}

.notification-actions {
  text-align: right;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
}

.table th,
.table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

.table th {
  font-weight: 600;
  background-color: var(--light);
}

.table tr:hover {
  background-color: rgba(33, 95, 118, 0.05);
}

.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
}

.pagination li {
  margin: 0 var(--space-xs);
}

.pagination a,
.pagination span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--dark);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.pagination a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.pagination .active span {
  background-color: var(--primary);
  color: var(--white);
}

.working-hours-form {
  margin-bottom: var(--space-lg);
}

.day-row {
  display: flex;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-light);
}

.day-row:last-child {
  border-bottom: none;
}

.day-name {
  width: 150px;
  font-weight: 600;
}

.day-status {
  width: 100px;
}

.day-times {
  flex: 1;
  display: flex;
  gap: var(--space-md);
}

.user-profile {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: var(--space-lg);
}

.profile-info h3 {
  margin-bottom: var(--space-xs);
}

.profile-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.profile-stats {
  display: flex;
  gap: var(--space-lg);
}

.profile-stat {
  text-align: center;
}

.profile-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.profile-stat-label {
  font-size: 0.9rem;
  color: var(--gray-dark);
}

/* ===== ALERTS ===== */
.alert {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.alert-primary {
  background-color: rgba(33, 95, 118, 0.1);
  color: var(--primary-dark);
  border: 1px solid rgba(33, 95, 118, 0.3);
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* ===== UTILITIES ===== */
.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-accent {
  color: var(--accent);
}

.text-light {
  color: var(--light);
}

.text-dark {
  color: var(--dark);
}

.text-gray {
  color: var(--gray);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-accent {
  background-color: var(--accent);
}

.bg-light {
  background-color: var(--light);
}

.bg-white {
  background-color: var(--white);
}

.bg-dark {
  background-color: var(--dark);
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: var(--radius-md);
}

.shadow {
  box-shadow: var(--shadow-md);
}

.overlay {
  position: relative;
}

.overlay:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.overlay-content {
  position: relative;
  z-index: 2;
}

.divider {
  height: 1px;
  background-color: var(--gray-light);
  margin: var(--space-lg) 0;
}

.divider-sm {
  height: 1px;
  background-color: var(--gray-light);
  margin: var(--space-md) 0;
}

/* Responsive utilities */
@media (max-width: 992px) {
  .form-row {
    flex-direction: column;
  }
  
  .dashboard-main {
    flex-direction: column;
  }
  
  .dashboard-sidebar {
    width: 100%;
    margin-right: 0;
    margin-bottom: var(--space-lg);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
  
  .section,
  .section-sm,
  .section-lg {
    padding: var(--space-lg) 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}