/* Wedding Detail Page Styles */

/* Transparent Navbar for Wedding Detail Page */
body .navbar {
    background: transparent !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    box-shadow: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

/* Navbar Logo */
.logo {
    background: transparent !important;
    z-index: 1003;
    position: relative;
}

.logo img {
    height: 50px;
    width: auto;
    background: transparent !important;
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #f5f1ed;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #b89968;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 15px;
    z-index: 1003;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.hamburger-icon .dot {
    width: 8px;
    height: 8px;
    background-color: #f5f1ed;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-icon {
    display: none;
    font-size: 2.5rem;
    color: #f5f1ed;
    line-height: 1;
    font-weight: 300;
}

.hamburger-menu.active .hamburger-icon {
    display: none;
}

.hamburger-menu.active .close-icon {
    display: block;
    color: #333;
}

/* Wedding Hero Section */
.wedding-detail-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.wedding-detail-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wedding-detail-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wedding-detail-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.wedding-detail-hero .hero-content {
    position: absolute !important;
    bottom: 80px !important;
    left: 60px !important;
    transform: none !important;
    text-align: left;
    width: auto;
    max-width: 600px;
    z-index: 3 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wedding-detail-hero .hero-content {
        bottom: 60px !important;
        left: 40px !important;
        right: 40px !important;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .wedding-detail-hero .hero-content {
        bottom: 40px !important;
        left: 20px !important;
        right: 20px !important;
    }
}

@media (min-width: 1024px) {
    .wedding-detail-hero .hero-content {
        bottom: 100px !important;
        left: 80px !important;
        max-width: 700px;
    }
}

.couple-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #f5f1ed;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.wedding-info {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: #e5e5e5;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Wedding Story Section */
.wedding-story {
    padding: 80px 20px;
    background-color: #f5f1ed;
}

.story-container {
    max-width: 900px;
    margin: 0 auto;
}

.section-heading {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #b89968;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.story-content {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.story-content p {
    margin-bottom: 20px;
}

/* Wedding Gallery Section */
.wedding-gallery {
    padding: 80px 20px;
    background-color: #ffffff;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: #f0f0f0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Back Section */
.back-section {
    padding: 40px 20px;
    background-color: #f5f1ed;
    text-align: center;
}

.back-container {
    max-width: 1400px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #b89968;
    text-decoration: none;
    padding: 12px 30px;
    border: 2px solid #b89968;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: #b89968;
    color: #ffffff;
}

.back-link i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navbar - Keep it transparent */
    body .navbar {
        padding: 15px 20px;
        background: transparent !important;
    }

    .logo {
        z-index: 1003;
        position: relative;
    }

    .logo img {
        height: 40px;
        z-index: 1003;
        position: relative;
    }

    /* Backdrop overlay when menu is active */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: -1;
    }

    .nav-links.active::before {
        opacity: 1;
        visibility: visible;
    }

    /* Hide desktop nav links and show mobile menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: #1a1a1a;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        transition: right 0.4s ease-in-out;
        z-index: 1002;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links li a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
        color: #ffffff !important;
        transition: color 0.3s ease;
    }

    .nav-links li a:hover {
        color: #b89968 !important;
    }

    /* Show hamburger menu */
    .hamburger-menu {
        display: flex;
    }

    /* Wedding Hero adjustments */
    .wedding-detail-hero .hero-content {
        bottom: 40px !important;
        left: 30px !important;
        top: auto !important;
    }
    
    .couple-title {
        font-size: 1.8rem;
    }
    
    .wedding-info {
        font-size: 0.9rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .story-content {
        font-size: 1.1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .wedding-story,
    .wedding-gallery {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    /* Mobile Navbar */
    body .navbar {
        padding: 12px 15px;
    }

    .logo img {
        height: 35px;
    }

    .nav-links {
        width: 80%;
        padding: 70px 20px 20px;
    }

    .nav-links li a {
        font-size: 1rem;
    }

    /* Wedding Hero adjustments */
    .wedding-detail-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .wedding-detail-hero .hero-content {
        bottom: 30px !important;
        left: 20px !important;
        top: auto !important;
    }
    
    .couple-title {
        font-size: 1.5rem;
    }
    
    .wedding-info {
        font-size: 0.85rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Desktop Enhancements */
@media (min-width: 1024px) {
    .wedding-detail-hero {
        height: 100vh;
    }
    
    .wedding-detail-hero .hero-content {
        bottom: 80px !important;
        left: 80px !important;
        top: auto !important;
    }
    
    .couple-title {
        font-size: 3.5rem;
    }
    
    .wedding-info {
        font-size: 1.2rem;
    }
    
    .section-heading {
        font-size: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

/* Footer Section Styles */
.footer-section {
    background-color: #1a1a1a;
    color: #b5b5b5;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    text-align: center;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    margin: 0 auto;
}

/* Footer Description */
.footer-description {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #b5b5b5;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Social Media Icons */
.social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid #b89968;
    border-radius: 50%;
    color: #b89968;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: #b89968;
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* Footer Column */
.footer-column {
    margin-bottom: 30px;
}

/* Footer Headings */
.footer-heading {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #b89968;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: #b5b5b5;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #b89968;
    padding-left: 5px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(184, 153, 104, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: #b89968;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-item div {
    width: 100%;
}

.contact-item p {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    color: #b5b5b5;
    line-height: 1.8;
    font-size: 1rem;
}

.contact-item strong {
    color: #ffffff;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.contact-item a {
    color: #b89968;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Get In Touch Button */
.get-in-touch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #b89968;
    color: #1a1a1a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 50px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 40px;
    border: 2px solid #b89968;
}

.get-in-touch-btn:hover {
    background-color: transparent;
    color: #b89968;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 153, 104, 0.3);
}

.get-in-touch-btn i {
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 40px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #b89968, transparent);
    margin-bottom: 30px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 0;
}

.copyright {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    text-align: center;
}

.copyright strong {
    color: #b89968;
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links-bottom a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #b89968;
}

.footer-links-bottom span {
    color: #888;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .footer-description {
        font-size: 0.95rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .footer-heading {
        font-size: 1.1rem;
    }
    
    .footer-links li a {
        font-size: 0.95rem;
    }
    
    .contact-item {
        padding: 25px 0;
    }
    
    .contact-item i {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .contact-item strong {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .contact-item p {
        font-size: 0.95rem;
    }
    
    .get-in-touch-btn {
        font-size: 1rem;
        padding: 12px 40px;
        margin-top: 30px;
    }
    
    .copyright {
        font-size: 0.85rem;
    }
    
    .footer-links-bottom a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 40px 0 0;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-logo img {
        height: 50px;
    }
    
    .footer-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .social-media {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-heading {
        font-size: 1rem;
    }
    
    .contact-info {
        gap: 30px;
    }
    
    .contact-item {
        padding: 20px 0;
    }
    
    .contact-item i {
        font-size: 1.4rem;
    }
    
    .contact-item strong {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }
    
    .get-in-touch-btn {
        font-size: 0.95rem;
        padding: 12px 35px;
        margin-top: 25px;
    }
    
    .footer-bottom-content {
        gap: 10px;
        padding: 20px 0;
    }
}