/* Custom Font Integration */
/* IMPORTANT: Place Product Sans font files (e.g., ProductSans-Regular.woff2)
    in a 'fonts/' directory relative to this CSS file. */
@font-face {
    font-family: 'Product Sans';
    src: url('fonts/ProductSans-Regular.woff2') format('woff2'),
         url('fonts/ProductSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Product Sans';
    src: url('fonts/ProductSans-Bold.woff2') format('woff2'),
         url('fonts/ProductSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* You can add more Product Sans weights if you have them, e.g., Light, Thin, Medium */


/* Base body styles - ALL text will now fall back to Product Sans unless explicitly overridden */
body {
    font-family: 'Product Sans', sans-serif; /* Default body font for general text and readability */
    overflow-x: hidden; /* Prevent horizontal scroll */

    /* Fixed Background Image for the entire page */
    background-image: url('bckgrnd.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* THIS MAKES THE BACKGROUND FIXED */
    background-repeat: no-repeat;
    background-color: #f8f8f8; /* Fallback color */
    color: #333; /* Default text color for the body, overridden by sections */
}

/* Hero Section */
.hero-section {
    background-image: none;
    background-color: transparent;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* REMOVED: .hero-overlay class that created the dark transparent layer */

.main-hero-content {
    z-index: 10;
    color: white;
}

/* --- SimplyCountdown.js custom styling --- */
#simply-countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.simply-amount {
    font-size: calc(3rem - 5px); /* Decreased by 5px from 3rem */
    font-weight: 700;
    line-height: 1;
    font-family: 'Product Sans', sans-serif; /* Use Product Sans */
}

.simply-word {
    font-size: calc(0.9rem - 5px); /* Decreased by 5px from 0.9rem */
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-family: 'Product Sans', sans-serif; /* Use Product Sans */
}

/* --- ONLY: Main names heading style with Parisienne --- */
.names-heading {
    font-family: 'Parisienne', cursive; /* ONLY Parisienne for names */
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 1rem;
    color: white;
    text-shadow: none;
}

/* All other text in Hero section will use Product Sans */
.hero-arabic-text,
.hero-subheading {
    font-family: 'Product Sans', sans-serif; /* Use Product Sans for these */
    font-size: 2.5rem; /* Adjust sizes as needed, inherited if not specified */
    color: white;
    text-shadow: none;
    font-weight: normal;
}
.hero-arabic-text {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .names-heading {
        font-size: 3.5rem;
    }
    .hero-subheading {
        font-size: 2rem;
    }
    .hero-arabic-text {
        font-size: 1.5rem;
    }
    .simply-section {
        width: 80px;
        height: 80px;
    }
    .simply-amount {
        font-size: calc(2rem - 5px); /* Decreased by 5px from 2rem */
    }
    .simply-word {
        font-size: calc(0.7rem - 5px); /* Decreased by 5px from 0.7rem */
    }
}

/* Couple Section - Make transparent */
.couple-section {
    background-color: transparent;
    padding: 4rem 1rem;
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: none;
}

.couple-section .container {
    position: relative;
    z-index: 2;
}
/* REMOVED: .couple-section::before pseudo-element that created the dark transparent layer */


/* New class for Arabic heading in Couple Section */
.section-arabic-heading {
    font-family: 'Product Sans', sans-serif; /* Use Product Sans */
    font-size: 3rem; /* Adjust size as needed */
    color: white;
    text-shadow: none;
}

/* New class for "You are invited to our Nikah Ceremony" in Couple Section */
.section-intro-text {
    font-family: 'Product Sans', sans-serif; /* Use Product Sans */
    font-size: 1.8rem; /* Adjusted size */
    color: white;
    text-shadow: none;
}

.couple-card {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    color: white;
}
/* Headings within couple card will now use Product Sans */
.couple-name-heading { /* New class for couple names */
    font-family: 'Product Sans', sans-serif; /* Use Product Sans */
    font-size: 2rem; /* Adjusted for better appearance */
    color: white;
    font-weight: 700; /* Bold for names */
}
.couple-description-text { /* New class for couple descriptions */
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Product Sans', sans-serif; /* Use Product Sans */
}

.couple-image-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem auto;
    border: 4px solid #008080;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.couple-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* RSVP Form Section (Event Details) */
.rsvp-form-section {
    position: relative;
    background-image: none;
    background-color: transparent;
    padding: 4rem 1rem;
    color: white;
    z-index: 2;
}

/* REMOVED: .rsvp-form-section::before pseudo-element that created the dark transparent layer */

/* Section titles for Event Details and RSVP */
.section-title {
    font-family: 'Product Sans', sans-serif; /* Use Product Sans */
    font-size: 3.5rem; /* Adjust size as needed for these titles */
    color: white;
    text-shadow: none;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}


/* Style for the Nikah Ceremony box to make it transparent */
.nikah-ceremony-box {
    background-color: rgba(255, 255, 255, 0);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: none;
    position: relative;
    z-index: 2;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}
.nikah-title { /* New class for Nikah Ceremony heading */
    font-family: 'Product Sans', sans-serif; /* Use Product Sans */
    font-size: 2.25rem; /* Adjust size as needed */
    color: white;
    text-shadow: none;
    font-weight: 700; /* Bold for this title */
}
.nikah-ceremony-box svg {
    color: #90EE90;
}
.event-detail-text { /* New class for event detail paragraphs */
    color: white;
    text-shadow: none;
    font-family: 'Product Sans', sans-serif; /* Use Product Sans */
}


/* --- RSVP Form Section --- */
#fh5co-rsvp.couple-section {
    background-color: transparent;
    padding: 4rem 1rem;
    position: relative;
    z-index: 2;
}

#fh5co-rsvp.couple-section::before {
    content: none;
}

.rsvp-form-container { /* New class for the form container */
    background-color: rgba(255, 255, 255, 0); /* Fully transparent background */
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: none; /* Remove shadow from the form container */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* "Please respond by September 20th, 2025" */
.rsvp-response-date { /* Use Product Sans for this paragraph */
    font-family: 'Product Sans', sans-serif;
    font-size: 1.8rem; /* Adjust size as needed */
    color: white;
    text-shadow: none;
    text-align: center;
}

/* Ensure labels are readable */
#fh5co-rsvp label {
    color: white;
    text-shadow: none;
    font-size: 0.875rem;
    font-weight: bold;
    text-align: center;
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Product Sans', sans-serif; /* Use Product Sans */
}

.form-input, .form-textarea, .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    padding: 0.6rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-family: 'Product Sans', sans-serif; /* Use Product Sans for form inputs */
}
.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Product Sans', sans-serif; /* Use Product Sans for placeholders */
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: #00BFFF;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.3);
}
.form-select option {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

.submit-button {
    background-color: #008080;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    font-family: 'Product Sans', sans-serif; /* Use Product Sans for button text */
}

.submit-button:hover {
    background-color: #006666;
    transform: translateY(-2px);
}

/* --- ADDED: RSVP form message styles --- */
.success-message, .error-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 3;
    font-size: 0.875rem;
    font-family: 'Product Sans', sans-serif; /* Use Product Sans for messages */
}
.success-message {
    background-color: rgba(212, 237, 218, 0.8);
    color: #155724;
    border: 1px solid rgba(195, 230, 203, 0.8);
}
.error-message {
    background-color: rgba(248, 215, 218, 0.8);
    color: #721c24;
    border: 1px solid rgba(245, 198, 203, 0.8);
}

/* Footer Section */
.footer-section {
    background-color: rgba(51, 51, 51, 0.8);
    color: white;
    padding: 2rem 1rem;
    position: relative;
    z-index: 2;
    font-family: 'Product Sans', sans-serif; /* Use Product Sans for footer text */
}

/* Modal for "Save the Date" */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}
.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}
.modal-title, .modal-description { /* Use Product Sans for modal text */
    font-family: 'Product Sans', sans-serif;
    color: #333;
}
.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
}
.modal-buttons a {
    display: block;
    margin-bottom: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #008080;
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-weight: 600;
    font-family: 'Product Sans', sans-serif; /* Use Product Sans for modal buttons */
}
.modal-buttons a:hover {
    background-color: #006666;
    transform: translateY(-1px);
}
.modal-buttons a:last-child {
    margin-bottom: 0;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}