/*
Theme Name: RSVP Developer Theme
Theme URI: https://rsvpsouthend.com
Author: Developer
Author URI: https://rsvpsouthend.com
Description: Custom theme for RSVP South End event venue. Designed for Elementor Pro with custom widgets and Theme Builder support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rsvp-developer
Tags: elementor, event-venue, custom-theme

RSVP South End - Where elegance meets versatility
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
    /* Brand Colors */
    --rsvp-gold: #D4AF37;
    --rsvp-gold-dark: #C19B2E;
    --rsvp-gold-light: #E5C158;
    --rsvp-charcoal: #2C2C2C;
    --rsvp-white: #FFFFFF;
    --rsvp-light-gray: #F8F8F8;
    --rsvp-medium-gray: #808080;
    --rsvp-border-gray: #E5E5E5;
    --rsvp-footer-blue: #1A3A52;

    /* Typography */
    --rsvp-font-serif: 'Playfair Display', Georgia, serif;
    --rsvp-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --rsvp-section-padding: 96px;
    --rsvp-container-max: 1280px;

    /* Transitions */
    --rsvp-transition: 300ms ease-in-out;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--rsvp-font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--rsvp-charcoal);
    background-color: var(--rsvp-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--rsvp-transition);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--rsvp-font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--rsvp-charcoal);
}

h1 { font-size: 72px; }
h2 { font-size: 48px; }
h3 { font-size: 30px; }
h4 { font-size: 24px; }

@media (max-width: 768px) {
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.rsvp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--rsvp-font-sans);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--rsvp-transition);
    border: 2px solid transparent;
}

.rsvp-btn-primary {
    background-color: var(--rsvp-gold);
    color: var(--rsvp-white);
    border-color: var(--rsvp-gold);
}

.rsvp-btn-primary:hover {
    background-color: var(--rsvp-gold-dark);
    border-color: var(--rsvp-gold-dark);
}

.rsvp-btn-outline {
    background-color: transparent;
    color: var(--rsvp-white);
    border-color: var(--rsvp-white);
}

.rsvp-btn-outline:hover {
    background-color: var(--rsvp-white);
    color: var(--rsvp-charcoal);
}

.rsvp-btn-outline-gold {
    background-color: transparent;
    color: var(--rsvp-gold);
    border-color: var(--rsvp-gold);
}

.rsvp-btn-outline-gold:hover {
    background-color: var(--rsvp-gold);
    color: var(--rsvp-white);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.rsvp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--rsvp-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--rsvp-transition);
}

.rsvp-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--rsvp-container-max);
    margin: 0 auto;
    padding: 16px 24px;
}

.rsvp-nav-logo {
    font-family: var(--rsvp-font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--rsvp-gold);
}

.rsvp-nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.rsvp-nav-link {
    font-family: var(--rsvp-font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--rsvp-charcoal);
    transition: color var(--rsvp-transition);
}

.rsvp-nav-link:hover {
    color: var(--rsvp-gold);
}

.rsvp-nav-cta {
    background-color: var(--rsvp-gold);
    color: var(--rsvp-white);
    padding: 12px 24px;
    border-radius: 2px;
    font-weight: 500;
}

.rsvp-nav-cta:hover {
    background-color: var(--rsvp-gold-dark);
    color: var(--rsvp-white);
}

/* Mobile Menu */
.rsvp-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 1024px) {
    .rsvp-nav-menu {
        display: none;
    }
    
    .rsvp-nav-toggle {
        display: block;
    }
    
    .rsvp-nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--rsvp-white);
        padding: 24px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.rsvp-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 70px;
}

.rsvp-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1000ms ease-in-out;
}

.rsvp-hero-slide.active {
    opacity: 1;
}

.rsvp-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rsvp-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.rsvp-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.rsvp-hero-content h1 {
    font-size: 72px;
    color: var(--rsvp-white);
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rsvp-hero-content p {
    font-family: var(--rsvp-font-serif);
    font-size: 30px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rsvp-hero-content .subtitle {
    font-family: var(--rsvp-font-sans);
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
}

.rsvp-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.rsvp-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: none;
    color: var(--rsvp-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--rsvp-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsvp-hero-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.rsvp-hero-nav.prev { left: 16px; }
.rsvp-hero-nav.next { right: 16px; }

.rsvp-hero-indicators {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.rsvp-hero-indicator {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all var(--rsvp-transition);
}

.rsvp-hero-indicator.active {
    width: 32px;
    background: var(--rsvp-white);
}

@media (max-width: 768px) {
    .rsvp-hero-content h1 {
        font-size: 48px;
    }
    
    .rsvp-hero-content p {
        font-size: 24px;
    }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.rsvp-section {
    padding: var(--rsvp-section-padding) 24px;
}

.rsvp-section-white {
    background-color: var(--rsvp-white);
}

.rsvp-section-gray {
    background-color: var(--rsvp-light-gray);
}

.rsvp-container {
    max-width: var(--rsvp-container-max);
    margin: 0 auto;
}

.rsvp-section-title {
    font-family: var(--rsvp-font-serif);
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    color: var(--rsvp-charcoal);
    margin-bottom: 64px;
}

@media (max-width: 768px) {
    .rsvp-section {
        padding: 64px 16px;
    }
    
    .rsvp-section-title {
        font-size: 36px;
        margin-bottom: 48px;
    }
}

/* ==========================================================================
   EVENT TYPES GRID
   ========================================================================== */

.rsvp-event-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.rsvp-event-card {
    background: var(--rsvp-light-gray);
    padding: 32px;
    border-radius: 2px;
    text-align: center;
    transition: all var(--rsvp-transition);
}

.rsvp-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rsvp-event-icon {
    width: 64px;
    height: 64px;
    background: var(--rsvp-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.rsvp-event-icon svg {
    width: 32px;
    height: 32px;
    color: var(--rsvp-gold);
}

.rsvp-event-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.rsvp-event-card p {
    color: rgba(44, 44, 44, 0.8);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .rsvp-event-types {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .rsvp-event-types {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   VENUE SPACES GRID
   ========================================================================== */

.rsvp-venues {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}

.rsvp-venue-card {
    background: var(--rsvp-white);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all var(--rsvp-transition);
}

.rsvp-venue-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.rsvp-venue-image {
    position: relative;
    height: 288px;
    overflow: hidden;
}

.rsvp-venue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.rsvp-venue-card:hover .rsvp-venue-image img {
    transform: scale(1.1);
}

.rsvp-venue-content {
    padding: 32px;
}

.rsvp-venue-content h3 {
    font-size: 30px;
    margin-bottom: 8px;
}

.rsvp-venue-capacity {
    color: var(--rsvp-gold);
    font-weight: 600;
    margin-bottom: 16px;
}

.rsvp-venue-content p {
    color: rgba(44, 44, 44, 0.8);
    line-height: 1.7;
    margin-bottom: 24px;
}

.rsvp-venue-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rsvp-gold);
    font-weight: 500;
    transition: color var(--rsvp-transition);
}

.rsvp-venue-link:hover {
    color: var(--rsvp-gold-dark);
}

.rsvp-venue-link svg {
    transition: transform var(--rsvp-transition);
}

.rsvp-venue-link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 1280px) {
    .rsvp-venues {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .rsvp-venues {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .rsvp-venues {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CAPACITY & AMENITIES
   ========================================================================== */

.rsvp-capacity-amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.rsvp-capacity-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rsvp-capacity-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: var(--rsvp-light-gray);
    border-radius: 2px;
}

.rsvp-capacity-icon {
    width: 56px;
    height: 56px;
    background: var(--rsvp-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rsvp-capacity-icon svg {
    width: 24px;
    height: 24px;
    color: var(--rsvp-gold);
}

.rsvp-capacity-label {
    flex: 1;
    font-weight: 600;
    font-size: 18px;
}

.rsvp-capacity-number {
    font-family: var(--rsvp-font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--rsvp-gold);
}

.rsvp-amenities-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rsvp-amenity-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rsvp-amenity-icon {
    width: 36px;
    height: 36px;
    background: var(--rsvp-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rsvp-amenity-icon svg {
    width: 18px;
    height: 18px;
    color: var(--rsvp-white);
}

.rsvp-amenity-label {
    font-size: 18px;
}

@media (max-width: 1024px) {
    .rsvp-capacity-amenities {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.rsvp-testimonials {
    max-width: 900px;
    margin: 0 auto;
}

.rsvp-testimonial-card {
    background: var(--rsvp-white);
    padding: 48px;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.rsvp-testimonial-quote-icon {
    color: var(--rsvp-gold);
    margin-bottom: 24px;
}

.rsvp-testimonial-quote-icon svg {
    width: 48px;
    height: 48px;
}

.rsvp-testimonial-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--rsvp-charcoal);
    margin-bottom: 32px;
}

.rsvp-testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.rsvp-testimonial-stars svg {
    width: 20px;
    height: 20px;
    fill: var(--rsvp-gold);
    color: var(--rsvp-gold);
}

.rsvp-testimonial-author {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
}

.rsvp-testimonial-event {
    color: var(--rsvp-gold);
    font-weight: 500;
}

.rsvp-testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.rsvp-testimonial-btn {
    width: 44px;
    height: 44px;
    background: var(--rsvp-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background var(--rsvp-transition);
}

.rsvp-testimonial-btn:hover {
    background: var(--rsvp-light-gray);
}

.rsvp-testimonial-indicators {
    display: flex;
    gap: 8px;
}

.rsvp-testimonial-indicator {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--rsvp-transition);
}

.rsvp-testimonial-indicator.active {
    width: 32px;
    background: var(--rsvp-gold);
}

/* ==========================================================================
   GALLERY
   ========================================================================== */

.rsvp-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rsvp-gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

.rsvp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.rsvp-gallery-item:hover img {
    transform: scale(1.1);
}

.rsvp-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background var(--rsvp-transition);
}

.rsvp-gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.rsvp-gallery-btn {
    text-align: center;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .rsvp-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .rsvp-gallery {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.rsvp-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.rsvp-contact-map {
    height: 500px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.rsvp-contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.rsvp-contact-form {
    background: var(--rsvp-white);
    padding: 48px;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.rsvp-contact-form h2 {
    font-size: 36px;
    margin-bottom: 32px;
}

.rsvp-form-group {
    margin-bottom: 24px;
}

.rsvp-form-input,
.rsvp-form-select,
.rsvp-form-textarea {
    width: 100%;
    padding: 16px;
    font-family: var(--rsvp-font-sans);
    font-size: 16px;
    border: 1px solid var(--rsvp-border-gray);
    border-radius: 2px;
    transition: border-color var(--rsvp-transition), box-shadow var(--rsvp-transition);
}

.rsvp-form-input:focus,
.rsvp-form-select:focus,
.rsvp-form-textarea:focus {
    outline: none;
    border-color: var(--rsvp-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.rsvp-form-textarea {
    resize: none;
    min-height: 120px;
}

.rsvp-form-submit {
    width: 100%;
    padding: 20px;
    background: var(--rsvp-gold);
    color: var(--rsvp-white);
    font-family: var(--rsvp-font-sans);
    font-size: 18px;
    font-weight: 500;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background var(--rsvp-transition);
}

.rsvp-form-submit:hover {
    background: var(--rsvp-gold-dark);
}

.rsvp-contact-info {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--rsvp-border-gray);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rsvp-contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rsvp-contact-info-item svg {
    width: 20px;
    height: 20px;
    color: var(--rsvp-gold);
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .rsvp-contact {
        grid-template-columns: 1fr;
    }
    
    .rsvp-contact-map {
        height: 400px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.rsvp-footer {
    background: var(--rsvp-footer-blue);
    color: var(--rsvp-white);
    padding: 64px 24px;
}

.rsvp-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    max-width: var(--rsvp-container-max);
    margin: 0 auto;
}

.rsvp-footer-brand h3 {
    font-family: var(--rsvp-font-serif);
    font-size: 24px;
    color: var(--rsvp-white);
    margin-bottom: 16px;
}

.rsvp-footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 24px;
}

.rsvp-footer-social {
    display: flex;
    gap: 12px;
}

.rsvp-footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--rsvp-transition);
}

.rsvp-footer-social a:hover {
    background: var(--rsvp-gold);
}

.rsvp-footer-social svg {
    width: 20px;
    height: 20px;
}

.rsvp-footer-column h4 {
    font-size: 18px;
    color: var(--rsvp-white);
    margin-bottom: 16px;
}

.rsvp-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rsvp-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--rsvp-transition);
}

.rsvp-footer-links a:hover {
    color: var(--rsvp-gold);
}

.rsvp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 48px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--rsvp-container-max);
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.rsvp-footer-legal {
    display: flex;
    gap: 24px;
}

.rsvp-footer-legal a:hover {
    color: var(--rsvp-gold);
}

@media (max-width: 1024px) {
    .rsvp-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .rsvp-footer-grid {
        grid-template-columns: 1fr;
    }
    
    .rsvp-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================================================
   ELEMENTOR OVERRIDES
   ========================================================================== */

.elementor-page .rsvp-nav {
    margin-top: 0;
}

.elementor-kit-6 {
    --e-global-color-primary: #D4AF37;
    --e-global-color-secondary: #2C2C2C;
    --e-global-color-text: #2C2C2C;
    --e-global-color-accent: #D4AF37;
}

/* Ensure Elementor sections use full width */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1280px;
}

/* Remove default Elementor margins */
.elementor-widget:not(:last-child) {
    margin-bottom: 0;
}
