/* Wedding Header Styles */

/* Import Garamond font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Container */
.wedding-header {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    min-height: 80px;
}

/* Couple Name Styling */
.couple-name {
    flex: 1;
}

.logo-link {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.logo-link:hover {
    color: #8a0009;
}

/* Navigation Styling */
.header-nav {
    display: flex;
    align-items: center;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c2c2c;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8a0009;
    text-decoration: none;
}

/* Elegant underline effect on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8a0009;
    transition: width 0.3s ease;
}

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

/* Active page styling */
.nav-link.active {
    color: #8b4513;
}

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

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #2c2c2c;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
    padding: 2rem;
    min-width: 300px;
}

.mobile-nav-menu {
    list-style: none;
    text-align: center;
}

.mobile-nav-item {
    margin: 1.5rem 0;
}

.mobile-nav-link {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #8a0009;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .logo-link {
        font-size: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .logo-link {
        font-size: 1.8rem;
    }
    
    .mobile-nav {
        margin: 1rem;
        min-width: auto;
        width: calc(100% - 2rem);
    }
}

/* Animation for mobile menu button when active */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Elegant shadow effect */
.wedding-header {
    box-shadow: 0 2px 20px rgba(139, 69, 19, 0.1);
}

/* Smooth scroll behavior for the entire page */
html {
    scroll-behavior: smooth;
}