/* ==========================================
   MIDLAND SPRING HOME SHOW - STYLES
   Colors: Teal #4A8B8B, Yellow #FFD700, Orange #FF8C42, Red #8B1538
   ========================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: #4A8B8B;
    --teal-dark: #3A6B6B;
    --teal-light: #5FA9A9;
    --yellow: #FFD700;
    --yellow-dark: #E6C200;
    --orange: #FF8C42;
    --orange-dark: #E67A38;
    --red: #8B1538;
    --red-dark: #6B0F2A;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #E0E0E0;
    --dark-gray: #4A4A4A;
    --black: #2C2C2C;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    color: var(--black);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--teal);
}

.btn-sponsor {
    background: var(--teal);
    color: var(--white);
    width: 100%;
    margin-top: 20px;
}

.btn-sponsor:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--teal);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--yellow), var(--orange));
    margin: 0 auto 20px;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--teal);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(to right, var(--yellow), var(--orange));
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--teal);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--teal);
    transition: all 0.3s ease;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);
    padding-bottom: 60px;
}
/* Mobile override */
@media (max-width: 768px) {
    .hero-content {
        padding-bottom: 120px; /* More space on mobile */
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid var(--yellow);
    border-radius: 50px;
    color: var(--yellow);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 35px;
    line-height: 1.6;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-date {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.date-box {
    display: inline-block;
    padding: 25px 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.date-large {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 8px;
}

.date-location {
    display: block;
    font-size: 1.1rem;
    color: var(--white);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-info {
    margin-top: 2rem;
    text-align: center;
    animation: fadeInUp 0.8s ease 1s both;
}
@media (max-width: 768px) {
    .hero-info {
        margin-bottom: 60px; /* Add space below the email */
    }
}

.hero-info p {
    margin: 8px 0;
    font-size: 1.05rem;
}

.hero-info .early-bird {
    color: var(--yellow);
    font-weight: 600;
}

.hero-info .email a {
    color: var(--white);
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 2px;
}

.hero-info .email a:hover {
    color: var(--yellow);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    font-size: 0.9rem;
    animation: fadeInUp 0.8s ease 1.2s both;
    z-index: 10;
}
/* Mobile fix */
@media (max-width: 768px) {
    .scroll-indicator {
      bottom: 50px; 
      left: 50%;
      transform: translateX(-50%);
      font-size: 0.8rem;
    }
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--yellow);
    border-bottom: 2px solid var(--yellow);
    transform: rotate(45deg);
    margin: 10px auto 0;
    animation: bounce 2s infinite;
}
@media (max-width: 768px) {
    .scroll-arrow {
        width: 24px;
        height: 24px;
        margin: 8px auto 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    color: var(--teal);
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--dark-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.impact-list {
    list-style: none;
    margin: 20px 0;
}

.impact-list li {
    padding: 15px 0 15px 40px;
    position: relative;
    color: var(--dark-gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

.impact-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
    font-size: 1.5rem;
}

.about-image {
    position: sticky;
    top: 120px;
}

.fez-image {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.stat {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* ==========================================
   EVENT DETAILS SECTION
   ========================================== */
.event-details {
    padding: 100px 0;
    background: var(--light-gray);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.detail-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.detail-card h3 {
    color: var(--teal);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.detail-primary {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.detail-secondary {
    color: var(--dark-gray);
    line-height: 1.6;
}

.map-container {
    margin-top: 60px;
}

.map-container h3 {
    color: var(--teal);
    text-align: center;
    margin-bottom: 30px;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   FLOOR PLAN SECTION
   ========================================== */
.floor-plan {
    padding: 100px 0;
    background: var(--white);
}

.floor-plan-content {
    max-width: 900px;
    margin: 0 auto;
}

.floor-plan-notice {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    margin-bottom: 40px;
}

.floor-plan-notice p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.floor-plan-notice p strong {
    color: var(--yellow);
    font-size: 1.3rem;
}

.floor-plan-placeholder {
    background: var(--light-gray);
    border: 3px dashed var(--gray);
    border-radius: 12px;
    padding: 80px 40px;
    text-align: center;
}

.placeholder-text h3 {
    color: var(--teal);
    margin-bottom: 15px;
}

.placeholder-text p {
    color: var(--dark-gray);
    font-size: 1.05rem;
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery {
    padding: 100px 0;
    background: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ==========================================
   SPONSORS SECTION
   ========================================== */
.sponsors {
    padding: 100px 0;
    background: var(--white);
}

.sponsorship-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.sponsorship-info h3 {
    color: var(--teal);
    font-size: 2rem;
    margin-bottom: 15px;
}

.sponsorship-info p {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.sponsorship-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.tier-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to right, var(--yellow), var(--orange));
}

.tier-card.gold::before {
    background: linear-gradient(to right, #FFD700, #FFA500);
}

.tier-card.silver::before {
    background: linear-gradient(to right, #C0C0C0, #808080);
}

.tier-card.bronze::before {
    background: linear-gradient(to right, #CD7F32, #8B4513);
}

.tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tier-badge {
    margin-bottom: 20px;
}

.tier-icon {
    font-size: 4rem;
}

.tier-card h3 {
    color: var(--teal);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 25px;
}

.tier-benefits {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.tier-benefits li {
    padding: 12px 0;
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--gray);
}

.tier-benefits li:last-child {
    border-bottom: none;
}

.sponsor-showcase {
    margin-top: 80px;
    text-align: center;
}

.sponsor-showcase h3 {
    color: var(--teal);
    font-size: 2rem;
    margin-bottom: 40px;
}

.sponsors-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.sponsor-logo-placeholder {
    background: var(--light-gray);
    border: 2px dashed var(--gray);
    border-radius: 12px;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sponsor-logo-placeholder:hover {
    background: var(--gray);
    border-color: var(--teal);
}

.sponsor-logo-placeholder p {
    color: var(--dark-gray);
    font-weight: 600;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    padding: 100px 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--teal);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.contact-card p,
.contact-card a {
    color: var(--dark-gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-card a {
    color: var(--teal);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--orange);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: var(--teal);
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--orange);
    transform: translateX(5px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(74, 139, 139, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.hidden {
    display: none;
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--teal-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--yellow);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--yellow);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        position: static;
        max-width: 400px;
        margin: 40px auto 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .date-large {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsorship-tiers {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsors-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    section {
        padding: 60px 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .date-box {
        padding: 20px 25px;
    }
    
    .date-large {
        font-size: 1.6rem;
    }
    
    .date-location {
        font-size: 0.95rem;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-cta,
    .contact-form,
    .footer {
        display: none;
    }
}
