/* ==================================================
   TEXTURED
   Main Stylesheet
   File: css/style.css
================================================== */

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f7f9fc;
    color:#333333;
    line-height:1.6;
}

/* CONTAINER */

.container{
    width:90%;
    max-width:1200px;
    margin:0 auto;
}

/* LINKS */

a{
    text-decoration:none;
}

/* ==================================================
   HEADER
================================================== */

header{
    position:sticky;
    top:0;
    z-index:1000;
    background:#bfe8ff;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    font-size:32px;
    font-weight:700;
    color:#1d4f73;
    transition:0.3s;
}

.logo:hover{
    opacity:0.8;
}

.menu{
    list-style:none;
    display:flex;
    align-items:center;
    gap:30px;
}

.menu a{
    color:#1d4f73;
    font-weight:600;
    transition:0.3s;
}

.menu a:hover{
    color:#0077b6;
}

/* ==================================================
   HERO SECTION
================================================== */

.hero{
    padding:90px 0;
}

.hero-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.hero-label{
    display:inline-block;
    background:#e3f5ff;
    color:#0077b6;
    padding:8px 14px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:20px;
}

.hero-text h1{
    font-size:56px;
    line-height:1.1;
    color:#183b56;
    margin-bottom:20px;
}

.hero-text p{
    font-size:20px;
    color:#5f6f7f;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.hero-image{
    height:450px;
    border-radius:24px;
    background:
    linear-gradient(
        135deg,
        #ff4d6d,
        #ffb347,
        #5ecbff,
        #52b788
    );
    box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

/* ==================================================
   BUTTONS
================================================== */

.btn{
    display:inline-block;
    padding:14px 30px;
    border-radius:10px;
    background:#1da1f2;
    color:white;
    font-weight:700;
    transition:0.3s;
}

.btn:hover{
    background:#0087dc;
}

.btn-secondary{
    background:white;
    color:#0077b6;
    border:2px solid #0077b6;
}

.btn-secondary:hover{
    background:#0077b6;
    color:white;
}

/* ==================================================
   SECTION HEADINGS
================================================== */

.catalog h2,
.about h2,
.advantages h2,
.cta h2{
    text-align:center;
    font-size:42px;
    color:#183b56;
    margin-bottom:50px;
}

/* ==================================================
   CATALOG
================================================== */

.catalog{
    padding:90px 0;
}

.products{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:30px;
}

.card{
    background:white;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

.color{
    height:220px;
}

/* Product Color Previews */

.red{
    background:#d62839;
}

.blue{
    background:#4ea8de;
}

.black{
    background:#222222;
}

.green{
    background:#52b788;
}

.card-body{
    padding:25px;
}

.card-body h3{
    font-size:22px;
    margin-bottom:10px;
    color:#183b56;
}

.card-body p{
    color:#666666;
}

.price{
    display:block;
    margin-top:15px;
    font-size:22px;
    font-weight:bold;
    color:#0087dc;
}

/* ==================================================
   ABOUT
================================================== */

.about{
    padding:90px 0;
    background:white;
}

.about-text{
    max-width:850px;
    margin:0 auto;
    text-align:center;
    font-size:18px;
    line-height:1.9;
    color:#5f6f7f;
}

/* ==================================================
   ADVANTAGES
================================================== */

.advantages{
    padding:90px 0;
}

.adv-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:25px;
}

.adv-card{
    background:white;
    padding:35px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.adv-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 30px rgba(0,0,0,0.1);
}

.adv-card h3{
    margin-bottom:15px;
    color:#183b56;
}

.adv-card p{
    color:#666666;
}

/* ==================================================
   CTA SECTION
================================================== */

.cta{
    padding:100px 0;
    text-align:center;
    background:linear-gradient(
        135deg,
        #dff4ff,
        #f5fbff
    );
}

.cta p{
    max-width:700px;
    margin:0 auto 30px;
    font-size:18px;
    color:#5f6f7f;
}

/* ==================================================
   FOOTER
================================================== */

footer{
    background:#bfe8ff;
    margin-top:80px;
}

.footer-content{
    text-align:center;
    padding:40px 0;
    color:#1d4f73;
}

.footer-logo{
    font-size:30px;
    font-weight:700;
    margin-bottom:20px;
}

.footer-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
    margin-bottom:20px;
}

.footer-links a{
    color:#1d4f73;
    font-weight:600;
    transition:0.3s;
}

.footer-links a:hover{
    color:#0077b6;
}

.footer-content p{
    margin:8px 0;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 992px){

    .hero-content{
        grid-template-columns:1fr;
    }

    .hero-text{
        text-align:center;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-image{
        height:350px;
    }
}

@media (max-width: 768px){

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .menu{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .hero{
        padding:60px 0;
    }

    .hero-text h1{
        font-size:38px;
    }

    .hero-text p{
        font-size:17px;
    }

    .hero-image{
        height:260px;
    }

    .catalog h2,
    .about h2,
    .advantages h2,
    .cta h2{
        font-size:32px;
        margin-bottom:30px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .footer-links{
        flex-direction:column;
        gap:12px;
    }
}

@media (max-width: 480px){

    .hero-text h1{
        font-size:32px;
    }

    .logo{
        font-size:26px;
    }

    .card-body h3{
        font-size:20px;
    }

    .price{
        font-size:20px;
    }
}