/* --- Global Styles & Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #FFFFFF;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --- Container Class --- */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    border-bottom: 1px solid #222;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    z-index: 1002;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin: 0 auto;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #999;
}

.cta-button {
    background-color: #FFFFFF;
    color: #000000;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #ccc;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.exit-menu {
  display: none;
  font-size: 2.5rem;
  color: #fff;
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 1003;
  cursor: pointer;
}


/* --- Section Padding & Titles --- */
.hero, .about-section, .services-section, .portfolio-section, .credentials-section, .contact-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    text-align: left;
    letter-spacing: 1px;
    margin-bottom: 4rem;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 5%;
    padding-right: 5%;
    min-height: 85vh;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 4rem;
}

.hero-content h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #b3b3b3;
    max-width: 500px;
}

.photo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.photo-wrapper {
    overflow: hidden;
    border: 1px solid #333;
    border-radius: 5px;
}

.photo-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.photo-wrapper img:hover {
    transform: scale(1.05);
}

/* --- About Section --- */
.about-section {
    border-top: 1px solid #222;
}

.about-content {
    max-width: 800px;
}

.about-content p {
    font-size: 1.1rem;
    color: #b3b3b3;
    line-height: 1.8;
}

.about-content .cta-button {
    margin-top: 2.5rem;
    display: inline-block;
}

/* --- Services Section --- */
.services-section {
    border-top: 1px solid #222;
}

.services-list {
    max-width: 800px;
}

.service-item {
    margin-bottom: 3.5rem;
    border-left: 4px solid #fff;
    padding-left: 1rem;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.service-item p {
    font-size: 1.1rem;
    color: #b3b3b3;
    line-height: 1.8;
}

/* --- Portfolio, Credentials, Contact Sections --- */
.portfolio-section, .contact-section {
    background-color: #0a0a0a;
    border-top: 1px solid #222;
}
.credentials-section {
    background-color: #000000;
    border-top: 1px solid #222;
}

.category-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 2rem;
    border-left: 4px solid #fff;
    padding-left: 1rem;
}

.portfolio-category, .credential-category {
    margin-bottom: 5rem;
}
.portfolio-category:last-child, .credential-category:last-child {
    margin-bottom: 0;
}

.portfolio-grid, .credentials-grid {
    display: grid;
    gap: 1.5rem;
}
.portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.credentials-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.credential-category ul {
    padding-left: 1rem;
}
.credential-category li {
    color: #b3b3b3;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

/* --- Contact Section --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}
.contact-info p {
    font-size: 1.1rem;
    color: #b3b3b3;
    line-height: 1.8;
    max-width: 500px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 5px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #FFFFFF;
}

.contact-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.contact-form .cta-button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

/* --- NEW PROFESSIONAL FOOTER --- */
.site-footer {
    background-color: #0a0a0a;
    padding: 5rem 5% 2.5rem;
    border-top: 1px solid #222;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-about p {
    color: #b3b3b3;
    max-width: 350px;
}

.footer-column h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-links ul li, .footer-socials ul li {
    margin-bottom: 0.75rem;
}

.footer-links a, .footer-socials a {
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-socials a:hover {
    color: #FFFFFF;
}

.footer-copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2.5rem;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: #888;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    /* --- MOBILE NAVIGATION --- */
    .hamburger {
        display: block;
    }
    
    .hamburger.active {
        display: none;
    }

    .navbar .cta-button {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        max-width: 400px;
        background-color: #0a0a0a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1001;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .exit-menu.active {
      display: block;
    }

    /* --- MOBILE CONTENT ALIGNMENT --- */
    .hero,
    .about-section,
    .services-section,
    .portfolio-section,
    .credentials-section,
    .contact-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 5%;
        padding-right: 5%;
    }

    .section-title,
    .category-title {
        text-align: center;
        border-left: none;
        padding-left: 0;
    }
    
    .hero-content p {
        margin: 0 auto;
    }
    
    .service-item {
        border-left: none;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .credentials-grid,
    .contact-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .photo-strip {
        grid-template-columns: 1fr;
    }

    .footer-about p {
        margin: 0 auto;
    }

    .footer-column {
        text-align: center;
    }

    /* THIS IS THE FIX FOR THE CONTACT BUTTON */
    .contact-form .cta-button {
        width: auto;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }
}