/*
Theme Name: Inelva Kitchens
Theme URI: https://inelva.com
Author: INELVA
Description: Kitchen Designers
Version: 1.0
*/

/* =========================
   RESET
========================= */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');


:root {
  --myGreen: #1d1b30;
  --myPurple: #6c5ebc;
  --myLightGreen: #9ab85b;
  --myGray: #4a4e59;
  --myLightGray: #7e8696;
  --myLight: #f9f8f7;
}

.myButton {
    border: solid 1.5px var(--myGreen);
    color: var(--myGreen);
    font-size:13px;
    font-weight:500;
    padding:9px 14px;
    display:inline-flex;
    border-radius: 100px;
}
.pdfButton {
    font-size:15px;
    font-weight:500;
    padding:7px 0;
    display:inline-flex;
    border-bottom:dotted 1px #000;
    align-items:center
}
.pdfButton img{
    height:21px;
    padding: 0 7px 0 0
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter Tight", sans-serif;
    letter-spacing: 0.5px;
}
a {
    text-decoration:none;
    color: var(--myGreen);
    font-weight: 400;
}
ul,li {
     list-style: none;
     padding:4px 0;
     font-size:17px;
}

/* =========================
   GLOBAL
========================= */

body {
     
    background: var(--myLight);
    color: var(--myGreen);
        font-size:18px;

}

h1,h2,h3,h4,h5,h6 {
    font-weight:300;
}


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

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo img {
    width: 150px;
}

nav {
    display: flex;
gap: 21px;
font-size: 18px;
}



.header-icons {
    display: flex;
    gap: 25px;
    font-size: 25px;
}

/* Dropdown Menu */

.burger {
    position: relative;
    cursor: pointer;
}

.dropdown {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    width: 130px;
    padding: 15px;
    background: white;
    box-shadow: 0 10px 30px #0002;
}

.dropdown a {
    display: block;
    padding: 10px;
}

.burger:hover .dropdown {
    display: block;
}

/* =========================
   HOME PAGE
========================= */

.hero {
    min-height: calc(100vh - 90px);
    display: grid;
    grid-template-columns: 1fr 2fr;
}
.hero-left {
    padding: 14% 11%;
    display: flex;
    flex-direction: column;
}
.hero h1 {
    font-size: 49px;
    font-weight:200
}
.hero h2 {
    margin: 4% 0;
    font-size: 35px;
    font-weight:200
}
.hero-links {
    padding: 7% 0 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-links a {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;

    width: fit-content;
    padding: 12px 0;
    color: #111;
    text-decoration: none;
    font-size: 17px;
}

/* blurred circles */
.hero-links a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;

    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #ffffff;
    filter: blur(25px);

    z-index: -1;
}

.hero-links a:nth-child(2)::before {
    background: #d3c0b6;
    width: 110px;
    height: 110px;
}

.hero-links a:nth-child(3)::before {
    background: #9ab85b;
    width: 90px;
    height: 90px;
}


/* offsets - now affect layout */
.hero-links a:nth-child(1) {
    margin-left: 50px;
    font-size: 21px;
}

.hero-links a:nth-child(2) {
    margin-left: 100px;
    margin-top: 25px;
}

.hero-links a:nth-child(3) {
    margin-left: 21px;
    margin-top: 50px;
}

/* Arrow below text */
.hero-links a::after {
    content: "→";
    margin-top: 6px;
    font-size: 18px;
    align-self: center;
    transition: transform 0.3s ease;
}

.hero-links a:hover::after {
    transform: translateX(5px);
}
.hero-left p {
    font-size:19px;
    font-weight:300;
    margin-top: auto;
    max-width: 400px;
    line-height: 1.7;
}
.hero-left p a{
    font-weight:500;
    letter-spacing: 1px;
    border-bottom: solid 3px var(--myLightGreen);
    padding: 0 0 3px 0
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 70%;
    height: auto;
}

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

footer {
    padding: 70px 14%;
    background: var(--myGreen);
    color: white;
}
footer .sitemap{
    display: flex;
    justify-content: space-between;
}
footer .copyright{
    padding: 35px 0;
}

footer ul h5{
    font-size:19px;
    font-weight:300;
    padding:0 0 21px
}
footer ul li{
    padding: 5px 0;
}

footer a{
    color:white;
    font-size:15px;
    font-weight:300

}

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

.page-path {
    padding: 25px 6%;
    color: #777;
    font-size:14px
}

.catalog-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
    padding: 0 6% 60px;
}

/* Filters */
.filters {
    padding: 25px 150px 25px 0;
}

.filter-box {
    border-bottom: solid 1px var(--myLightGray);
    padding: 25px 0;
}

.filter-title span{
   float:right
}

/* clickable title */
.filter-title {
    cursor: pointer;
     font-size:19px;
   font-weight:400
}

.filter-content {
    display: none;
    padding: 7px 0
}
.filter-content span{
    float: right;
    font-weight:300
}

.filter-box.active .filter-content {
    display: block;
}

/* links styling */
.filter-box a {
    display: block;
    margin: 10px 0;
}



/* Products */


.products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
}

.product-card {
    display: flex;
    gap: 20px;
    padding: 20px;
}
.product-card h2{
    font-size: 21px;
    letter-spacing: 1px;
    font-weight: 400;
}

.product-card h2 span{
    font-size: 17px;
    font-weight: 500;
    padding: 0 7px;
    color: var(--myPurple);
}
.product-card h4{
    font-size: 14px;
    letter-spacing: 2px;
    padding: 7px 0;
    font-weight:400;
    color: var(--myGray);
}
.product-card p{
    font-size: 15px;
    line-height: 23px;
    padding: 21px 0 28px;
    font-weight:300;
    color: var(--myGray);
}
.product-card .myButton img{
    height:15px;
    padding: 2px 7px 0
}

/* text side */
.product-text {
    width: 50%;
}
.product-image {
    width: 50%;
}

/* image side */
.product-card img {
    width: 100%;

}


/* =========================
   CABINET PAGE
========================= */

.cabinet-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr 1fr;
    gap: 50px;
    padding: 40px 6%;
    
}
.cabinet-layout h1{
    font-size:37px;
    position: relative;
    left:-2px;
    letter-spacing: 2px
}
.cabinet-layout h3{
    color: var(--myLightGray);
    padding: 14px 0;
    font-size: 17px;
    font-weight: 400
    
}
.cabinet-image img {
    width: 100%;
}

.cabinet-info {
    padding: 0 5%;
}
.cabinet-info .features ul{
 width: 100%;
 display: flex;
 gap:21px;
 flex-wrap:wrap
 
}
.cabinet-info .features li{
    float:left;
    width: 20%;
}
.cabinet-info .finish ul{
 width: 100%;
 display: flex;
 gap:14px;
 flex-wrap:wrap
 
}
.cabinet-info .finish li{
    float:left;
    width: 15%;
}
.cabinet-info h3 {
    margin: 25px 0 10px;
}
.cabinet-info .code {
    display:inline-block;
    color: var(--myPurple);
    font-size:21px;
    letter-spacing: 1.5px;
    padding: 7px 0;
}
.cabinet-info p {
    line-height:27px;
    width: 90%;
}

/* Purchase Box */

aside {
    padding: 11px;
}

.buy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 35px;
}
.buy-row .myButton {
    background-color:#f9f8f7;
    border: solid 2px #FFF;
    font-size: 17px;
    display:flex;
    align-items: center;
    padding: 14px 21px 14px 25px;
     box-shadow: 0 2px 1px rgba(0,0,0,0.2);

}
.buy-row .myButton span{
    color: var(--myLightGreen);
    padding: 0 0 0  7px;
    font-size:23px
}

.info {
   
    margin: 0 0 21px;
}
.info li{
    padding: 13px 0;
    border-bottom: solid 0.1px var(--myLightGray);
}
.info li:last-child{
    border-bottom: none
}
.info li strong{
    float:right;
    font-weight:500;
}

.downloads {
    display: flex;
    gap: 21px;
}
.elements {
 display: flex;
 gap: 21px
}
.elements .element-card{
 width: 50%;
 float:left
}
.elements .element-card img{
 width: 100%;
}

/* =========================
   CUSTOM
========================= */

.cabinet-layout.custom {
        grid-template-columns: 0.9fr  1fr;

} 

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

@media (max-width: 900px) {
    nav {
        display: none;
    }

    .hero,
    .catalog-layout,
    .cabinet-layout {
        grid-template-columns: 1fr;
    }

    .products {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 45px;
    }

    .hero-image {
        height: 400px;
    }

    footer {
        flex-direction: column;
        gap: 20px;
    }
}