
/* General website styling */

body {
    background-color: #111111;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Main heading */

h1 {
    color: #c49a5a;
    font-size: 50px;
    text-align: center;
    margin-top: 150px;
}

/* Paragraph */

p {
    color: #cccccc;
    font-size: 22px;
    text-align: center;
}

/* Navigation Bar */

.navbar {
    background-color: #1b1b1b;
    padding: 25px 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Company Name */

.logo {
    color: #c49a5a;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
}

/* Navigation Links */

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

/* Individual Links */

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    text-transform: uppercase;
}

/* Change Link Color When Hovering */

.nav-links a:hover {
    color: #c49a5a;
}

/* Mobile Layout */

@media (max-width: 700px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

}

/* Hero Section */

.hero {
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 30px;
}

.hero-content {
    max-width: 850px;
    text-align: center;
}

.hero h1 {
    font-size: 60px;
    margin: 0 0 30px;
    line-height: 1.15;
}

.hero p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Hero Buttons */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 16px 30px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-button {
    background-color: #c49a5a;
    color: #111111;
}

.secondary-button {
    border: 2px solid #c49a5a;
    color: #c49a5a;
}

.primary-button:hover {
    background-color: white;
}

.secondary-button:hover {
    background-color: #c49a5a;
    color: #111111;
}

/* Smaller Screens */

@media (max-width: 700px) {
    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 17px;
    }
}

/* Training Programs */

.training-section {
    padding: 90px 8%;
    background-color: #171717;
    text-align: center;
}

.training-section h2 {
    color: #c49a5a;
    font-size: 42px;
    margin-bottom: 20px;
}

.training-intro {
    max-width: 750px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.training-cards {
    display: flex;
    gap: 25px;
}

.training-card {
    flex: 1;
    background-color: #242424;
    padding: 35px;
    border: 1px solid #444444;
    text-align: left;
}

.training-card h3 {
    color: #c49a5a;
    font-size: 24px;
    margin-top: 0;
}

.training-card p {
    font-size: 16px;
    text-align: left;
    line-height: 1.7;
}

.training-card a {
    display: inline-block;
    margin-top: 20px;
    color: #c49a5a;
    font-weight: bold;
    text-decoration: none;
}

.training-card a:hover {
    color: white;
}

/* Mobile Layout */

@media (max-width: 800px) {
    .training-cards {
        flex-direction: column;
    }

    .training-section h2 {
        font-size: 32px;
    }
}

/* About Page */

.about-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 30px;
}

.about-section h1 {
    margin: 0 0 60px;
    text-align: center;
    font-size: 48px;
}

.about-section h2 {
    color: #c49a5a;
    font-size: 28px;
    margin-top: 50px;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 20px;
}

footer {
    background-color: #1b1b1b;
    padding: 25px;
    text-align: center;
}

footer p {
    font-size: 14px;
}

/* Training Page */

.training-page {
    padding: 80px 8%;
    background-color: #111111;
}

.training-page h1 {
    text-align: center;
    margin: 0 0 30px;
    font-size: 48px;
}

.training-page-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    line-height: 1.7;
}

.course-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.course {
    background-color: #1f1f1f;
    padding: 40px;
    border: 1px solid #444444;
}

.course h2 {
    color: #c49a5a;
    font-size: 28px;
    margin-bottom: 20px;
}

.course p {
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 30px;
}

@media (max-width: 800px) {
    .course-list {
        grid-template-columns: 1fr;
    }

    .training-page h1 {
        font-size: 36px;
    }
}

/* Safety Page */

.safety-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 30px;
}

.safety-page h1 {
    text-align: center;
    font-size: 48px;
    margin: 0 0 30px;
}

.safety-intro {
    max-width: 850px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.safety-content {
    background-color: #1b1b1b;
    padding: 45px;
    border: 1px solid #444444;
}

.safety-content h2 {
    color: #c49a5a;
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.safety-content h2:first-child {
    margin-top: 0;
}

.safety-content p {
    font-size: 18px;
    text-align: left;
    line-height: 1.8;
    margin-bottom: 20px;
}

.safety-content ul {
    padding-left: 25px;
    margin-bottom: 30px;
}

.safety-content li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 10px;
}

@media (max-width: 700px) {
    .safety-page h1 {
        font-size: 36px;
    }

    .safety-content {
        padding: 25px;
    }
}

/* Contact Page */

.contact-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 30px;
}

.contact-page h1 {
    margin: 0 0 30px;
    text-align: center;
    font-size: 48px;
}

.contact-intro {
    line-height: 1.7;
    margin-bottom: 50px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form label {
    font-size: 17px;
    font-weight: bold;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    padding: 15px;
    background-color: #242424;
    color: white;
    border: 1px solid #555555;
    font: inherit;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    outline: 2px solid #c49a5a;
}

#contact-form button {
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.contact-note {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 25px;
}

/* Navigation Improvements */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 25px 5%;
}

.logo {
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 25px;
}

/* Tablet Layout */

@media (max-width: 1000px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        justify-content: center;
    }
}

/* Phone Layout */

@media (max-width: 600px) {

    .navbar {
        padding: 20px 15px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 12px;
    }
}

/* General Mobile Improvements */

@media (max-width: 600px) {

    /* Homepage */

    .hero {
        min-height: 500px;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-button,
    .secondary-button {
        text-align: center;
    }

    /* Training Cards */

    .training-section {
        padding: 60px 20px;
    }

    .training-section h2 {
        font-size: 30px;
    }

    .training-card {
        padding: 25px;
    }

    /* About Page */

    .about-section {
        padding: 60px 20px;
    }

    .about-section h1 {
        font-size: 36px;
    }

    /* Training Page */

    .training-page {
        padding: 60px 20px;
    }

    .course {
        padding: 25px;
    }

    /* Safety Page */

    .safety-page {
        padding: 60px 20px;
    }

    /* Contact Page */

    .contact-page {
        padding: 60px 20px;
    }

    .contact-page h1 {
        font-size: 36px;
    }

}

/* Smooth Hover Effects */

a,
button {
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

/* Training Card Hover Effect */

.training-card {
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.training-card:hover {
    transform: translateY(-5px);
    border-color: #c49a5a;
}

/* Course Hover Effect */

.course {
    transition: border-color 0.2s ease;
}

.course:hover {
    border-color: #c49a5a;
}

/* Keyboard Accessibility */

a:focus-visible,
button:focus-visible {
    outline: 3px solid #c49a5a;
    outline-offset: 4px;
}

/* Reduce Motion When Requested */

@media (prefers-reduced-motion: reduce) {
    a,
    button,
    .training-card,
    .course {
        transition: none;
    }
}

/* Why Stray Tactical Section */

.why-section {
    padding: 90px 8%;
    background-color: #111111;
    text-align: center;
}

.why-section h2 {
    color: #c49a5a;
    font-size: 42px;
    margin-bottom: 20px;
}

.why-intro {
    max-width: 750px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    padding: 35px;
    border: 1px solid #444444;
    background-color: #1b1b1b;
}

.why-card h3 {
    color: #c49a5a;
    font-size: 24px;
    margin-bottom: 20px;
}

.why-card p {
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 800px) {

    .why-cards {
        grid-template-columns: 1fr;
    }

    .why-section h2 {
        font-size: 32px;
    }

}

/* Call to Action */

.cta-section {
    background-color: #242424;
    text-align: center;
    padding: 90px 20px;
}

.cta-section h2 {
    color: #c49a5a;
    font-size: 42px;
    margin: 0 0 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .cta-section h2 {
        font-size: 32px;
    }
}
#contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}