/* Main Stylesheet for Rollins's Garage Services */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Manrope:wght@200..800&display=swap');

:root {
  --primary: #ffb77b;
  --primary-container: #c8803f;
  --secondary: #b87333;
  --background: #18120e;
  --surface: #211a16;
  --surface-low: #130d09;
  --surface-high: #3b332e;
  --on-background: #ede0d9;
  --on-surface: #ede0d9;
  --on-surface-variant: #d8c3b4;
  --outline: #524439;
  --glass: rgba(59, 51, 46, 0.4);
  --glass-blur: blur(20px);
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-full: 100px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', sans-serif;
  background-color: var(--background);
  color: var(--on-background);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface-low); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Newsreader', serif;
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* Typography Scale */
h1 { font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.2; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: #18120e;
  font-weight: 800;
  padding: 1.25rem 3rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: 0 10px 40px rgba(184, 115, 51, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%; width: 20%; height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(35deg);
  transition: 0.6s;
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 50px rgba(184, 115, 51, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--outline);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: var(--glass);
  border-color: var(--primary);
  transform: translateY(-5px);
}

/* Floating Navbar: Variation #12 */
.navbar {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1400px;
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  padding: 0.6rem 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--outline);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  top: 1rem;
  background: rgba(24, 18, 14, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 15px rgba(184, 115, 51, 0.5);
  transition: var(--transition-smooth);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 10;
}

.nav-logo::before {
  content: '';
  position: absolute;
  top: -5px; left: -5px; right: -5px; bottom: -5px;
  border: 1px dashed var(--secondary);
  border-radius: 50%;
  animation: rotate 10s linear infinite;
  opacity: 0.5;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.nav-logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 30px var(--primary);
}

.nav-logo img {
  max-height: 65px;
  max-width: 65px;
  mix-blend-mode: multiply;
  transition: var(--transition-smooth);
}

.nav-brand { display: none; }

.nav-brand span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-left: auto;
}

.nav-cta {
  padding: 0.8rem 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  box-shadow: 0 5px 20px rgba(184, 115, 51, 0.3);
}

.nav-cta:hover {
  transform: translateY(-3px) scale(1.05);
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  box-shadow: 0 0 10px var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  opacity: 1;
  color: var(--primary);
}

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--on-background);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section: Bento Style #15 */
.hero {
  min-height: 100vh;
  padding: 10rem 5% 5rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 1.5rem;
  position: relative;
  background: radial-gradient(circle at 10% 10%, rgba(184, 115, 51, 0.1) 0%, transparent 40%);
}

.hero::before {
  content: 'SERVICES';
  position: absolute;
  top: 5rem; right: -5rem;
  font-size: 20vw;
  font-family: 'Newsreader';
  color: white;
  opacity: 0.02;
  font-weight: 900;
  pointer-events: none;
  z-index: 0;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--outline);
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.hero-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.hero-main {
  grid-column: 1 / 8;
  grid-row: 1 / 5;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to right, var(--surface) 20%, transparent), url('../img/hero.png');
  background-size: cover;
  background-position: center;
}

.hero-badge {
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
  width: fit-content;
  border: 1px solid var(--outline);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-image-small {
  grid-column: 8 / 13;
  grid-row: 1 / 4;
}

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

.hero-stats {
  grid-column: 8 / 11;
  grid-row: 4 / 7;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface-high);
}

.hero-hours {
  grid-column: 11 / 13;
  grid-row: 4 / 7;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--surface), var(--surface-low));
}

.hero-cta-box {
  grid-column: 1 / 8;
  grid-row: 5 / 7;
  padding: 3.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--secondary), var(--primary-container));
  color: #18120e;
  position: relative;
  overflow: hidden;
}

.hero-cta-box::after {
  content: 'CALL';
  position: absolute;
  bottom: -2rem; right: -1rem;
  font-size: 10rem;
  font-family: 'Newsreader';
  font-weight: 900;
  opacity: 0.05;
}

.cta-status {
  background: rgba(0,0,0,0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 6px; height: 6px;
  background: #18120e;
  border-radius: 50%;
  box-shadow: 0 0 5px #18120e;
}

.hero-cta-box h3 {
  font-size: 1.75rem;
  line-height: 1.2;
}

.hero-phone {
  background: #18120e;
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  display: inline-flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.hero-phone:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.hero-phone a {
  color: var(--primary);
  font-size: 2.75rem;
  font-family: 'Newsreader';
}

/* Services Grid: Floating Glass Carousel #11 */
.services {
  padding: 10rem 5%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 90% 90%, rgba(184, 115, 51, 0.05) 0%, transparent 40%);
}

.services::before {
  content: 'SOLUTIONS';
  position: absolute;
  top: 10%; left: -2rem;
  font-size: 15vw;
  font-family: 'Newsreader';
  color: white;
  opacity: 0.015;
  font-weight: 900;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 700;
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--surface-low);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--outline);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotateY(20deg);
  filter: drop-shadow(0 0 15px var(--primary));
}

.service-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 2rem;
  display: block;
  transition: var(--transition-smooth);
}

/* About Section: Geometric Mask #9 */
.about {
  padding: 12rem 5%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 50%, rgba(184, 115, 51, 0.05) 0%, transparent 40%);
}

.about::before {
  content: 'EXPERTISE';
  position: absolute;
  bottom: 5%; right: -2rem;
  font-size: 15vw;
  font-family: 'Newsreader';
  color: white;
  opacity: 0.015;
  font-weight: 900;
  pointer-events: none;
}

.about-image { position: relative; }

.about-image-mask {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  border: 10px solid var(--glass);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.about-badge {
  position: absolute;
  top: -2rem; right: -2rem;
  background: var(--primary);
  color: var(--background);
  width: 12rem; height: 12rem;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; font-family: 'Newsreader', serif;
  transform: rotate(15deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-usp {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-top: 3rem;
}

.usp-item { display: flex; align-items: center; gap: 15px; }
.usp-icon { color: var(--secondary); font-size: 1.25rem; }

/* Detail Sections */
.detail-section {
  padding: 10rem 5%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8rem; align-items: center;
}
.detail-section.alt { direction: rtl; }
.detail-section.alt .detail-content { direction: ltr; }

.detail-image-container {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; height: 500px; border: 1px solid var(--outline);
}
.detail-image-container img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.detail-section:hover img { transform: scale(1.05); }

.detail-content h3 { margin-bottom: 2rem; position: relative; padding-left: 2rem; }
.detail-content h3::before {
  content: ''; position: absolute; left: 0; top: 0.5rem;
  width: 4px; height: 80%; background: var(--secondary);
}

/* CTA Strips */
.cta-strip {
  padding: 8rem 5%; text-align: center;
  background: linear-gradient(90deg, var(--background), var(--surface-low));
  border-top: 1px solid var(--outline); border-bottom: 1px solid var(--outline);
}

/* Area Chips */
.areas { padding: 8rem 5%; }
.area-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.area-chip {
  padding: 0.85rem 1.75rem; 
  background: var(--glass); 
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--outline);
  border-radius: var(--radius-full); 
  font-size: 0.8rem; 
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-smooth); 
  cursor: pointer;
}
.area-chip:hover {
  background: var(--primary); color: var(--background); transform: translateY(-3px);
}

/* FAQ */
.faq { 
  padding: 10rem 5%; 
  background: var(--surface-low); 
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: 'SUPPORT';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25vw;
  font-family: 'Newsreader';
  color: white;
  opacity: 0.01;
  font-weight: 900;
  pointer-events: none;
}

.faq-container { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }

.faq-item {
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  margin-bottom: 2rem; 
  border-radius: var(--radius-md);
  border: 1px solid var(--outline);
  border-left: 5px solid var(--secondary); 
  padding: 3rem;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  transform: translateX(10px);
  background: var(--surface);
  border-color: var(--secondary);
}

/* Contact Section */
.contact-section {
  padding: 10rem 5%; 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 4rem;
  position: relative;
  background: radial-gradient(circle at 50% 100%, rgba(184, 115, 51, 0.08) 0%, transparent 50%);
}

.contact-card {
  padding: 5rem 4rem; 
  background: var(--glass); 
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  display: flex; 
  flex-direction: column; 
  gap: 2rem; 
  border: 1px solid var(--outline);
  text-align: center;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.contact-card .icon {
  font-size: 3.5rem;
  color: var(--secondary);
  margin: 0 auto;
}
.map-container { grid-column: span 3; height: 500px; border-radius: var(--radius-lg); overflow: hidden; }
.map-container iframe { width: 100%; height: 100%; border: none; filter: grayscale(1) invert(1) brightness(0.8); }

/* Footer */
.footer {
  padding: 4rem 5%; background: var(--surface-low); border-top: 1px solid var(--outline);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  position: relative;
}

.footer-logo img { 
  max-height: 60px;
  max-width: 60px;
  mix-blend-mode: multiply;
  filter: brightness(0.9);
}

/* Responsive */
@media (max-width: 991px) {
  .navbar { 
    width: calc(100% - 2rem); 
    padding: 0.75rem 1.5rem; 
    border-radius: var(--radius-md);
  }
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-logo {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    width: 65px;
    height: 65px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }

  .nav-logo img {
    max-height: 45px;
    max-width: 45px;
  }
  
  .hero { 
    display: flex; 
    flex-direction: column; 
    padding-top: 10rem;
    gap: 1.5rem;
  }
  .hero-card { width: 100%; min-height: 350px; }
  .hero-main { padding: 2.5rem; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/hero.png'); }
  .hero-stats, .hero-hours { height: 200px; min-height: 200px; }
  
  .about, .detail-section, .detail-section.alt { grid-template-columns: 1fr; gap: 4rem; }
  .about-image-mask { height: 400px; width: 100%; }
  .about-badge { width: 10rem; height: 10rem; top: -1rem; right: -1rem; font-size: 0.8rem; }
  
  .contact-section { grid-template-columns: 1fr; }
  .map-container { grid-column: span 1; height: 350px; }
  
  .footer { flex-direction: column; text-align: center; gap: 2rem; padding: 4rem 10%; }
}
