/* Custom styles for Frazer TV & Electronics Repair */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Custom font loading */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  src: local('Cormorant Garamond Light'), url('https://fonts.gstatic.com/s/cormorangaramond/v22/7cH7473tY3kWOrtvq2NcKS4E98r1_dE.woff2') format('woff2');
}

/* Thin line decorations */
.thin-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #a11536, transparent);
}

.thin-line-h {
  height: 1px;
  width: 60px;
  background: linear-gradient(to right, transparent, #a11536, transparent);
}

/* Navigation hover effects */
.nav-link {
  position: relative;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #1a1a1a;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #a11536;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #a11536;
}

/* Service card hover effects */
.service-card {
  background: #fff;
  border: 1px solid rgba(161, 21, 54, 0.1);
  transition: all 0.4s ease;
}

.service-card:hover {
  border-color: #a11536;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(161, 21, 54, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border: 1px solid #a11536;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: #a11536;
}

.service-card:hover .service-icon svg {
  stroke: #fff;
}

/* Button styles */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: #a11536;
  color: #fff;
  border-color: #a11536;
}

.btn-primary:hover {
  background: transparent;
  color: #a11536;
}

.btn-secondary {
  background: transparent;
  color: #a11536;
  border-color: #a11536;
}

.btn-secondary:hover {
  background: #a11536;
  color: #fff;
}

/* Mobile menu styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #fff8f6;
  z-index: 1000;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  color: #3a0711;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu-link:hover {
  color: #a11536;
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

/* Fade in animation for below-fold content */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fff8f6;
}

::-webkit-scrollbar-thumb {
  background: #a11536;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #82142e;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #a11536 !important;
  box-shadow: 0 0 0 3px rgba(161, 21, 54, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .split-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-content {
    padding: 3rem 1.5rem;
    order: 2;
  }
  
  .hero-image {
    min-height: 50vh;
    order: 1;
  }
  
  .font-serif {
    font-size: 2.5rem !important;
  }
  
  .thin-line {
    height: 60px;
  }
}
