﻿/* CSS Custom Properties (Brand Colors)
   ============================================================================ */
:root {
  --primary-light: #cec6e2;
  --primary-dark: #4a4383;
  --black: #282728;
  --white: #F5F5F5;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography
   ============================================================================ */
.brand-font {
  font-family: 'Ivy Mode', serif;
}

/* Navbar Styles
   ============================================================================ */
.navbar {
  background-color: var(--primary-dark) !important;
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: 0 2px 15px rgba(74, 67, 131, 0.2);
}

.navbar.navbar-scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white) !important;
  letter-spacing: 1px;
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-light) !important;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

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

.navbar-toggler {
  border-color: var(--white);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Home Section
   ============================================================================ */
#home {
  background: linear-gradient(135deg, rgba(74, 67, 131, 0.85) 0%, rgba(90, 82, 158, 0.85) 100%),
              url('../assets/images/banner.png') center/cover no-repeat;
  color: var(--white);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-heading {
  font-family: 'Ivy Mode', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero-description {
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.btn-primary-custom {
  background-color: var(--primary-dark);
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-primary-custom:hover {
  background-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary-custom:active {
  transform: translateY(-1px);
}

.hero-image-placeholder {
  height: 450px;
  border-radius: 20px;
  animation: fadeInUp 1s ease 0.6s backwards;
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Section Spacing
   ============================================================================ */
.section {
  padding: 5rem 0;
}

.section-title {
  font-family: 'Ivy Mode', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary-light);
  margin: 1rem auto;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: #666;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

/* About Section
   ============================================================================ */
#about {
  background-color: var(--white);
}

.about-text {
  font-size: 1.05rem;
  color: var(--black);
  line-height: 1.8;
}

.about-image-placeholder {
  border-radius: 20px;
  height: 400px;
  box-shadow: 0 15px 40px rgba(74, 67, 131, 0.15);
  transition: var(--transition);
  overflow: hidden;
}

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

.about-image-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(74, 67, 131, 0.25);
}

/* Contact Section
   ============================================================================ */
#contact {
  background-color: var(--white);
}

.contact-form {
  background: var(--primary-light);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 50px rgba(74, 67, 131, 0.1);
}

.form-label {
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 2px solid rgba(74, 67, 131, 0.2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--white);
}

.form-control:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 0.25rem rgba(74, 67, 131, 0.15);
  outline: none;
}

.form-control::placeholder {
  color: #aaa;
}

.contact-info {
  background: var(--primary-dark);
  border-radius: 20px;
  padding: 2.5rem;
  color: var(--white);
  height: 100%;
}

.contact-info h4 {
  font-family: 'Ivy Mode', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

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

.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
}

.contact-item a:hover {
  color: var(--primary-light);
}

.contact-item a i {
  font-size: 1.2rem;
  margin-right: 1rem;
  color: var(--primary-light);
  margin-top: 3px;
}

.contact-item a p {
  margin: 0;
  line-height: 1.6;
  color: var(--white);
}

.social-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  margin: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

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

/* Services / Package Cards
   ============================================================================ */
.package-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  border: none;
  box-shadow: 0 10px 40px rgba(74, 67, 131, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-dark), var(--primary-light));
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(74, 67, 131, 0.2);
}

.package-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #d4c8eb 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-dark);
  font-size: 2rem;
  transition: var(--transition);
}

.package-card:hover .package-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary-dark) 0%, #5a529e 100%);
  color: var(--white);
}

.package-title {
  color: var(--primary-dark);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Footer
   ============================================================================ */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-brand {
  font-family: 'Ivy Mode', serif;
  font-size: 1.8rem;
  color: var(--white) !important;
  margin-bottom: 1rem;
}

.footer-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus States
   ============================================================================ */
button:focus, .btn:focus, .form-control:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.2s;
  text-decoration: none;
  font-weight: 500;
}

.skip-link:focus {
  top: 0;
}

/* Responsive Adjustments
   ============================================================================ */
@media (max-width: 992px) {
  #home { padding: 7rem 0 5rem; }
  .hero-heading { margin-bottom: 1rem; }
  .hero-description { font-size: 1.05rem; max-width: 100%; }
}

@media (max-width: 768px) {
  #home {
    min-height: auto;
    padding: 6rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(74, 67, 131, 0.85) 0%, rgba(90, 82, 158, 0.85) 100%);
  }

  #home .row {
    min-height: auto !important;
  }

  #home .min-vh-100 {
    min-height: auto !important;
  }

  #home .row {
    flex-direction: column;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .hero-heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image-placeholder,
  .about-image-placeholder {
    height: 280px;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }

  .nav-link {
    padding: 0.5rem 0.75rem !important;
    margin: 0 0.25rem;
  }

  .contact-form {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .contact-info {
    padding: 2rem;
  }

  .package-card {
    margin-bottom: 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 576px) {
  #home {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, rgba(74, 67, 131, 0.85) 0%, rgba(90, 82, 158, 0.85) 100%),
                url('../assets/images/banner.png') top center/100% auto no-repeat;
  }

  .hero-image-placeholder,
  .about-image-placeholder {
    height: 220px;
  }

  .contact-form { padding: 1.25rem; }

  .contact-info { padding: 1.5rem; }

  .footer-brand,
  .footer-brand img {
    text-align: center;
    display: inline-block;
  }

  .copyright {
    text-align: center;
  }

  .copyright .col-md-6 {
    margin-bottom: 0.5rem;
  }
}

/* Policy Page Styles */
.policy-content {
  font-size: 1.05rem;
  color: var(--black);
  line-height: 1.8;
}

.policy-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(74, 67, 131, 0.15);
}

.policy-section:last-of-type {
  border-bottom: none;
  margin-bottom: 1rem;
}

.policy-section h2 {
  font-family: 'Ivy Mode', serif;
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  margin-top: 0;
}

.policy-section h3 {
  font-family: 'Ivy Mode', serif;
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.policy-section p {
  margin-bottom: 1rem;
  color: #444;
}

.policy-section ul, .policy-section ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.policy-section li {
  margin-bottom: 0.5rem;
  color: #444;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--primary-dark);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--black);
  text-decoration: underline;
}

.disclaimer-box {
  background-color: #f8f7fc;
  border-left: 4px solid var(--primary-dark);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.disclaimer-box h3 {
  font-family: 'Ivy Mode', serif;
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.disclaimer-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #555;
}

/* Policy Page Utilities */
.policy-page-container {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 2rem;
}

.policy-meta {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
}

.policy-meta strong {
  color: var(--primary-dark);
}

/* Footer Link Utilities */
.footer-legal-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}
