/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #d4af37;
    /* Gold/Bronze */
    --secondary-color: #1a1a1a;
    /* Dark charcoal */
    --background-dark: #121212;
    /* Almost black */
    --background-light: #f5f5f5;
    /* Off-white */
    --text-light: #ffffff;
    --text-dark: #333333;
    --accent-gray: #2d2d2d;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: var(--background-dark);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    color: #cccccc;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
}

/* Services */
.services {
    padding: 5rem 5%;
    background-color: var(--background-light);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title span {
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin: 1.5rem 0 1rem;
    padding: 0 1.5rem;
    font-size: 1.4rem;
    color: var(--secondary-color);
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;
}

/* About Section */
.about {
    padding: 5rem 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
    background-color: #fff;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    color: var(--primary-color);
    font-weight: bold;
}

/* CTA Stats */
.stats {
    background-color: var(--secondary-color);
    padding: 4rem 5%;
    color: var(--text-light);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Contact Form */
.contact {
    padding: 5rem 5%;
    background-color: var(--background-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.contact-info p {
    color: #ccc;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.info-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-form {
    flex: 1.2;
    background: var(--accent-gray);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ddd;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-light);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

select.form-control option {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: #000;
    color: #888;
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-logo {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.social-links {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Infoproduct Section */
#infoproduct {
    background: linear-gradient(135deg, var(--background-dark), #1f1f1f);
    color: var(--text-light);
    padding: 5rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#infoproduct::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1595428774223-ef52624120d2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.infoproduct-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.infoproduct-container h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.infoproduct-container p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #eee;
    line-height: 1.8;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 1rem;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}


/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Add mobile menu logic later with JS if needed */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }
}

/* Content Unlock Modal - Added for overlay */
#unlock-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    /* JS toggles this */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

#unlock-modal.active {
    opacity: 1;
    display: flex;
}

.unlock-content {
    background: var(--background-dark);
    padding: 3rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 10000;
}

.unlock-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.unlock-content p {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.unlock-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.unlock-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.unlock-btn:hover {
    background-color: #fff;
    color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}


/* Card Images and Carousel Modal CSS */
.card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 0;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image {
    transform: scale(1.1);
}

.carousel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-modal.active {
    opacity: 1;
    display: flex;
}

.carousel-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 100000;
}

.carousel-close:hover {
    color: var(--primary-color);
}

.carousel-content {
    display: flex;
    flex-wrap: wrap;
    background: var(--background-dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.carousel-text-area {
    flex: 1;
    min-width: 300px;
    padding: 3rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.carousel-text-area h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.carousel-text-area p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

.carousel-gallery {
    flex: 1.5;
    min-width: 300px;
    background: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 50px;
}

.carousel-main {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

#carousel-img.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: #000;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    bottom: 0;
    width: 100%;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: #888;
}

.carousel-dot.active-dot {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-content {
        flex-direction: column-reverse;
    }

    .carousel-main {
        height: 250px;
    }

    .carousel-text-area {
        padding: 2rem;
    }
}

/* Training Gallery */
.training-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 1.5rem;
    width: 100%;
}

.training-img-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.training-img-wrapper:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.training-img-wrapper:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.training-img-wrapper:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.training-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.training-img-wrapper:hover .training-img {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .training-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 220px);
    }

    .training-img-wrapper:first-child {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
    }

    .training-img-wrapper:nth-child(2) {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
    }

    .training-img-wrapper:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 3 / 4;
    }
}