/* ============================================
   WEDDING WEBSITE STYLES
   Color Scheme: White, Terracotta, Sage Green
   ============================================ */

/* CSS Variables for Color Scheme */
:root {
    --sage-green: #9caf88;
    --sage-green-dark: #7a9168;
    --sage-green-light: #c4d4b5;
    --terracotta: #cd853f;
    --terracotta-light: #deb887;
    --terracotta-dark: #a0522d;
    --white: #ffffff;
    --off-white: #fdfdf8;
    --cream: #faf8f3;
    --text-dark: #2c2c2c;
    --text-light: #666666;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Garamond', 'Georgia', serif;
    font-weight: 400;
    letter-spacing: 1px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    color: var(--sage-green-dark);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.nav-link:hover {
    color: var(--sage-green-dark);
    background-color: var(--sage-green-light);
}

.nav-link.active {
    color: var(--white);
    background-color: var(--sage-green);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--sage-green-light) 0%, var(--sage-green) 100%);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-small {
    padding: 5rem 2rem;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 2rem;
    font-style: italic;
}

.divider {
    width: 100px;
    height: 2px;
    background: var(--terracotta);
    margin: 2rem auto;
    position: relative;
}

.divider::before,
.divider::after {
    content: '❖';
    position: absolute;
    color: var(--terracotta);
    font-size: 0.8rem;
    top: -8px;
}

.divider::before {
    left: -20px;
}

.divider::after {
    right: -20px;
}

/* ============================================
   CONTAINER & SECTIONS
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--sage-green-dark);
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--terracotta);
    margin: 1rem auto;
}

/* ============================================
   INFO SECTION
   ============================================ */

.info-section {
    margin-bottom: 4rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(156, 175, 136, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--terracotta);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(156, 175, 136, 0.25);
}

.info-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--sage-green-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.venue-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark) !important;
}

.date-info {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-dark) !important;
}

.time-info {
    font-size: 1.1rem;
    color: var(--terracotta) !important;
    font-weight: bold;
}

.dress-code {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark) !important;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */

.timeline-section {
    margin-bottom: 4rem;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 10px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--sage-green-light);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--terracotta);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--sage-green-light);
    z-index: 1;
}

.timeline-time {
    text-align: right;
    padding-right: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--sage-green-dark);
}

.timeline-content {
    padding-left: 2rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--sage-green-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--sage-green-light) 0%, var(--sage-green) 100%);
    border-radius: 10px;
    margin-top: 3rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 2rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.3);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(205, 133, 63, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--sage-green-dark);
    border: 2px solid var(--sage-green);
}

.btn-secondary:hover {
    background: var(--sage-green);
    color: var(--white);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* ============================================
   RSVP FORM
   ============================================ */

.rsvp-section {
    max-width: 700px;
    margin: 0 auto;
}

.form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(156, 175, 136, 0.15);
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    color: var(--sage-green-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--sage-green-light);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Helvetica', 'Arial', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.3rem;
    font-style: italic;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid var(--sage-green-light);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.radio-label:hover {
    background: var(--cream);
    border-color: var(--sage-green);
}

.radio-label input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    accent-color: var(--sage-green);
    cursor: pointer;
}

.radio-label span {
    font-size: 1rem;
    color: var(--text-dark);
}

.radio-label input[type="radio"]:checked + span {
    font-weight: bold;
    color: var(--sage-green-dark);
}

/* Attending Details */
.attending-details {
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 8px;
    border-left: 4px solid var(--terracotta);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-actions {
    text-align: center;
    margin-top: 1rem;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--sage-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: var(--white);
}

.success-message h3 {
    font-size: 2rem;
    color: var(--sage-green-dark);
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ============================================
   INFO BOX & DEADLINE
   ============================================ */

.deadline-section {
    margin-top: 2rem;
}

.info-box {
    background: var(--sage-green-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--sage-green);
}

.info-box p {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-box strong {
    color: var(--sage-green-dark);
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--sage-green-dark);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.footer-small {
    font-size: 0.9rem;
    color: var(--sage-green-light);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 20px;
        transform: none;
    }

    .timeline-time {
        text-align: left;
        padding-right: 0;
        margin-bottom: 0.5rem;
    }

    .timeline-content {
        padding-left: 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 5rem 1rem;
    }

    .hero-small {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .info-card {
        padding: 2rem 1.5rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .radio-group {
        gap: 0.5rem;
    }

    .radio-label {
        padding: 0.8rem;
    }
}

/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--sage-green-light) 0%, var(--sage-green) 100%);
}

.login-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 90%;
    text-align: center;
}

.login-header {
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2.5rem;
    color: var(--sage-green-dark);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.divider-small {
    width: 60px;
    height: 2px;
    background: var(--terracotta);
    margin: 1.5rem auto;
}

.login-form {
    margin-top: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.login-form .form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--sage-green-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: var(--sage-green);
}

.login-error {
    background: #ffe0e0;
    color: #d32f2f;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}
