/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary: #d4af37; /* Gold */
  --primary-dark: #b5952f;
  --secondary: #800020; /* Burgundy */
  --secondary-light: #a31a3b;
  --bg-color: #fdfbf7; /* Off white */
  --text-dark: #2c2c2c;
  --text-light: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--secondary);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Glassmorphism Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 5%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--primary);
}

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

.nav-links li a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: var(--primary);
}

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

.contact-btn {
  background: var(--secondary);
  color: var(--text-light);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid var(--secondary);
}

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

/* Mobile Menu Icon */
.menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10%;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Account for header */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/hero_couple_1778353214329.jpeg?v=4');
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
  z-index: -1;
  transform: scale(1.05);
  animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.hero-content {
  text-align: left;
  color: var(--text-light);
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInDown 1s ease forwards;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

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

/* Generic Sections */
section {
  padding: 5rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.15);
}

/* About Section Preview */
.about-preview {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-img {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

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

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 4rem 5% 2rem;
  margin-top: 5rem;
}

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

.footer-col h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-col p, .footer-col ul li {
  color: #cccccc;
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #cccccc;
  transition: color 0.3s ease;
}

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

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-info i {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #888;
}

/* Specific Pages */

/* Page Headers */
.page-header {
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary);
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 70px; /* Offset for fixed header */
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(45deg, rgba(128,0,32,0.9), rgba(212,175,55,0.4));
  z-index: 1;
}

.page-header h1 {
  position: relative;
  z-index: 2;
  font-size: 3.5rem;
  color: white;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* Success Stories Page */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.story-card {
  border-radius: 20px;
  overflow: hidden;
}

.story-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.story-content {
  padding: 1.5rem;
}

.story-content h3 {
  margin-bottom: 0.5rem;
}

/* Services Page */
.service-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.service-item:nth-child(even) {
  flex-direction: row-reverse;
}

.service-img {
  flex: 1;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

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

.service-details {
  flex: 1;
}

.service-details h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Contact Page */
.contact-wrapper {
  display: flex;
  gap: 3rem;
}

.contact-form-container {
  flex: 2;
}

.contact-info-container {
  flex: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  background: rgba(255,255,255,0.8);
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

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

.btn-submit {
  width: 100%;
  background: var(--secondary);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

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

.info-box {
  background: var(--secondary);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.info-box h3 {
  color: white;
  margin-bottom: 1.5rem;
}

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

.info-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

/* Match Profiles */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.profile-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.profile-img-container {
  width: 100%;
  height: 350px;
  overflow: hidden;
  position: relative;
}

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

.profile-card:hover .profile-img-container img {
  transform: scale(1.05);
}

.profile-details {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.profile-id {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.profile-info-list {
  margin-bottom: 1.5rem;
}

.profile-info-list li {
  display: flex;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.profile-info-list li strong {
  width: 100px;
  color: var(--text-dark);
}

.profile-info-list li span {
  color: #555;
  flex: 1;
}

.profile-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(128,0,32,0.1));
  height: 350px;
}

.profile-no-img img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  opacity: 0.8;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 3rem; }
  .about-preview { flex-direction: column; }
  .service-item, .service-item:nth-child(even) { flex-direction: column; }
  .service-img { height: 300px; width: 100%; }
  .contact-wrapper { flex-direction: column; }
}

@media (max-width: 768px) {
  .menu-icon { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    background: var(--bg-color);
    flex-direction: column;
    text-align: center;
    padding: 2rem 0;
    transition: left 0.3s ease;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }
  .nav-links.active { left: 0; }
  .hero-content h1 { font-size: 2.5rem; }
  .page-header h1 { font-size: 2.5rem; }
  .contact-btn { display: none; }
}
