/* The Penalty Box Canteen - Main Stylesheet */

/* CSS Variables */
:root {
    --e-global-color-primary: #0E0E0E;
    --e-global-color-secondary: #FFD372;
    --e-global-color-text: #7A7A7A;
    --e-global-color-accent: #CC5500;
    --e-global-color-e6073ed: #F1EBDF;
    --e-global-color-bb2f8a1: #174FA2;
    --e-global-typography-primary-font-family: "Dela Gothic One";
    --e-global-typography-primary-font-size: 65px;
    --e-global-typography-primary-font-weight: 500;
    --e-global-typography-primary-text-transform: none;
    --e-global-typography-primary-font-style: normal;
    --e-global-typography-primary-text-decoration: none;
    --e-global-typography-primary-line-height: 1.3em;
    --e-global-typography-secondary-font-family: "Dela Gothic One";
    --e-global-typography-secondary-font-size: 45px;
    --e-global-typography-secondary-font-weight: 500;
    --e-global-typography-secondary-text-transform: none;
    --e-global-typography-secondary-font-style: normal;
    --e-global-typography-secondary-text-decoration: none;
    --e-global-typography-secondary-line-height: 1.4em;
    --e-global-typography-text-font-family: "Poppins";
    --e-global-typography-text-font-size: 15px;
    --e-global-typography-text-font-weight: 500;
    --e-global-typography-text-text-transform: none;
    --e-global-typography-text-font-style: normal;
    --e-global-typography-text-text-decoration: none;
    --e-global-typography-text-line-height: 1.8em;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body & Layout */
body {
    font-family: var(--e-global-typography-text-font-family);
    background: linear-gradient(135deg, var(--e-global-color-e6073ed) 0%, #ffffff 50%, var(--e-global-color-secondary) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./pattern.png');
    background-repeat: no-repeat;
    background-size: 100%;
    opacity: 0.05;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

/* Logo */
.logo {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
}

/* Typography */
h1 {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: clamp(2.5rem, 8vw, var(--e-global-typography-primary-font-size));
    font-weight: var(--e-global-typography-primary-font-weight);
    line-height: var(--e-global-typography-primary-line-height);
    color: var(--e-global-color-primary);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-family: var(--e-global-typography-text-font-family);
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--e-global-color-text);
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

/* Action Cards Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.action-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(var(--e-global-color-secondary), 0.3);
}

.action-card h2,
.action-card h3 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 1.25rem;
    color: var(--e-global-color-primary);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.action-card p {
    color: var(--e-global-color-text);
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--e-global-color-accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--e-global-typography-text-font-family);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(204, 85, 0, 0.2);
    letter-spacing: 0.25px;
}

.btn:hover {
    background: #e66600;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(204, 85, 0, 0.3);
}

.btn.primary {
    background: var(--e-global-color-primary);
    box-shadow: 0 5px 15px rgba(14, 14, 14, 0.3);
}

.btn.primary:hover {
    background: #2a2a2a;
    box-shadow: 0 6px 20px rgba(14, 14, 14, 0.3);
}

.btn.secondary {
    background: var(--e-global-color-bb2f8a1);
    box-shadow: 0 4px 12px rgba(23, 79, 162, 0.2);
}

.btn.secondary:hover {
    background: #1a5bb8;
    box-shadow: 0 6px 20px rgba(23, 79, 162, 0.3);
}

/* Gift Card Section */
.gift-card-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gift-card-section h2,
.gift-card-section h3 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 1.5rem;
    color: var(--e-global-color-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.gift-card-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-section h2,
.contact-section h3 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 1.5rem;
    color: var(--e-global-color-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--e-global-typography-text-font-family);
    font-weight: 500;
    color: var(--e-global-color-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: var(--e-global-typography-text-font-family);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--e-global-color-accent);
    box-shadow: 0 0 0 2px rgba(204, 85, 0, 0.1);
    background: rgba(255, 255, 255, 1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-submit {
    text-align: center;
    margin-top: 1rem;
}

.btn-submit {
    background: var(--e-global-color-accent);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-family: var(--e-global-typography-text-font-family);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(204, 85, 0, 0.2);
    letter-spacing: 0.25px;
}

.btn-submit:hover {
    background: #e66600;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(204, 85, 0, 0.3);
}

/* Locations Section */
.locations-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.locations-section h2,
.locations-section h3 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 1.5rem;
    color: var(--e-global-color-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.location-card {
    background: rgba(var(--e-global-color-e6073ed), 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(241, 235, 223, 0.5);
}

.location-card .address {
    font-family: var(--e-global-typography-text-font-family);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--e-global-color-primary);
    margin-bottom: 0.5rem;
}

.location-card .special-note {
    font-family: var(--e-global-typography-text-font-family);
    font-size: 0.9rem;
    color: var(--e-global-color-accent);
    font-style: italic;
    margin-top: 1rem;
    font-weight: 500;
}

.location-hours-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hours-card {
    background: rgba(var(--e-global-color-e6073ed), 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(241, 235, 223, 0.5);
}

.hours-card h3 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 1.125rem;
    color: var(--e-global-color-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hours-info {
    font-family: var(--e-global-typography-text-font-family);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--e-global-color-primary);
    margin-bottom: 0.5rem;
}

.hours-info strong {
    font-weight: 600;
}

.extended-hours {
    font-family: var(--e-global-typography-text-font-family);
    font-size: 0.875rem;
    color: var(--e-global-color-accent);
    margin-top: 1rem;
    line-height: 1.6;
}

.extended-hours a {
    color: var(--e-global-color-bb2f8a1);
    text-decoration: none;
    font-weight: 600;
}

.extended-hours a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 2% auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: var(--e-global-color-primary);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 1.25rem;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pdf-viewer {
    width: 100%;
    height: calc(100% - 60px);
    border: none;
}

/* Footer */
footer {
    background: var(--e-global-color-primary);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social {
    margin-bottom: 1.5rem;
}

.footer-social h3 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-social .social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social .social-link:hover {
    background: var(--e-global-color-secondary);
    color: var(--e-global-color-primary);
    transform: translateY(-2px);
}

.footer-content p {
    font-family: var(--e-global-typography-text-font-family);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.footer-content .company-name {
    color: var(--e-global-color-secondary);
    font-weight: 500;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .gift-card-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .location-hours-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }
}

@media (max-width: 480px) {
    .action-card {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }

    .contact-section,
    .gift-card-section,
    .locations-section {
        padding: 1.5rem;
    }
}
