/* style.css */

:root {
  --primary: #c0392b;
  --primary-dark: #a93226;
  --secondary: #2c3e50;
  --accent: #f39c12;
  --light: #fdf2e9;
  --dark: #1a1a2e;
  --gray: #7f8c8d;
  --gray-dark: #5d6d7e;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

body {
  font-family: var(--font-body);
  color: var(--secondary);
  background: #fff;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-dark);
}

.btn-primary {
  background: var(--primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(192,57,43,0.3);
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  transition: var(--transition);
}

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

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

.text-muted {
  color: var(--gray) !important;
}

/* Improve contrast for text-muted on light backgrounds */
.bg-light-custom .text-muted,
.card .text-muted {
  color: var(--gray-dark) !important;
}

/* Improve contrast for text-muted on dark backgrounds (footer) */
.footer .text-muted,
.bg-dark .text-muted {
  color: #adb5bd !important;
}

/* header */
.navbar {
  background: var(--dark) !important;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand img {
  height: 40px;
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
  margin: 0 0.5rem;
  position: relative;
}

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

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

/* hero / slider */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #333;
}

.hero-section .carousel-item {
  height: 100vh;
  min-height: 600px;
}

.hero-section .carousel-item>div {
  height: 100%;
  width: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

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

.hero-content p {
  font-size: 1.25rem;
  line-height: 1.8;
}

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

/* section variants */
.bg-light-custom {
  background: var(--light);
}

.bg-dark-custom {
  background: var(--dark);
  color: #fff;
}

.bg-image-section {
  position: relative;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-color: #222;
}

.bg-image-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.bg-image-section .content {
  position: relative;
  z-index: 2;
  color: #fff;
}

/* cards */
.card {
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: var(--transition);
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

/* counter section */
.stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-item p {
  font-size: 1.1rem;
  color: #fff;
}

/* footer */
.footer {
  background: var(--dark);
  color: #ccc;
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.footer a {
  color: #aaa;
  transition: var(--transition);
}

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

.footer .social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  margin-right: 0.5rem;
  color: #fff;
  transition: var(--transition);
}

.footer .social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* contact / forms */
.form-control {
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  border-radius: 0;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(192,57,43,0.1);
}

/* cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark);
  color: #fff;
  padding: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: var(--transition);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  margin-bottom: 0;
  display: inline;
}

.cookie-banner .btn {
  margin-left: 1rem;
}

/* AOS enhancements */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* testimonial slider custom */
.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-left: 5px solid var(--primary);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin: 1rem;
}

.testimonial-card p {
  font-style: italic;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--primary);
}

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

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

/* process steps */
.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.process-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

/* scroll top button */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

#scroll-top.show {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* notification */
#form-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  z-index: 99999;
  display: none;
}

#form-notification.success {
  background: #27ae60;
}

#form-notification.error {
  background: #e74c3c;
}