/* =============================================================================
   YXE Wedding Collective - Global Styles
   ============================================================================= */

/* Variables */
:root {
  --primary-color: #FADADD;
  --secondary-color: #F8F4F1;
  --accent-color: #C7D2C8;
  --white: #ffffff;
  --dark-gray: #333333;
  --light-gray: #666666;
  --border-color: #e0e0e0;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  min-height: 100vh;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-gray);
}

/* Logo image next to brand text */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .nav-logo-img { width: 24px; height: 24px; }
}

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

.nav-link {
  font-weight: 500;
  position: relative;
}

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

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

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: var(--transition);
  background-color: var(--dark-gray);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  z-index: 1000;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--dark-gray);
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-link:hover {
  background: var(--primary-color);
  color: var(--dark-gray);
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: transparent;
    padding-left: 2rem;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-gray);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--dark-gray);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.cta-button:hover {
  background: #f0c8cc;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer--home .footer-section--primary {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .footer--home .footer-section--primary { grid-column: auto; }
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section { min-width: 0; }

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer-section .email-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-section .email-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.footer-section .email-text {
  line-height: 1.4;
  word-break: break-all;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Footer SVG Icon Styling */
.footer-icon-svg {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(88%) sepia(12%) saturate(1000%) hue-rotate(340deg) brightness(98%) contrast(95%);
}

.location-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.email-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

/* Remove list styling from dropdown menu */
.dropdown-menu {
  list-style: none;
}

.dropdown-menu li {
  list-style: none;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-section .social-links {
  display: flex;
  gap: 1rem;
}

.footer-section .social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-section .social-links a:hover {
  background: #f0c8cc;
  transform: translateY(-2px);
}

.footer-section .social-icon {
  font-size: 1.2rem;
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

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


/* Footer newsletter */
.footer-newsletter-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: 'Montserrat', sans-serif;
}

.footer-newsletter-form .submit-btn {
  width: auto;
  padding: 12px 22px;
}

@media (max-width: 768px) {
  .footer-newsletter-form {
    flex-direction: column;
  }
  .footer-newsletter-form .submit-btn {
    width: 100%;
  }
}


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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(250, 218, 221, 0.2);
}

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

.submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: var(--primary-color);
  color: var(--dark-gray);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 1.1rem;
}

/* Icon inside submit button */
.submit-btn img,
.submit-btn svg,
.submit-btn .submit-btn-icon {
  width: 1.1rem;
  height: 1.1rem;
  vertical-align: middle;
  margin-left: 0.5rem;
  object-fit: contain;
  display: inline-block;
  line-height: 1;
}

.submit-btn:hover {
  background: #f0c8cc;
  transform: translateY(-2px);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
} 

/* Gallery Section */
.gallery-section {
  padding: 5rem 0;
  background: var(--secondary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

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

@media (min-width: 769px) and (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Services Section */
.services-section {
  padding: 5rem 0;
}

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

.service-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.service-card p {
  color: var(--light-gray);
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background: var(--accent-color);
}

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

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--light-gray);
}

.testimonial-author h4 {
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
}

.testimonial-author span {
  color: var(--light-gray);
  font-size: 0.9rem;
}

/* About Page Styles */
.about-hero {
  height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
              url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?w=1920&h=800&fit=crop') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
} 