/* Color Scheme */
:root {
    --primary-brown: #8B7355;
    --dark-brown: #6B5344;
    --light-brown: #D4A574;
    --cream: #F5F0E8;
    --dark-text: #333;
    --light-text: #666;
    --accent-red: #C41E3A;
    --accent-green: #4A7C59;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--dark-text);
    background-color: var(--cream);
    line-height: 1.6;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--primary-brown);
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

p {
    color: var(--light-text);
    line-height: 1.8;
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-weight: bold;
    color: var(--primary-brown);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

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

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

.nav-links a:hover {
    color: var(--primary-brown);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F5F0E8 0%, #EBE4D8 100%);
    padding: 80px 20px;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-logo {
    width: 150px;
    height: 150px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero h1 {
    font-size: 3rem;
    margin: 0;
    letter-spacing: 3px;
}

.tagline {
    font-size: 1.5rem;
    color: var(--primary-brown);
    font-style: italic;
    margin: 0;
}

/* About Section */
.about {
    padding: 60px 20px;
    background-color: white;
}

.about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* Performance Section */
.performance {
    padding: 60px 20px;
    background-color: var(--cream);
}

.performance-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.company-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.company-card.featured {
    border: 3px solid var(--primary-brown);
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
}

.company-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

.company-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.established, .location, .description {
    font-size: 0.9rem;
    color: var(--light-text);
    margin: 0.3rem 0;
}

.metrics {
    margin-top: 1.5rem;
    text-align: left;
}

.metric {
    margin-bottom: 1rem;
}

.metric .label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-bar {
    background-color: #e0e0e0;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar .progress {
    background: linear-gradient(90deg, var(--primary-brown) 0%, var(--light-brown) 100%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    transition: width 0.3s ease;
}

.progress-bar.green .progress {
    background: linear-gradient(90deg, var(--accent-green) 0%, #7BC67B 100%);
}

.progress-bar.red .progress {
    background: linear-gradient(90deg, var(--accent-red) 0%, #E64A4A 100%);
}

.metric p {
    margin: 0;
    font-size: 0.85rem;
}

.stats {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #eee;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-brown);
    margin: 0;
}

.stat-desc {
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
}

/* Chart Section */
.chart-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #ddd;
}

.chart-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.chart {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
}

.chart-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 1rem;
}

/* Corporate Attire Section */
.corporate-attire {
    padding: 60px 20px;
    background-color: white;
}

.memo-card {
    background: white;
    border: 3px solid var(--primary-brown);
    border-radius: 8px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.memo-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.memo-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.memo-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.memo-card p {
    margin: 0.5rem 0;
}

.attire-showcase {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    gap: 1rem;
}

.attire-image {
    flex: 1;
    aspect-ratio: 1;
    background-color: #f0f0f0;
    border: 3px solid var(--primary-brown);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.attire-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.placeholder-image {
    font-size: 3rem;
}

.memo-card h5 {
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-top: 2rem;
}

/* Services Section */
.services {
    padding: 60px 20px;
    background-color: var(--cream);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    color: var(--primary-brown);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
}

/* Gym Section */
.gym {
    padding: 60px 20px;
    background-color: white;
}

.gym-card {
    background: white;
    border: 3px solid var(--primary-brown);
    border-radius: 8px;
    padding: 3rem;
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gym-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.gym-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gym-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.gym-hours {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-brown);
    margin: 1rem 0;
}

.gym-image-placeholder {
    font-size: 5rem;
    margin: 2rem 0;
}

.gym-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    margin: 2rem 0;
    border-radius: 4px;
}

.gym-card h5 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-brown);
}

/* Handbook Section */
.handbook {
    padding: 60px 20px;
    background-color: var(--cream);
}

.handbook-preview {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
}

.handbook-cover {
    background: white;
    border: 3px solid var(--primary-brown);
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: perspective(800px) rotateY(-5deg);
}

.handbook-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.handbook-cover h3 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.handbook-cover p {
    margin: 0.3rem 0;
    color: var(--light-text);
}

.motto {
    font-style: italic;
    margin: 1.5rem 0;
    color: var(--primary-brown);
}

.handbook-contents {
    text-align: left;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #ddd;
}

.handbook-contents h4 {
    text-align: center;
    margin-bottom: 1rem;
}

.handbook-contents ol {
    margin-left: 1.5rem;
}

.handbook-contents li {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.handbook-chapters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.chapter-card {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chapter-card h4 {
    color: var(--primary-brown);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.chapter-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Why Choose Scrotum Section */
.why-choose {
    padding: 60px 20px;
    background-color: white;
}

.benefits-list {
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--cream);
    border-radius: 8px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 2rem;
    min-width: 50px;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.benefit-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Join Team Section */
.join-team {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--dark-brown) 100%);
    color: white;
    text-align: center;
}

.join-team h2 {
    color: white;
    border-color: white;
}

.join-team p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
}

.cta-button {
    background-color: var(--accent-green);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #3d6a4a;
    transform: scale(1.05);
}

.cta-button:active {
    transform: scale(0.98);
}

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

.footer-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.footer p {
    margin: 0.5rem 0;
    color: white;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
    }

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

    .company-card.featured {
        grid-column: 1;
    }

    .handbook-cover {
        transform: none;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
    }

    .benefit-icon {
        min-width: auto;
    }

    .attire-showcase {
        flex-direction: column;
    }

    .chart {
        max-width: 100%;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h2 {
        font-size: 1.5rem;
        padding-bottom: 0.5rem;
        margin-bottom: 2rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 0.5rem;
        justify-content: center;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

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

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* 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.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: slideIn 0.3s ease;
}

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

.modal-header {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--dark-brown) 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    border: none;
    color: white;
}

.close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #f0f0f0;
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-brown);
    font-weight: bold;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.modal-button {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-green) 0%, #3d6a4a 100%);
    color: white;
    border: none;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

.modal-button:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 95%;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .close {
        font-size: 1.5rem;
    }
}
