/* Variable Definitions for Easy Theming */
:root {
  --primary-color: #0F172A;
  /* Deep Navy - Professional & Trustworthy */
  --secondary-color: #D4AF37;
  /* Gold - Premium & Luxury */
  --accent-color: #F59E0B;
  /* Amber - Highlight */
  --text-dark: #1E293B;
  --text-light: #F8FAFC;
  --bg-light: #FFFFFF;
  --bg-offset: #F1F5F9;
  --transition-speed: 0.3s;
  --font-heading: 'Playfair Display', serif;
  /* Elegant serif for headings */
  --font-body: 'Inter', sans-serif;
  /* Clean sans-serif for body */
}

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

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility Classes */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: 2px solid transparent;
}

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

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

.btn-outline {
  background-color: transparent;
  border-color: var(--bg-light);
  color: var(--bg-light);
}

.btn-outline:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: padding var(--transition-speed);
}

header.scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #1e293b;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #d4af37;
  transition: width var(--transition-speed);
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: color var(--transition-speed);
}

.mobile-menu-btn:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.4)), url('images/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding-top: 80px;
  /* Offset for fixed header */
}

.hero-content {
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards 0.5s;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* About Section */
.about {
  background-color: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item h4 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services Section */
.services {
  background-color: var(--bg-offset);
}

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

.service-card {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-top-color: var(--secondary-color);
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

/* Projects Section */
.projects {
  background-color: var(--bg-light);
}

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

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.project-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
  padding: 2rem 1.5rem;
  color: var(--text-light);
  border-radius: 0 0 8px 8px;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-speed);
}

.project-card:hover .project-info {
  transform: translateY(0);
  opacity: 1;
}

/* Features/Why Us */
.why-us {
  background-color: var(--primary-color);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: 'YATHAROOP';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  z-index: 0;
  pointer-events: none;
}

.features-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all var(--transition-speed);
}

.feature-item:hover .feature-icon {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.1);
}

.feature-item h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* Testimonials */
.testimonials {
  background-color: var(--bg-offset);
}

.testimonial-slider {
  max-width: 800px;
  margin: 3rem auto 0;
  text-align: center;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.2);
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: serif;
}

.client-info {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ddd;
}

/* Contact/Footer */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding-top: 5rem;
}

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

.footer-logo img {
  height: 60px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
  /* Make logo white if it's dark, adjust as needed */
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item i {
  color: var(--secondary-color);
  margin-top: 0.3rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  padding: 0.8rem;
  border-radius: 4px;
  border: none;
  flex: 1;
}

.newsletter-form button {
  background-color: var(--secondary-color);
  border: none;
  color: var(--primary-color);
  padding: 0 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  .nav-links a {
    color: var(--text-light);
    font-size: 1.2rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
    color: var(--primary-color);
  }

  .about-grid,
  .footer-grid,
  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Team Section Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
  justify-content: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  text-align: center;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
}

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

.team-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed);
}

.team-card:hover .team-image {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

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

.team-info h4 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.team-info .designation {
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.team-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-offset);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.1rem;
  transition: all var(--transition-speed);
}

.team-social a:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Contact Form Specific Styles */
.contact-form-container {
  background: #ffffff;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  /* Sophisticated shadow */
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-left: 0.2rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #f8fafc;
  transition: all var(--transition-speed) ease;
  color: var(--text-dark);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

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

.submit-btn {
  margin-top: 1rem;
  padding: 1.2rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(5px);
}

/* Contact Info Card Styles */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.contact-info-card:hover {
  transform: translateX(10px);
  background: var(--bg-offset);
  border-color: var(--secondary-color);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.1);
}

.info-icon-box {
  width: 60px;
  height: 60px;
  background: var(--bg-offset);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all var(--transition-speed) ease;
}

.contact-info-card:hover .info-icon-box {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.1) rotate(10deg);
}

.info-content {
  flex: 1;
}

.info-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  font-family: var(--font-body);
}

.info-content p,
.info-content a {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 500;
  margin: 0;
  display: block;
  line-height: 1.4;
}

.info-content a:hover {
  color: var(--secondary-color);
}