﻿:root {
  --text-color: #0B4D3C;
  --secondary-text-color: #303030;
  --bg-color: #FFFFFF;
  --secondary-bg-color: #F5F3EB;

  --primary-accent: #B14629;
  --secondary-accent: #FCB538;
  --font-text: "Roboto", sans-serif;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-color);
  font-family: var(--font-text);
  line-height: 1.2;
  background-color: var(--bg-color);
}

h1 {
  margin: 0;
  padding: 0;
}

h2 {
  margin: 0;
  padding: 0;
}

h3 {
  margin: 0;
  padding: 0;
}

h4 {
  margin: 0;
  padding: 0;
}

h5 {
  margin: 0;
  padding: 0;
}

h6 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  font-family: inherit;
  font-size: inherit;
  background: none;
  cursor: pointer;
}

input {
  font-family: inherit;
  font-size: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 15px rgba(11, 77, 60, 0.1);
  background-color: var(--bg-color);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 5%;
}

.brand {
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 25px;
  text-align: center;
}

.brand span {
  display: block;
  color: var(--primary-accent);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.brand:hover span {
  transform: translateY(-3px);
}

.brand::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary-accent);
  transition: transform 0.3s ease;
  transform: scaleX(0);
  transform-origin: bottom right;
}

.brand:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  margin-right: 2rem;
}

.nav-link {
  position: relative;
  margin: 0 1rem;
  padding: 0.5rem 0;
  color: var(--secondary-text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  visibility: hidden;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-accent);
  transition: all 0.3s ease;
  transform: scaleX(0);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-color);
}

.nav-link:hover::before,
.nav-link.active::before {
  visibility: visible;
  transform: scaleX(1);
}

.contact-btn {
  border-radius: 30px;
  padding: 0.7rem 1.5rem;
  box-shadow: 0 4px 8px rgba(177, 70, 41, 0.2);
  color: white;
  font-weight: 500;
  background: var(--secondary-accent);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  box-shadow: 0 6px 12px rgba(177, 70, 41, 0.3);
  transform: translateY(-3px);
}

.hamburger {
  z-index: 1001;
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 10px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  opacity: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  position: relative;
  margin: 1rem 0;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.mobile-nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-accent);
  transition: width 0.3s ease;
  transform: translateX(-50%);
}

.mobile-nav-link:hover {
  color: var(--primary-accent);
}

.mobile-nav-link:hover::after {
  width: 80%;
}

.mobile-contact-btn {
  border-radius: 30px;
  padding: 1rem 2rem;
  box-shadow: 0 4px 8px rgba(177, 70, 41, 0.2);
  color: white;
  font-weight: 500;
  font-size: 1.2rem;
  background: var(--secondary-accent);
  transition: all 0.3s ease;
}

.mobile-contact-btn:hover {
  box-shadow: 0 6px 12px rgba(177, 70, 41, 0.3);
  transform: translateY(-3px);
}


.footer {
  padding: 4rem 0 2rem;
  background-color: var(--secondary-bg-color);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.8rem;
}

.footer-logo span {
  color: var(--primary-accent);
}

.footer-description {
  color: var(--secondary-text-color);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-column h3 {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-size: 1.2rem;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary-accent);
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  position: relative;
  display: inline-block;
  color: var(--secondary-text-color);
  transition: all 0.3s ease;
}

.footer-column ul li a::before {
  content: "•";
  position: absolute;
  left: -15px;
  opacity: 0;
  color: var(--primary-accent);
  transition: all 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--primary-accent);
  transform: translateX(15px);
}

.footer-column ul li a:hover::before {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(11, 77, 60, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--secondary-text-color);
  font-size: 0.9rem;
}


@media screen and (max-width: 1024px) {
  .nav-link {
    margin: 0 0.7rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-brand {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .navbar {
    padding: 1rem 3%;
  }

  .brand {
    font-size: 1.5rem;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-logo {
    font-size: 1.5rem;
  }
}


.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


.header.scrolled {
  box-shadow: 0 5px 20px rgba(11, 77, 60, 0.15);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}


.footer-brand:hover .footer-logo {
  text-shadow: 2px 2px 5px rgba(177, 70, 41, 0.3);
}