/* Custom Styles for Vaishno Glass Website */

:root {
  --primary-color: #DC2626; /* Red accent color */
  --secondary-color: #F3F4F6;
  --dark-color: #1F2937;
  --light-color: #FFFFFF;
  --gray-color: #6B7280;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
}

/* Header Styles */
header {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 1rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Mobile Menu */
#mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  color: var(--dark-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

#mobile-menu a:last-child {
  border-bottom: none;
}

#mobile-menu a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--light-color);
  padding: 0 1rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
}

.hero-btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-color);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--light-color);
  border: 2px solid var(--light-color);
}

.btn-outline:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

/* Section Styling */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 25%;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--gray-color);
  max-width: 700px;
  margin: 0 auto;
}

/* About Section */
.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.stats-box {
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.stats-box:hover {
  transform: translateY(-10px);
}

.stats-box h4 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Services Section */
.service-card {
  background-color: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .service-img {
    height: 250px;
  }
}

.service-content {
  padding: 1rem;
}

@media (min-width: 640px) {
  .service-content {
    padding: 1.5rem;
  }
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
}

@media (min-width: 640px) {
  .service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

.service-content p {
  margin-bottom: 1rem;
  color: var(--gray-color);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .service-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--dark-color);
  text-decoration: underline;
}

/* Gallery Section */
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.5s ease;
}

@media (min-width: 640px) {
  .gallery-img {
    height: 250px;
  }
}

@media (min-width: 768px) {
  .gallery-img {
    height: 300px;
  }
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

/* Why Choose Us */
.features-box {
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

@media (min-width: 640px) {
  .features-box {
    padding: 2rem;
  }
}

.features-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.features-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--light-color);
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .features-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
  }
}

.features-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
}

@media (min-width: 640px) {
  .features-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* Contact Section */
.contact-form {
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.contact-info {
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.info-item {
  display: flex;
  margin-bottom: 2rem;
}

.info-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.map-container {
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1rem;
}

.cta-section {
  background-color: var(--primary-color);
  color: var(--light-color);
  text-align: center;
  padding: 4rem 0;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 4rem 0 2rem;
}

.footer h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}

.footer-links li {
  list-style: none;
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-color);
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: #aaa;
}

/* Floating Buttons */
.floating-button,
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.floating-button {
  background-color: var(--primary-color);
}

.whatsapp-button {
  background-color: #25D366;
  bottom: 90px;
}

.floating-button:hover,
.whatsapp-button:hover {
  transform: scale(1.1);
}

/* Adjust for mobile screens */
@media (max-width: 480px) {
  .floating-button,
  .whatsapp-button {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .whatsapp-button {
    bottom: 80px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .features-box {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .stats-box {
    margin-bottom: 1.5rem;
  }
  
  .info-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .info-icon {
    margin-bottom: 1rem;
  }
  
  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-btn {
    display: block;
    width: 80%;
    margin: 0.5rem auto;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .section-title h2::after {
    width: 80%;
    left: 10%;
  }
  
  .about-content h3 {
    font-size: 1.5rem;
  }
  
  .features-box {
    padding: 1.5rem;
  }
  
  .footer h4 {
    text-align: center;
  }
  
  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .copyright {
    text-align: center;
  }
}