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

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

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
    background: #1a1a2e;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e94560;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e94560;
}

main {
    min-height: calc(100vh - 120px);
}

/* ============================================================
   HERO SECTION (Home)
   ============================================================ */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    color: white;
    text-align: center;
    padding: 6rem 2rem 5rem;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #e94560;
}

.hero-tagline {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.hero-sub {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: #e94560;
    margin-bottom: 0.75rem;
}

.page-hero p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

.btn-primary {
    background: #e94560;
    color: white;
    border-color: #e94560;
}

.btn-primary:hover {
    background: #c73652;
    border-color: #c73652;
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: #1a1a2e;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: #e94560;
    color: white;
    padding: 1.5rem 2rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    gap: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================================
   PAGE SECTIONS (shared)
   ============================================================ */
.page-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #eee;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: #666;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-preview-section {
    background: #f4f6fb;
    padding: 1px 0;
}

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

.service-card {
    background: white;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    border: 1px solid #e5e5e5;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.15rem;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    color: #555;
    flex: 1;
    margin-bottom: 1rem;
}

.service-price {
    display: inline-block;
    background: #e94560;
    color: white;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    align-self: flex-start;
}

/* ============================================================
   MEMBERSHIP PLANS
   ============================================================ */
.membership-section {
    background: #f4f6fb;
    padding: 1px 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    align-items: start;
}

.plan-card {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: box-shadow 0.2s;
}

.plan-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.plan-popular {
    border-color: #e94560;
}

.plan-badge {
    background: #e94560;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.plan-header h3 {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e94560;
    margin-bottom: 1.5rem;
}

.plan-price span {
    font-size: 1rem;
    color: #999;
    font-weight: normal;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.plan-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

/* ============================================================
   SCHEDULE TABLE
   ============================================================ */
.schedule-table-wrapper {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.schedule-table th {
    background: #1a1a2e;
    color: white;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.9rem;
}

.schedule-table td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
    color: #555;
}

.schedule-table tr:nth-child(even) td {
    background: #f9f9f9;
}

.schedule-table td:first-child {
    font-weight: bold;
    color: #1a1a2e;
    white-space: nowrap;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .two-col-layout {
        grid-template-columns: 1fr;
    }
}

.col-text h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.col-text p {
    color: #555;
    margin-bottom: 1rem;
}

.highlight-box {
    background: #f4f6fb;
    border-left: 4px solid #e94560;
    padding: 1.25rem 1.5rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 1rem;
}

.highlight-box h3 {
    font-size: 1.05rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.highlight-box p {
    font-size: 0.9rem;
    color: #555;
}

.values-list {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: #555;
}

.values-list li::before {
    content: "✓ ";
    color: #e94560;
    font-weight: bold;
}

/* Team Section */
.team-section {
    background: #f4f6fb;
    padding: 1px 0;
}

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

.team-card {
    background: white;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #e5e5e5;
    transition: box-shadow 0.2s;
}

.team-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e94560;
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.team-card h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    color: #e94560;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.team-card p {
    font-size: 0.85rem;
    color: #666;
}

/* Facilities */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.facility-item {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #444;
}

.facility-icon {
    font-size: 1.5rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #555;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-detail-item strong {
    display: block;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.contact-detail-item p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.65rem 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e94560;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #dc3545;
}

.field-error {
    font-size: 0.8rem;
    color: #dc3545;
    min-height: 1rem;
}

.form-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, #e94560, #c73652);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.05rem;
}

.cta-section .btn-primary {
    background: white;
    color: #e94560;
    border-color: white;
}

.cta-section .btn-primary:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #1a1a2e;
    color: #aaa;
    text-align: center;
    padding: 1.25rem;
    font-size: 0.9rem;
}
