/* ========================================
   UI IMPROVEMENTS - CONSISTENT DESIGN
   ======================================== */

/* ========================================
   BUTTONS - CONSISTENT DESIGN
   ======================================== */
.btn-primary,
button[type="submit"],
input[type="submit"],
.hero-button-link a,
.cta-button a,
.submit-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #d4a574 0%, #c39563 100%);
    color: #fff !important;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    text-align: center;
}

.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.hero-button-link a:hover,
.cta-button a:hover,
.submit-btn:hover {
    background: linear-gradient(135deg, #c39563 0%, #b8874f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
    color: #fff !important;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: #d4a574 !important;
    text-decoration: none;
    border: 2px solid #d4a574;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background: #d4a574;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ========================================
   LINKS - CONSISTENT HOVER COLOR
   ======================================== */
a {
    transition: all 0.3s ease;
}

/* Navigation Links */
.main-nav a:hover,
.footer-nav a:hover,
.submenu a:hover {
    color: #d4a574 !important;
}

/* Text Links */
a:not(.btn-primary):not(.btn-secondary):hover {
    color: #d4a574;
}

/* ========================================
   FORMS - CONSISTENT DESIGN
   ======================================== */
.contact-form,
.registration-form,
.newsletter-form,
form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

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

/* Form in sections */
.contact-section form,
.registration-section form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ========================================
   MOBILE MENU - ENHANCED
   ======================================== */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
    background: #d4a574;
    padding: 10px;
    border-radius: 8px;
}

.hamburger {
    width: 30px;
    height: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
    }

    /* Mobile navigation */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        padding-top: 80px;
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .main-nav ul li {
        width: 100%;
        margin: 10px 0;
    }

    .main-nav ul li a {
        display: block;
        padding: 12px 15px;
        color: #333;
        border-radius: 8px;
    }

    .main-nav ul li a:hover {
        background: rgba(212, 165, 116, 0.1);
    }

    /* Submenu on mobile */
    .submenu {
        position: static !important;
        box-shadow: none !important;
        background: rgba(212, 165, 116, 0.05) !important;
        margin-top: 10px;
        border-radius: 8px;
    }

    /* Buttons responsive */
    .btn-primary,
    .btn-secondary {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
        max-width: 300px;
    }

    /* Forms responsive */
    .contact-section form,
    .registration-section form {
        padding: 25px;
    }

    /* Header responsive */
    .logo-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .header-image-section {
        order: -1;
    }

    /* Footer responsive */
    .footer-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        gap: 15px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .btn-primary,
    .btn-secondary {
        padding: 13px 35px;
        font-size: 15px;
    }

    .stats-grid,
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   CONSISTENT COLORS
   ======================================== */
:root {
    --primary-gold: #d4a574;
    --primary-gold-dark: #c39563;
    --primary-gold-light: #e0b98a;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #fff;
}

/* ========================================
   HEADER & FOOTER IMPROVEMENTS
   ======================================== */
.top-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
}

.footer {
    background: #222;
    color: #fff;
}

.footer a {
    color: #fff !important;
}

.footer a:hover {
    color: #d4a574 !important;
}

/* ========================================
   DROPDOWN IMPROVEMENTS
   ======================================== */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px;
    z-index: 1000;
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: #333 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.submenu a:hover {
    background: rgba(212, 165, 116, 0.1);
    color: #d4a574 !important;
    padding-left: 25px;
}

/* ========================================
   SMOOTH SCROLLING
   ======================================== */
html {
    scroll-behavior: smooth;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* ========================================
   ENHANCED FORM LAYOUT - TWO COLUMNS
   ======================================== */

/* Form Container - Expanded */
.contact-form,
.registration-form,
.newsletter-form,
form {
    width: 100%;
    max-width: 900px; /* Expanded from 600px */
    margin: 0 auto;
}

/* Form sections with white background */
.contact-section form,
.registration-section form,
.form-container {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px; /* Wider container */
    margin: 0 auto;
}

/* Two-column form grid */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

/* Full-width fields (message, checkboxes, buttons) */
.form-row-full {
    grid-column: 1 / -1;
    width: 100%;
}

/* Form group styling */
.form-group {
    margin-bottom: 0; /* Remove margin since grid handles spacing */
    width: 100%;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Labels */
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Input fields */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

/* Textarea - Full width, larger */
.form-group textarea {
    resize: vertical;
    min-height: 150px; /* Increased from 120px */
    grid-column: 1 / -1;
}

/* Focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

/* Submit button - Full width in form */
.form-group button[type="submit"],
.form-group input[type="submit"],
form .btn-primary {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
    display: block;
}

/* Responsive - Stack on mobile */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-section form,
    .registration-section form,
    .form-container {
        padding: 30px 20px;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
}

/* Responsive - Maintain 2 columns on tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-section form,
    .registration-section form,
    .form-container {
        padding: 40px;
        max-width: 800px;
    }
}
