/* Header Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --text-color: #333;
  --text-lighter: #999;
  --transition-medium: 0.3s ease;
  --border-radius: 4px;
}

/* Header Styles */
header {
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-medium);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header.scrolled {
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Logo Container Styles */
.logo-container {
  display: flex;
  flex-direction: column;
}

.logo-link {
  display: flex;
  align-items: center;
  transition: transform var(--transition-medium);
  text-decoration: none;
  color: inherit;
}

.logo-link:hover {
  transform: translateY(-2px);
}

.logo-image {
  height: 50px;
  width: auto;
  margin-right: 15px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  margin: 0;
}

.logo span {
  color: var(--secondary-color);
}

.tagline {
  font-size: 12px;
  color: var(--text-lighter);
  margin-top: -5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Navigation Styles */
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 5px 0;
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-medium);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-medium);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary-color);
}

.contact-btn {
  background-color: var(--secondary-color);
  color: white !important;
  padding: 10px 20px !important;
  border-radius: var(--border-radius);
  transition: all var(--transition-medium) !important;
}

.contact-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.contact-btn::after {
  display: none !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary-color);
  transition: all var(--transition-medium);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: white;
  padding: 100px 40px 40px;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li a {
  font-size: 18px;
  font-weight: 500;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: var(--text-color);
  transition: color var(--transition-medium);
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  color: var(--secondary-color);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Page Transition */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-transition.active {
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
  header .container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .logo-image {
    height: 40px;
  }

  .logo {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .logo-image {
    height: 35px;
    margin-right: 10px;
  }
}
