:root {
    --primary: #e63946;
    /* Corporate Red */
    --secondary: #1d3557;
    /* Corporate Navy */
    --accent: #457b9d;
    /* Corporate Blue */
    --dark: #1d3557;
    --light: #f1faee;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --nav-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background: #f8f9fa;
    color: var(--dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: var(--nav-height);
    /* Space for fixed navbar */
}

/* Animated Background Shapes (Subtler for Corporate) */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.4;
}

.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 25s infinite ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent), transparent);
}

.shape-2 {
    top: 30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent);
    animation-delay: -8s;
}

.shape-3 {
    bottom: -10%;
    left: 20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--primary), transparent);
    animation-delay: -15s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--secondary);
    cursor: pointer;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.landing-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

/* Typography & Header */
.landing-header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--secondary);
    letter-spacing: -1px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.countdown-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 110px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.countdown-item span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.countdown-item label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    color: #888;
    font-weight: 600;
}

/* Cards */
.info-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 5rem;
}

.info-item {
    text-align: center;
}

.info-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.info-item h3 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-item p {
    color: #666;
}

/* Guests */
.guests-section {
    margin-bottom: 6rem;
}

.guests-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary);
    font-weight: 800;
    text-align: center;
}

.guests-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.guest-card {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    width: 340px;
    transition: transform 0.3s ease;
}

.guest-card:hover {
    transform: translateY(-10px);
}

.img-wrapper {
    width: 100%;
    height: 340px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.guest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guest-card:hover img {
    transform: scale(1.05);
}

.guest-card h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
}

.guest-card p {
    text-align: center;
    color: #666;
    margin-top: 0.5rem;
}

/* CTA Button */
.btn-cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(230, 57, 70, 0.4);
    background: #d62839;
}

.cta-section {
    text-align: center;
}

/* Form Styles */
.couple-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.person-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.person-card h2 {
    color: var(--secondary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    display: block;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(29, 53, 87, 0.2);
}

.btn-submit:hover {
    transform: translateY(-3px);
    background: #162842;
    box-shadow: 0 15px 30px rgba(29, 53, 87, 0.3);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .landing-header h1 {
        font-size: 2.8rem;
    }

    .couple-container {
        grid-template-columns: 1fr;
    }

    .countdown-container {
        gap: 0.8rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 1rem;
    }

    .countdown-item span {
        font-size: 1.8rem;
    }
}