/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #BCBD00;
  --color-dark: #111111;
  --color-white: #ffffff;
  --color-grey: #f5f5f5;
  --font-family: 'Yale Solis', Arial, sans-serif;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--color-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Top Bar */
.top-bar {
  background: var(--color-primary);
  padding: 8px 0;
  font-size: 13px;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-nav-left {
  display: flex;
  gap: 25px;
  align-items: center;
}

.top-nav-left a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.top-nav-left a:hover {
  opacity: 0.8;
}

.top-nav-right {
  display: flex;
  align-items: center;
}

.location-btn {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.3s;
  white-space: nowrap;
  font-weight: 400;
  padding: 4px 8px;
}

.location-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-white);
  flex-shrink: 0;
}

.location-btn span {
  color: var(--color-white);
}

.location-btn:hover {
  opacity: 0.8;
}

/* Main Header */
.main-header {
  padding: 12px 0;
  background: var(--color-white);
  border-bottom: 1px solid #e0e0e0;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.main-nav {
  display: flex;
  gap: 25px;
  align-items: center;
  flex: 1;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo img {
  height: 50px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

.search-wrapper {
  display: flex;
  align-items: center;
  background: #f8f8f8;
  border-radius: 4px;
  padding: 8px 14px;
  gap: 8px;
  border: 1px solid #e0e0e0;
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  width: 180px;
  color: var(--color-dark);
}

.search-input::placeholder {
  color: #999;
}

.search-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
  flex-shrink: 0;
}

.search-btn:hover {
  color: var(--color-dark);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-dark);
  transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.main-nav > a,
.main-nav .nav-link {
  color: var(--color-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s;
  position: relative;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.main-nav .nav-link svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  transition: transform 0.3s;
  margin-left: 2px;
}

.main-nav .nav-dropdown:hover .nav-link svg {
  transform: rotate(180deg);
}

.main-nav > a:hover,
.main-nav .nav-link:hover {
  color: #666;
}

.main-nav > a.active,
.main-nav .nav-link.active {
  color: var(--color-dark);
}

.main-nav > a.active::after,
.main-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-dark);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 10px 0;
  margin-top: 10px;
}

.nav-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: var(--color-dark);
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: background 0.3s, color 0.3s;
}

.dropdown-content a:hover,
.dropdown-content a.active {
  background: var(--color-grey);
  color: var(--color-primary);
}

/* Breadcrumb */
.breadcrumb {
  background: #4a5568;
  padding: 12px 0;
}

.breadcrumb ol {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--color-white);
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.3s;
}

.breadcrumb a:hover {
  opacity: 0.8;
}

.breadcrumb li[aria-current="page"] {
  color: var(--color-white);
  font-weight: 400;
}

/* Hero Section */
.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-white);
  padding: 0;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  letter-spacing: -0.5px;
}

/* Info Section */
.info-section {
  padding: 60px 0;
  background: var(--color-white);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.text-content h2 {
  font-size: 28px;
  margin-bottom: 25px;
  color: var(--color-dark);
  line-height: 1.4;
  font-weight: 600;
}

.text-content p {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--color-dark);
}

.text-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.text-content ul li {
  font-size: 15px;
  margin-bottom: 18px;
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
  color: #333;
}

.text-content ul li::before {
  content: '•';
  position: absolute;
  left: 10px;
  color: var(--color-dark);
  font-size: 20px;
  font-weight: bold;
}

.image-content img {
  width: 100%;
  height: auto;
}

/* Form Section */
.form-section {
  padding: 60px 0 80px;
  background: var(--color-white);
}

.form-section h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 600;
  color: var(--color-dark);
}

.form-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-group span {
  font-size: 14px;
  line-height: 1.5;
}

.form-actions {
  margin-top: 30px;
  text-align: center;
}

.submit-btn {
  background: var(--color-primary);
  color: var(--color-dark);
  border: none;
  padding: 15px 50px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: var(--color-dark);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Legal Section */
.legal-section {
  padding: 50px 0;
  background: #f8f8f8;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.legal-col p {
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.tagline {
  font-size: 14px;
  color: #999;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h3 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #333;
}

.footer-bottom p {
  font-size: 14px;
  color: #999;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-white);
}

/* Location Modal */
.location-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.location-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--color-white);
  padding: 50px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease-out;
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #999;
  line-height: 1;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--color-dark);
}

.modal-content h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--color-dark);
}

.modal-content > p {
  color: #666;
  margin-bottom: 30px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

.location-item h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--color-dark);
}

.location-item a {
  display: block;
  padding: 8px 0;
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.location-item a:hover,
.location-item a.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 90%;
  max-width: 800px;
  position: relative;
}

.search-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 48px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.search-close:hover {
  color: var(--color-primary);
}

.search-form {
  display: flex;
  background: var(--color-white);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.search-form input {
  flex: 1;
  border: none;
  padding: 20px 30px;
  font-size: 18px;
  outline: none;
}

.search-form button {
  background: var(--color-primary);
  border: none;
  padding: 20px 30px;
  cursor: pointer;
  color: var(--color-dark);
  transition: background 0.3s;
}

.search-form button:hover {
  background: var(--color-dark);
  color: var(--color-primary);
}

/* Sticky Call Button */
.sticky-call-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-primary);
  color: var(--color-dark);
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(188, 189, 0, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.sticky-call-btn:hover {
  background: var(--color-dark);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(188, 189, 0, 0.6);
  animation: none;
}

.sticky-call-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  animation: ring 3s ease-in-out infinite;
}

.sticky-call-btn:hover svg {
  animation: shake 0.5s ease-in-out;
}

.call-text {
  font-size: 16px;
  font-weight: 600;
}

/* Pulse animation for call button */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(188, 189, 0, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(188, 189, 0, 0.7), 0 0 0 10px rgba(188, 189, 0, 0.1);
  }
}

/* Ring animation for phone icon */
@keyframes ring {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(-15deg);
  }
  20%, 40% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

/* Shake animation on hover */
@keyframes shake {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--color-dark);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-grid,
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .header-wrapper {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .logo {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
  }
  
  .main-nav-left,
  .main-nav-right {
    display: none;
  }
  
  .header-actions {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
  }
  
  .search-wrapper {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 10px 0;
  }
  
  .top-bar-content {
    flex-direction: column;
    gap: 10px;
  }
  
  .top-nav-left {
    gap: 15px;
    font-size: 12px;
  }
  
  .top-nav-left a,
  .location-btn {
    font-size: 12px;
  }
  
  .search-wrapper {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-wrapper {
    position: relative;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 999;
    align-items: flex-start;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .main-nav-left.active,
  .main-nav-right.active {
    display: flex;
  }
  
  .main-nav > a,
  .main-nav .nav-link {
    width: 100%;
    padding: 12px 0;
  }
  
  .nav-dropdown {
    width: 100%;
  }
  
  .nav-dropdown .dropdown-content {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    margin-top: 5px;
  }
  
  .nav-dropdown:hover .dropdown-content {
    display: none;
  }
  
  .nav-dropdown.active .dropdown-content {
    display: block;
  }
  
  .hero {
    height: 300px;
  }
  
  .hero-content h1 {
    font-size: 28px;
  }
  
  .text-content h2,
  .form-section h2 {
    font-size: 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 15px 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
  
  .sticky-call-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .sticky-call-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .call-text {
    font-size: 14px;
  }
  
  .back-to-top {
    bottom: 80px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
