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

html, body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
    background: #000 !important;
    margin: 0;
    padding: 0;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 1) !important;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: none;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    margin-right: auto;
    padding-left: 40px;
}

/* SVG Logo Styling */
.nav-logo-svg {
    height: 90px;
    width: auto;
    display: block;
    overflow: visible;
}

/* vertical rule draw animation */
.logo-rule {
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawRule 5s cubic-bezier(.2,.9,.2,1) infinite;
}

/* reveal circle movement */
.logo-reveal-circle {
    transform-origin: 600px 300px;
    animation: circleMove 5s cubic-bezier(.22,.9,.28,1) infinite;
}

/* overlay fade */
.logo-overlay {
    animation: overlayFade 5s ease infinite;
    opacity: 1;
}

/* wordmark reveal */
.logo-wordmark {
    opacity: 0;
    transform: translateY(3px);
    animation: showText 5s ease infinite;
}

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

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #d4af37;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000 !important;
    color: #2c3e50;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/love1.jpg') center top/cover;
    z-index: 1;
}

/* Enhanced text visibility for hero section */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    background: transparent;
      border-radius: 20px;
  }
  
  /* Elegant Monogram Logo - Using Your Actual Logo */
  .monogram-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 40px;
      text-align: center;
  }
  
  .hero-logo-img {
      height: 1000px;
      width: auto;
      max-width: 2000px;
      background: transparent;
      filter: none; /* Keep original colors */
      position: absolute;
      right: 5%;
      top: -35%;
      transform: translateY(-50%);
      z-index: 10;
  }
  
  .hero-title {
    display: none;
}

.hero-subtitle {
    display: none;
}

.hero-date {
    display: none;
}

.hero-time {
    display: none;
}

.cta-button {
    display: none;
}

.cta-button:hover {
    background: linear-gradient(135deg, #D4A5A5 0%, #E8B4B8 100%);
    color: #2c1810;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(232, 180, 184, 0.6);
    border: 3px solid #E8B4B8;
}

/* Section Styles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #d4af37;
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background: #000;
}

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

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Families Section */
.families-section {
    padding: 100px 0;
    background: #000;
}

.family-group {
    margin-bottom: 4rem;
}

.family-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #d4af37;
}

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

.family-member {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.family-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #d4af37;
}

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

.member-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.relation, .role {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 1rem;
}

.description {
    color: #ccc;
    line-height: 1.6;
}

/* Wedding Party Section */
.wedding-party-section {
    padding: 100px 0;
    background: #000;
}

.party-group {
    margin-bottom: 4rem;
}

.party-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #d4af37;
}

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

.party-member {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.party-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: #000;
}

.gallery-group {
    margin-bottom: 4rem;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #d4af37;
}

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

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

/* Details Section */
.details-section {
    padding: 100px 0;
    background: #000;
}

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

.detail-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card i {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.detail-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.detail-card p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.registry-link {
    display: inline-block;
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
}

.registry-link:hover {
    text-decoration: underline;
}

/* RSVP Section */
.rsvp-section {
    padding: 100px 0;
    background: #000;
}

.rsvp-deadline {
    text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 3rem;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #444;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #2a2a2a;
    color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

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

.submit-button {
    width: 100%;
    padding: 15px;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #b8941f;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #000;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #d4af37;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

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

/* Logo Animation Keyframes */
@keyframes drawRule {
    0% { stroke-dashoffset: 200; }
    20% { stroke-dashoffset: 0; }
    80% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 200; }
}

@keyframes circleMove {
    0%   { transform: translateX(-18%) scale(.86); }
    20%  { transform: translateX(0%)    scale(1.06); }
    30%  { transform: translateX(18%)   scale(1); }
    80%  { transform: translateX(18%)   scale(1); }
    100% { transform: translateX(-18%) scale(.86); }
}

@keyframes overlayFade {
    0% { opacity: 1; visibility: visible; }
    20% { opacity: 0; visibility: hidden; }
    80% { opacity: 0; visibility: hidden; }
    100% { opacity: 1; visibility: visible; }
}

@keyframes showText {
    0% { opacity: 0; transform: translateY(3px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(3px); }
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .family-title,
    .party-title,
    .gallery-title {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .rsvp-form {
        padding: 2rem;
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-date {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}
