* {
    padding: 0;
    margin: 0;
}

/* row: pababa */
/* col: pagilid */

:root {
    --primary-red: #db0c0c;
    --rich-black: #1a1a1a;
    --text-white: aliceblue;
    --rich-black: #0a0a0a;
    --honda-red: #cc0000;
    --gold: #d4af37;
    --soft-white: #f4f4f4;
}

body {
    color: var(--text-white);
}

header {
    height: 5rem;
    top: 0;
  left: 0;
  width: 100%;
    position: fixed;
    background-color: var(--rich-black);
    z-index: 3;
}

header img{
    height: 150px;
    position: absolute;
    bottom: -35px;
  left: 0;
}

header h1 {
     position: absolute;
    left: 150px;
    top: 20px;
}

.hero_section {
    display: grid;
    /* grid-template-columns: 100px 100px 100px 100px 100px 100px 100px ;
    grid-template-rows: 100px 100px 100px 100px 100px 100px 100px ; */
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 100px);
    background-color: var(--rich-black);
}

        .moving-glow {
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            
            background: linear-gradient(
                to right,
                transparent 0%,
                rgba(255, 0, 0, 0) 30%,
                rgba(255, 0, 0, 0.8) 50%,
                rgba(255, 0, 0, 0) 70%,
                transparent 100%
            );
            -webkit-mask-image:
                linear-gradient(to bottom, white 1px, transparent 1px);
            -webkit-mask-size: 60px 60px;
            
            filter: blur(2px) drop-shadow(0 0 15px #ff0000);
            animation: moveLight 4s infinite linear;
        }

        @keyframes moveLight {
            0% {
                transform: translateX(0%);
            }
            100% {
                transform: translateX(200%); 
            }
        }

        .moving-glow:nth-child(1) {
      animation-delay: 0s;
    }
    .moving-glow:nth-child(2) {
      animation-delay: 5s;
    }
    .moving-glow:nth-child(3) {
      animation-delay: 10s;
    }

.draft {
    background-color: var(--rich-black);
    z-index: 1;
    grid-area: 3/2/5/6;
    box-shadow: 1px 1px 20px 0px var(--primary-red);
}

.title {
    grid-area: 3/2/4/12;
    display: flex;
    font-size: 3rem;
}



span {
    color: var(--primary-red);
}


.descript {
    /* background-color: red; */
    /* grid-area: 1/8/3/9; */
    grid-area: 4/2/5/6;
    font-size: 1.2rem;
    line-height: 1.6;
}

.cta_container {
    /* background-color: blue; */
    grid-area: 5/1/5/4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta_container button {
    padding: 10px;
    height: 50px;
    color: aliceblue;
    border: none;
    cursor: pointer;
    background: linear-gradient(
    rgba(231, 30, 30, 0.6), 
    rgb(0, 0, 0), 
    rgb(177, 29, 29)  
);
    
}



.civic {

    grid-area: 1/8/8/11;
    /* background-color: #e63946; */
    /* position: absolute; */
    display: flex;
    justify-content: center;

}

.civic img {
    height: 900px;
    /* width: 600px; */
}

.skyline {
    grid-area: 6/1/10/13;
    /* background-color: #db0c0c; */
    position: relative;
}

.skyline img{
    position: absolute;
    bottom: 1px;
    left: 75px;
    height: 600px;
}

.title,.descript,.cta_container,.civic, .skyline {
    z-index: 2;
}

/* features */
.features {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(10, 100px);
    background-color: var(--primary-red);
}

.features h1 {
    display: flex;
    justify-content: center;
    grid-area: 1/1/12/13;
    /* background-color: #db0c0c; */
}

.showroom {
    /* background-color: aqua; */
    grid-area: 2/1/2/13;
    display: grid;
    grid-template-columns: repeat(3,  1fr);
  gap: 50px;
  padding: 20px;
}

.features img {
    height: 300px;
    width: 500px;
}

.product {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--rich-black);
    color: var(--text-white);
    padding: 1rem;
    border-radius: 10px 10px 25px 25px;
    gap: 3px;
}

.product button {
    padding:5px;
    background-color: gold;
    border: none;
    cursor: pointer;
}




footer {
    background-color: var(--rich-black);
    color: var(--soft-white);
    padding: 3rem 1rem 1rem 1rem;
    font-family: 'Poppins', sans-serif;
    border-top: 3px solid var(--gold);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.footer-logo span {
    color: var(--honda-red);
}

/* Grid for the 3 sections */
.footer-grid {
    display: grid;
    /* 3 equal columns on desktop, 1 column on mobile */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-section h3 {
    color: var(--gold);
    border-bottom: 2px solid var(--honda-red);
    padding-bottom: 10px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.footer-section p, .footer-section li {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    list-style: none;
    color: #bbb;
}

.footer-section i {
    margin-right: 10px;
    color: var(--honda-red);
}

.gold { color: var(--gold) !important; }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #222;
    font-size: 0.8rem;
    color: #666;
}

/* --- Global Fixes --- */


/* --- Hero Section: Responsive Grid --- */


@media (max-width: 1024px) {
    .hero_section {
        grid-template-rows: repeat(10, 70px);
    }
    .descript {
        padding-top: 2.5rem;
    grid-area: 3/2/5/6;
    font-size: 1rem;
    line-height: 1.2;
}
    .civic img {
        height: 600px; 
    }
    .skyline img {
        left: 20px;
        height: 400px;
    }
     h1 {
        font-size: 2rem;
    }
    p {
        font-size: 1rem;
    }
    .features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(10, 50px);
    background-color: var(--primary-red);
    padding-bottom: 25rem;
}
.features h1 {
    /* display: block; */
    grid-area: 1/2/2/4;
}
.showroom {
    /* background-color: aqua; */
    grid-area: 2/1/2/5;
    display: grid;
    grid-template-columns: repeat(2,  1fr);
  gap: 10px;
  padding: 10px;
}
.features img {
    height: 150px;
    width: 250px;
}
.product {
    padding-left: 0;
    width: 300px;
}

footer {
    padding: 3rem 1rem 1rem 1rem;
    font-family: 'Poppins', sans-serif;
    border-top: 3px solid var(--gold);
}

.moving-glow {
    height: 60%;
}
.footer-container {
    max-width: 900px;
}
.footer-grid {
    grid-template-columns: repeat(1, minmax(50px, 1fr));
    gap: 2rem;

}
.footer-logo {
    font-size: 2rem;
    margin-left: -250px;
}
.footer-bottom {
    margin-left: -250px;
}
}

@media (max-width: 768px) {
    .moving-glow {
        display: none;
    }
    header h1 {
        left: 150px;
        font-size: 1.5rem;
    }
    
    .hero_section {
        display: flex; 
        flex-direction: column;
        padding-top: 6rem;
        height: auto;
        background-color: var(--rich-black);
        
    }
    

    .title {
        text-align: center;
        justify-content: center;
        font-size: 2.2rem;
    }


    .descript {
        padding: 20px;
        text-align: center;
        grid-area: auto;
    }

    .civic img {
        height: auto;
        width: 100%;
    }

    .skyline img {
        display: none; 
    }

    .footer-logo {
    font-size: 2rem;
    margin-left: -100px;
}
.footer-bottom {
    margin-left: -100px;
}


}
