:root {
    --color-bg: #000000;
    --color-surface: #0a0a0a;
    --color-surface-light: #181818;
    --color-text: #ffffff;
    --color-text-muted: #888888;
    --color-red: #d90000;
    --color-accent: #0f3d3e;
    --font-primary: 'Outfit', sans-serif;
    --font-marker: 'Permanent Marker', cursive;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* Home / Hero Grid */
.hero-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(5, 1fr);
    z-index: 1;
}

.hero-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 2s ease;
}

.hero-grid img:hover {
    filter: grayscale(0%) brightness(1) !important;
}

.title-container {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.75);
    padding: 4rem 6rem;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.main-title {
    font-size: 6rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    letter-spacing: 8px;
    color: #fff;
}

.shades-correction {
    position: relative;
    display: inline-block;
}

.shades-text {
    position: relative;
    color: #777; /* Brightened slightly */
}

.shades-text::after {
    content: '';
    position: absolute;
    top: 48%;
    left: -10%;
    right: -10%;
    height: 10px;
    background-color: var(--color-red);
    transform: rotate(-6deg);
    box-shadow: 0 4px 15px rgba(217, 0, 0, 0.4);
}

.years-text {
    position: absolute;
    top: -70%;
    left: 5%;
    color: var(--color-red);
    font-family: var(--font-marker);
    font-size: 5.5rem;
    transform: rotate(-8deg);
    text-transform: none;
    letter-spacing: 2px;
    white-space: nowrap;
}

.invite-text {
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-text);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Hero Navigation */
.hero-nav {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-nav .btn {
    padding: 1rem 3rem;
    font-size: 0.9rem;
}

/* Content Sections */
.content-section {
    padding: 8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: white;
    letter-spacing: 6px;
}

/* Accomm Cards */
.hotel-card {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.hotel-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: bottom;
}
.hotel-card:hover {
    background: var(--color-surface-light);
    border-color: rgba(255,255,255,0.2);
}
.hotel-card:hover::before {
    transform: scaleY(1);
}
.hotel-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: 3px;
}
.hotel-card p {
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Sharp Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.3);
}
.btn:hover {
    background: white;
    color: black;
    border-color: white;
}
.btn-red {
    background: transparent;
    color: var(--color-red);
    border: 1px solid var(--color-red);
}
.btn-red:hover {
    background: var(--color-red);
    color: white;
    border-color: var(--color-red);
}

/* Form Styles */
.rsvp-form {
    background: var(--color-surface);
    padding: 4rem;
    border: 1px solid rgba(255,255,255,0.1);
}
.form-group {
    margin-bottom: 2rem;
}
.form-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}
.form-group input, .form-group select {
    width: 100%;
    padding: 1.2rem;
    background: var(--color-surface-light);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    border-radius: 0;
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-red);
    background: rgba(255,255,255,0.05);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem top 50%;
    background-size: 0.65rem auto;
}
.hidden {
    display: none !important;
}

/* Sponsor Joke Footer */
.sponsor-footer {
    text-align: center;
    padding: 4rem 1rem;
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.sponsor-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.sponsor-label {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.sponsor-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}
.sponsor-brand {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: white;
    text-transform: uppercase;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 900px) {
    .main-title { font-size: 4rem; }
    .hero-grid { grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(8, 1fr); }
    .title-container { padding: 3rem 2rem; width: 90%; }
}
@media (max-width: 600px) {
    .main-title { flex-direction: column; font-size: 3rem; gap: 0.5rem; }
    .title-container { padding: 2rem 1rem; width: 95%; margin-top: 0; }
    .years-text { top: 0; position: relative; display: block; left: 0; font-size: 3.5rem; transform: rotate(-5deg); margin-top: -5px; margin-bottom: 10px;}
    .shades-text::after { top: 35%; }
    .invite-text { font-size: 0.85rem; margin-top: 1.5rem; letter-spacing: 2px; }
    
    .page-title { font-size: 1.6rem; letter-spacing: 3px; word-break: break-word; }
    
    .hero-nav { flex-direction: column; width: 100%; gap: 1rem; }
    .hero-nav .btn { width: 100%; margin: 0; font-size: 0.75rem; letter-spacing: 1px; padding: 1rem 0.5rem; box-sizing: border-box; }
    
    .rsvp-form, .hotel-card { padding: 2rem 1.5rem; }
    .content-section { padding: 4rem 0; }
    
    /* Prevent any body spill horizontally */
    body, html { max-width: 100vw; overflow-x: hidden; }
}
