@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #0d47a1; /* Deep Blue from EYEMAX */
  --secondary-color: #00838f; /* Teal/Cyan from Opticals */
  --accent-color: #ffca28; /* Gold from arrow */
  --accent-hover: #ffb300;
  --text-dark: #333333;
  --text-light: #f8f9fa;
  --text-muted: #6c757d;
  --bg-light: #f4f6f9;
  --bg-white: #ffffff;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: 2px solid var(--accent-color);
}

.btn-accent:hover {
  background-color: transparent;
  color: var(--accent-color);
}

/* Header */
header {
  background-color: var(--bg-white);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 60px;
}

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li a {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1.1rem;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(11, 36, 71, 0.7), rgba(11, 36, 71, 0.7)), url('../images/hero-bg.jpg') center/cover no-repeat;
  text-align: center;
  color: var(--text-light);
}

.hero h1 {
  color: var(--text-light);
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  animation: fadeInUp 1s ease 0.3s;
  animation-fill-mode: both;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1s ease 0.6s;
  animation-fill-mode: both;
}

/* Section Padding */
.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 25%;
}

/* Page Banner & Breadcrumb */
.page-banner {
  background: linear-gradient(rgba(13, 71, 161, 0.85), rgba(13, 71, 161, 0.85)), url('../images/hero-bg.jpg') center/cover;
  padding: 120px 0 80px;
  text-align: center;
  color: var(--text-light);
}

.page-banner h1 {
  font-size: 3.5rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
}

.breadcrumb a {
  color: var(--accent-color);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--text-light);
}

.breadcrumb i {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-item i {
  color: var(--accent-color);
  font-size: 1.5rem;
  background-color: var(--primary-color);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
  z-index: -1;
  border-radius: 15px;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover::before {
  height: 100%;
}

.service-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.service-card p {
  color: var(--text-muted);
  transition: var(--transition);
}

.service-card:hover i,
.service-card:hover h3,
.service-card:hover p {
  color: var(--text-light);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 36, 71, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay h4 {
  color: var(--text-light);
  font-size: 1.5rem;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay h4 {
  transform: translateY(0);
}

/* Contact Section & SEO Block */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.contact-info {
  padding: 50px;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.contact-info h3 {
  color: var(--accent-color);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-top: 5px;
}

.info-item p, .info-item a {
  color: var(--text-light);
  font-size: 1.1rem;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  display: block;
  border: 0;
}

.seo-block {
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
  padding: 60px 20px;
}

.seo-block h2 {
  color: var(--accent-color);
}

.seo-block p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
}

/* Home Page Specifics - Image Highlights */
.home-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.home-image-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 250px;
}
.home-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.home-image-card:hover img {
  transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--bg-light);
  padding: 80px 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
}
.testimonial-card i.quote-icon {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}
.testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 15px;
}
.testimonial-rating {
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--accent-color);
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  color: var(--text-light);
}

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

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
}

.social-links a:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #aaa;
}

/* Floating Buttons */
.floating-btns {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.float-btn:hover {
  transform: scale(1.1);
}

.btn-whatsapp {
  background-color: #25D366;
}

.btn-call {
  background-color: var(--primary-color);
  border: 2px solid var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  
  .menu-toggle { display: block; }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--box-shadow);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
  }
  
  nav.active { transform: scaleY(1); }
  
  nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    text-align: center;
  }
}
