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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Sticky Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.header-content {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    height: 50px;
    width: auto;
}

.nav-main {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.nav-main a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9em;
}

.nav-main a:hover {
    background-color: rgba(223, 23, 0, 0.7);
    transform: translateY(-2px);
}

.nav-main a.cta-primary {
    background-color: transparent;
    border: 2px solid #df1700;
    color: #df1700;
    font-weight: bold;
}

.nav-main a.cta-primary:hover {
    background-color: #df1700;
    color: white;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9em;
    background-color: transparent;
}

.dropdown-toggle:hover {
    background-color: rgba(223, 23, 0, 0.7);
    transform: translateY(-2px);
}

/* Active state for dropdown toggle */
.dropdown.active .dropdown-toggle {
    background-color: #df1700;
    color: white;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    min-width: 200px;
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background-color: rgba(223, 23, 0, 0.7);
}

/* Hero/Rink Section */
.hero-section {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/images/rink_rect_1K.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 25%;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.100);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-punchy {
    flex-shrink: 0;
}

.hero-punchy img {
    height: 150px;
    width: auto;
}

.hero-text {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

/* Main Content */
.main-content {
    padding-top: 100px;
}

.section {
    padding: 80px 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Welcome Section */
.welcome-section {
    background: white;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.welcome-image {
    flex: 1;
    min-width: 300px;
}

.welcome-image img {
    width: 100%;
    height: auto;
    max-height: 258px;
    object-fit: contain;
}

.welcome-text {
    flex: 1;
    min-width: 300px;
}

.welcome-text h2 {
    font-size: 2.5em;
    color: #df1700;
    margin-bottom: 20px;
}

.welcome-text p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Features Grid */
.features-section {
    background: #f8f8f8;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #df1700;
    margin-bottom: 50px;
}

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

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-image {
    width: 300px;
    height: 300px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
}

.feature-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.feature-btn {
    background: #df1700;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.feature-btn:hover {
    background: #b81400;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    background: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #df1700;
    margin-bottom: 50px;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background: #f8f8f8;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e8e8e8;
}

.faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

.faq-answer a {
    color: #df1700;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Testimonials Section */
.testimonials-section {
    background: #f8f8f8;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #df1700;
    margin-bottom: 50px;
}

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

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4em;
    color: #df1700;
    opacity: 0.3;
}

.testimonial p {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: #df1700;
    text-align: right;
}

/* Mailing List Section */
.mailing-section {
    background: #333;
    color: white;
    text-align: center;
}

.mailing-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.mailing-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.mailing-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.mailing-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
}

.mailing-form button {
    background: #df1700;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mailing-form button:hover {
    background: #b81400;
}

/* Footer */
.footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    margin-bottom: 10px;
}

/* Simple responsive design */
@media (max-width: 768px) {
    .header {
        padding: 8px 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .nav-main {
        justify-content: center;
        width: 100%;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-section {
        background-attachment: scroll;
    }

    .hero-punchy img {
        height: 120px;
    }

    .welcome-section {
        flex-direction: column;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .mailing-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 5px 10px;
    }
    
    .header-logo img {
        height: 40px;
    }

    .nav-main {
        gap: 8px;
    }

    .nav-main a {
        padding: 6px 10px;
        font-size: 0.85em;
    }
}

/* Active page styling */
.nav-active {
    background-color: #df1700 !important;
    color: white !important;
    cursor: default !important;
    pointer-events: none !important;
}

.nav-active:hover {
    transform: none !important;
    background-color: #df1700 !important;
}


/* Login Page Styles */
.login-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    margin: -20px;
    padding: 40px 20px;
}

.login-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.login-title {
    text-align: center;
    color: #df1700;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.login-table {
    width: 100%;
    border-collapse: collapse;
}

.login-table td {
    padding: 15px;
    vertical-align: top;
}

.login-input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    width: 200px;
    transition: border-color 0.3s ease;
}

.login-input:focus {
    outline: none;
    border-color: #df1700;
    box-shadow: 0 0 0 3px rgba(223, 23, 0, 0.1);
}

.admin-box {
    border: 2px solid #df1700;
    border-radius: 8px;
    padding: 15px;
    background: #f8f8f8;
}

.admin-box .head {
    background: none !important;
    border: none !important;
    padding: 5px 0;
}

.login-button {
    background: #df1700;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background: #b81400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(223, 23, 0, 0.3);
}

.help-link {
    color: #df1700;
    text-decoration: none;
    font-style: italic;
}

.help-link:hover {
    text-decoration: underline;
}

.help-text {
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .login-table {
        display: block;
    }
    
    .login-table td {
        display: block;
        width: 100% !important;
        padding: 10px 0;
    }
    
    .login-input {
        width: 100%;
        box-sizing: border-box;
    }
}
