/* ========================================
   Pep Club Locker - Main Stylesheet
   Colors: Blue (#1E3A8A) and Orange (#EA580C)
======================================== */

/* CSS Variables */
:root {
    --primary-blue: #1E3A8A;
    --primary-orange: #EA580C;
    --text-gray: #6B7280;
    --light-gray: #F3F4F6;
    --dark-text: #1F2937;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1E40AF;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #C2410C;
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    width: 100%;
    padding: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue);
    text-decoration: none;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(234, 88, 12, 0.9)), url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    background-color: var(--light-gray);
    padding-top: 8rem;
    text-align: center;
}

.page-header h1 {
    color: var(--primary-blue);
}

/* Section Padding */
.section-padding {
    padding: 6rem 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    margin-bottom: 0.5rem;
}

/* Services Preview */
.services-preview {
    background-color: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1.5rem;
}

/* Service Detail Section */
.service-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    align-items: center;
}

.alternate .service-flex {
    flex-direction: row-reverse;
}

.service-image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-content h2 {
    color: var(--primary-blue);
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.service-features li {
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: "✓";
    color: var(--primary-orange);
    position: absolute;
    left: 0;
}

.service-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.price-range {
    background-color: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--text-gray);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

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

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 2rem 1rem 1rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 35px;
    width: 80%;
    max-width: 700px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox img {
    width: 100%;
    height: auto;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.contact-info h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.contact-details .contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-blue);
    text-decoration: none;
}

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

.map-container iframe {
    border-radius: 8px;
    border: none;
    margin-top: 1rem;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.form-row input,
.form-row textarea {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    font-family: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

textarea {
    resize: vertical;
    width: 100%;
}

.form-footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 1rem;
}

/* Quick Contact */
.quick-contact {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
}

.phone-link {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
}

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

/* Footer */
.footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 2rem 0;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-links h4 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 15% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.close {
    color: var(--text-gray);
    font-size: 30px;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: absolute;
        right: 0;
        top: 100%;
        background-color: var(--white);
        padding: 2rem;
        border-radius: 4px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    form-row {
        flex-direction: column;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-info {
        flex-direction: column;
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}