/* =========================================================
   GOMAN SECURITY
   HOMEPAGE STYLES
   File: css/index.css
========================================================= */


/* =========================================================
   GENERAL HOMEPAGE
========================================================= */

main {
    overflow: hidden;
}

.text-center {
    text-align: center;
}


/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(8, 8, 8, 0.98),
            rgba(35, 28, 12, 0.94)
       ),
        url("../assets/images/hero-bg.jpg");

    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(193, 145, 0, 0.20),
            transparent 35%
        );

    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;

    width: 450px;
    height: 450px;

    right: -180px;
    bottom: -200px;

    border-radius: 50%;

    border: 1px solid rgba(193, 145, 0, 0.15);

    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    align-items: center;

    gap: 60px;

    min-height: 720px;
}


/* HERO CONTENT */

.hero-content {
    max-width: 720px;
}

.hero-tag {
    display: inline-block;

    margin-bottom: 20px;

    font-family: "IBM Plex Mono", monospace;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 2px;

    color: #c19100;
}

.hero-content h1 {
    margin: 0 0 25px;

    font-family: "Oswald", sans-serif;

    font-size: clamp(48px, 6vw, 82px);

    line-height: 1.05;

    font-weight: 600;

    color: #ffffff;
}

.hero-content p {
    max-width: 650px;

    margin: 0 0 35px;

    font-size: 18px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.78);
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;
}


/* HERO IMAGE */

.hero-image {
    position: relative;

    display: flex;

    justify-content: center;
    align-items: center;

    min-height: 550px;
}

.hero-image::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(193, 145, 0, 0.16),
            transparent 68%
        );

    z-index: 0;
}

.hero-image img {
    position: relative;

    z-index: 1;

    display: block;

    width: 100%;

    max-width: 590px;

    max-height: 620px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 40px rgba(0, 0, 0, 0.55)
        );

    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* =========================================================
   ABOUT PREVIEW
========================================================= */

.about-preview {
    padding: 110px 0;

    background: #ffffff;
}

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    align-items: center;

    gap: 75px;
}


/* ABOUT IMAGE */

.about-image {
    position: relative;
}

.about-image::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: -20px;
    bottom: -20px;

    border-right: 4px solid #c19100;
    border-bottom: 4px solid #c19100;

    z-index: 0;
}

.about-image img {
    position: relative;

    z-index: 1;

    display: block;

    width: 100%;

    min-height: 500px;

    object-fit: cover;

    border-radius: 4px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.12);
}


/* ABOUT CONTENT */

.about-content {
    max-width: 680px;
}

.about-content h2 {
    margin: 15px 0 25px;

    font-family: "Oswald", sans-serif;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.1;

    color: #171717;
}

.about-content p {
    margin-bottom: 20px;

    font-size: 16px;

    line-height: 1.8;

    color: #5e5e5e;
}


/* ABOUT LIST */

.about-list {
    display: grid;

    gap: 13px;

    margin: 28px 0 35px;

    padding: 0;

    list-style: none;
}

.about-list li {
    display: flex;

    align-items: center;

    gap: 12px;

    font-weight: 500;

    color: #292929;
}

.about-list i {
    color: #c19100;

    font-size: 17px;
}


/* =========================================================
   HOME SERVICES
========================================================= */

.home-services {
    padding: 110px 0;

    background:
        #f6f6f4;
}

.home-services .section-title {
    max-width: 800px;

    margin: 0 auto 55px;
}

.home-services .section-title h2 {
    margin: 15px 0;

    font-family: "Oswald", sans-serif;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.1;

    color: #171717;
}

.home-services .section-title p {
    margin: 0;

    font-size: 16px;

    line-height: 1.8;

    color: #666;
}


/* SERVICES GRID */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* SERVICE CARD */

.service-card {
    position: relative;

    overflow: hidden;

    min-height: 450px;

    background: #111;

    border-radius: 4px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.18);
}

.service-card > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.service-card:hover > img {
    transform: scale(1.07);
}

.service-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.96) 5%,
            rgba(0, 0, 0, 0.68) 45%,
            rgba(0, 0, 0, 0.05) 100%
        );

    z-index: 1;
}

.service-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 2;

    padding: 30px;
}

.service-content > i {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 18px;

    border-radius: 50%;

    background: #c19100;

    color: #111;

    font-size: 21px;
}

.service-content h3 {
    margin: 0 0 12px;

    font-family: "Oswald", sans-serif;

    font-size: 28px;

    color: #ffffff;
}

.service-content p {
    margin: 0 0 20px;

    font-size: 14px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.76);
}

.service-content a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #c19100;

    font-weight: 600;

    text-decoration: none;

    transition: gap 0.3s ease;
}

.service-content a:hover {
    gap: 13px;
}


/* =========================================================
   COMPANY STRENGTH
========================================================= */

.company-strength {
    padding: 100px 0;

    background: #111111;
}

.company-strength .section-title {
    max-width: 750px;

    margin: 0 auto 55px;
}

.company-strength .section-title h2 {
    margin: 15px 0;

    font-family: "Oswald", sans-serif;

    font-size: clamp(38px, 4vw, 56px);

    color: #ffffff;
}

.company-strength .section-title p {
    color: rgba(255, 255, 255, 0.68);

    line-height: 1.8;
}


/* STRENGTH GRID */

.strength-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.strength-card {
    padding: 40px 25px;

    text-align: center;

    border:
        1px solid rgba(193, 145, 0, 0.20);

    background:
        rgba(255, 255, 255, 0.035);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-7px);

    background:
        rgba(193, 145, 0, 0.08);
}

.strength-card i {
    margin-bottom: 20px;

    font-size: 34px;

    color: #c19100;
}

.strength-card h3 {
    margin: 0 0 8px;

    font-family: "Oswald", sans-serif;

    font-size: 31px;

    color: #ffffff;
}

.strength-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   IDENTITY
========================================================= */

.identity {
    padding: 110px 0;

    background: #ffffff;
}

.identity .section-title {
    max-width: 800px;

    margin: 0 auto 55px;
}

.identity .section-title h2 {
    margin: 15px 0;

    font-family: "Oswald", sans-serif;

    font-size: clamp(38px, 4vw, 58px);

    color: #171717;
}

.identity .section-title p {
    color: #666;

    line-height: 1.8;
}


/* MISSION / VISION */

.identity-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px;

    margin-bottom: 30px;
}

.identity-card {
    padding: 40px;

    background: #f7f7f5;

    border-left: 4px solid #c19100;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.identity-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.08);
}

.identity-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 20px;

    background: #111;

    color: #c19100;

    font-size: 23px;
}

.identity-card h3 {
    margin: 0 0 15px;

    font-family: "Oswald", sans-serif;

    font-size: 28px;

    color: #171717;
}

.identity-card p {
    margin: 0;

    line-height: 1.8;

    color: #666;
}


/* VALUES */

.values-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.value-card {
    padding: 35px 28px;

    text-align: center;

    background: #ffffff;

    border:
        1px solid #e5e5e5;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-6px);

    border-color: #c19100;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}

.value-card i {
    margin-bottom: 18px;

    font-size: 30px;

    color: #c19100;
}

.value-card h3 {
    margin: 0 0 12px;

    font-family: "Oswald", sans-serif;

    font-size: 25px;

    color: #171717;
}

.value-card p {
    margin: 0;

    line-height: 1.7;

    font-size: 14px;

    color: #666;
}


/* =========================================================
   LEADERSHIP PREVIEW
========================================================= */

.leadership-preview {
    padding: 110px 0;

    background:
        #f5f5f3;
}

.leadership-wrapper {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    align-items: center;

    gap: 70px;
}

.leadership-image {
    position: relative;
}

.leadership-image::before {
    content: "";

    position: absolute;

    top: -18px;
    left: -18px;

    width: 100%;
    height: 100%;

    border:
        2px solid #c19100;

    z-index: 0;
}

.leadership-image img {
    position: relative;

    z-index: 1;

    display: block;

    width: 100%;

    max-height: 600px;

    object-fit: cover;
}

.leadership-content h2 {
    margin: 15px 0 5px;

    font-family: "Oswald", sans-serif;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.1;

    color: #171717;
}

.leadership-content h3 {
    margin: 0 0 22px;

    font-size: 22px;

    font-weight: 500;

    color: #c19100;
}

.leadership-content p {
    margin-bottom: 20px;

    line-height: 1.8;

    color: #5f5f5f;
}


/* =========================================================
   TRAINING PREVIEW
========================================================= */

.training-preview {
    padding: 110px 0;

    background: #ffffff;
}

.training-preview .section-title {
    max-width: 800px;

    margin: 0 auto 55px;
}

.training-preview .section-title h2 {
    margin: 15px 0;

    font-family: "Oswald", sans-serif;

    font-size: clamp(38px, 4vw, 56px);

    line-height: 1.1;

    color: #171717;
}

.training-preview .section-title p {
    line-height: 1.8;

    color: #666;
}


/* TRAINING GRID */

.training-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.training-card {
    padding: 35px 30px;

    background: #f7f7f5;

    border-top:
        3px solid transparent;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.training-card:hover {
    transform: translateY(-7px);

    border-color: #c19100;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}

.training-card > i {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 20px;

    background: #111;

    color: #c19100;

    font-size: 21px;
}

.training-card h3 {
    margin: 0 0 12px;

    font-family: "Oswald", sans-serif;

    font-size: 25px;

    color: #171717;
}

.training-card p {
    margin: 0;

    line-height: 1.7;

    font-size: 15px;

    color: #666;
}

.training-button {
    margin-top: 45px;

    text-align: center;
}


/* =========================================================
   CALL TO ACTION
========================================================= */

.cta {
    padding: 90px 0;

    background: #111111;
}

.cta-box {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 55px;

    background:
        linear-gradient(
            135deg,
            #171717,
            #28220f
        );

    border:
        1px solid rgba(193, 145, 0, 0.30);
}

.cta-content {
    max-width: 800px;
}

.cta-content h2 {
    margin: 15px 0 18px;

    font-family: "Oswald", sans-serif;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.1;

    color: #ffffff;
}

.cta-content p {
    margin: 0;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.72);
}

.cta-buttons {
    display: flex;

    align-items: center;

    flex-shrink: 0;

    gap: 15px;

    flex-wrap: wrap;
}


/* =========================================================
   RESPONSIVE DESIGN
========================================================= */


/* TABLET */

@media (max-width: 1000px) {

    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 20px;

        min-height: auto;

        padding: 90px 0;
    }

    .hero-content {
        max-width: 850px;

        text-align: center;

        margin: 0 auto;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        min-height: 400px;
    }

    .hero-image img {
        max-width: 480px;
        max-height: 500px;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .about-content {
        max-width: 850px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .strength-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .values-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .leadership-wrapper {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .leadership-image {
        max-width: 600px;

        margin: 0 auto;
    }

    .training-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .cta-box {
        flex-direction: column;

        align-items: flex-start;
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .hero-grid {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: clamp(42px, 12vw, 62px);
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-image {
        min-height: 330px;
    }

    .hero-image::before {
        width: 320px;
        height: 320px;
    }

    .hero-image img {
        max-width: 390px;
    }

    .about-preview,
    .home-services,
    .company-strength,
    .identity,
    .leadership-preview,
    .training-preview {
        padding: 75px 0;
    }

    .about-image img {
        min-height: 350px;
    }

    .about-image::after {
        width: 60px;
        height: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 420px;
    }

    .strength-grid {
        grid-template-columns: 1fr;
    }

    .identity-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .identity-card {
        padding: 30px;
    }

    .leadership-image::before {
        top: -10px;
        left: -10px;
    }

    .training-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 70px 0;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .cta-buttons {
        width: 100%;

        flex-direction: column;

        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;

        text-align: center;
    }
}


/* SMALL MOBILE */

@media (max-width: 450px) {

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;

        text-align: center;
    }

    .service-content {
        padding: 25px;
    }

    .service-content h3 {
        font-size: 25px;
    }

    .strength-card {
        padding: 30px 20px;
    }
}