/* ==========================================================================
   Beach & Tropical Theme Variables
   ========================================================================== */
:root {
    --bg-main: #FDFBF7;       /* Soft Sand / Off-white */
    --sand: #EBDCB2;          /* Warm Sand */
    --sand-dark: #D4B982;
    --ocean-light: #88C9E8;   /* Light Turquoise */
    --ocean: #4A9CC2;         /* Ocean Blue */
    --ocean-dark: #2C6E8C;
    --leaf-green: #4A7C59;    /* Palm Green */
    --text-main: #3A4449;     /* Deep Grey/Blue */
    --text-muted: #72828C;
    
    --font-heading: 'Amatic SC', cursive;
    --font-body: 'Poppins', sans-serif;
    
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--ocean-dark);
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--ocean-dark);
    margin-bottom: 50px;
    letter-spacing: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-tropical {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    background-attachment: fixed;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-tropical::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.2); /* Light overlay just to make text pop */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-content .eyebrow {
    font-size: 1.1rem;
    letter-spacing: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-content .names {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 12vw, 8rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    color: #fff;
}

.hero-content .tagline {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 40px;
}

.event-date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    justify-content: center;
}

.event-date .day {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 600;
}

/* SVG Wave at bottom of hero */
.wave-transition {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.wave-transition svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ==========================================================================
   Details Grid
   ========================================================================== */
.event-details {
    padding: 100px 0;
    background-color: var(--bg-main);
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.detail-card {
    background: #fff;
    padding: 50px 30px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(74, 156, 194, 0.1);
    border-bottom: 5px solid var(--ocean);
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 156, 194, 0.2);
}

.detail-card i {
    font-size: 3rem;
    color: var(--sand-dark);
    margin-bottom: 20px;
}

.detail-card h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--leaf-green);
    margin-bottom: 15px;
}

.detail-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.detail-card p strong {
    color: var(--text-main);
    font-weight: 600;
}

.dress-code {
    font-style: italic;
    font-size: 0.9rem !important;
    margin-top: 20px;
    color: var(--ocean-dark) !important;
}

.btn-ocean {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--ocean);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ocean:hover {
    background-color: var(--ocean-dark);
    transform: translateY(-2px);
    color: #fff;
}

/* ==========================================================================
   Travel / Accommodation Section
   ========================================================================== */
.travel-section {
    padding: 80px 20px;
    background-color: var(--sand);
    text-align: center;
    color: var(--text-main);
}

.travel-icon {
    font-size: 3.5rem;
    color: var(--leaf-green);
    margin-bottom: 20px;
}

.travel-section h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
}

.travel-section p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ==========================================================================
   RSVP Form
   ========================================================================== */
.rsvp-section {
    padding: 100px 0 120px;
    background-color: var(--bg-main);
}

.rsvp-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.rsvp-box h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--ocean-dark);
    margin-bottom: 10px;
}

.rsvp-box .subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.beach-form .input-group {
    margin-bottom: 20px;
    text-align: left;
}

.beach-form input[type="text"],
.beach-form select {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--sand);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background-color: #fff;
    transition: var(--transition);
}

.beach-form input:focus,
.beach-form select:focus {
    outline: none;
    border-color: var(--ocean);
}

.checkbox-group {
    background: rgba(235, 220, 178, 0.2);
    padding: 15px;
    border-radius: var(--radius);
    border: 1px dashed var(--sand-dark);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-main);
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.beach-footer {
    background-color: var(--ocean-dark);
    color: #fff;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-content {
    padding: 100px 20px 40px;
    text-align: center;
}

.footer-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
}

.brand {
    font-size: 0.85rem;
    opacity: 0.8;
}

.brand a {
    color: var(--sand);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .grid-layout { grid-template-columns: 1fr; }
    .hero-content .names { font-size: 4.5rem; }
    .rsvp-box { padding: 40px 20px; }
}

/* ==========================================================================
   Action Buttons (Calendar & Map)
   ========================================================================== */
.action-buttons-section {
    padding: 40px 0;
    position: relative;
    z-index: 10;
}
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
}
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s ease;
    background: rgba(128, 128, 128, 0.1);
    color: inherit;
    border: 1px solid currentColor;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.btn-action:hover {
    background: rgba(128, 128, 128, 0.3);
    transform: translateY(-3px);
}
.btn-action i {
    font-size: 1.3rem;
}

.map-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0,0,0,0.05);
    color: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none !important;
    border: 1px solid currentColor;
    transition: all 0.3s ease;
}
.map-link-inline:hover {
    background: rgba(0,0,0,0.1);
}
