
.montserrat-h1 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
* {
    padding: 0;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
b {
    font-weight: bolder;
}
header {
    z-index: 2;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    justify-content: space-between;
    background: white;
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.20);
}
header a {
    text-decoration-line: none;
    color: inherit;
}
nav {
    display: flex;
    height: 96px;
    justify-content: flex-end;
    align-items: flex-end;
    align-self: stretch;
    border-bottom: 1px solid rgba(0, 0, 0, 0.32);
}
nav h3 {
    display: flex;
    min-width: 160px;
    padding: 11px 13px;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
nav .active {
    border-bottom: 2px solid #F00;
}
nav h3.active {
    color: #f00;
}
nav .inactive {
    border-bottom: 1px solid rgba(0, 0, 0, 0.50);
}
nav .inactive:hover {
    transition: all 0.3s ease-in-out;
    color: #f00;
    border-bottom: 2px solid #F00;
}
.logo {
    display: flex;
    position: absolute;
    top:29px;
    left: 145px;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.logo a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.radioTab {
    display: inline-flex;
    position: absolute;
    left:50%;
    transform: translateX(-50%);
    justify-content: center;
    align-items: center;
    margin: auto;
}
.search {
    display: flex;
    position: absolute;
    right: 145px;
    transform: translateY(-12px);
    gap: 18px;
}
#auth {
    color: #f00;
}
#auth:hover {
    color: rgb(214, 0, 0);
}
.limba {
    display: inline-grid;
    align-items: center;
    grid-template-columns: auto auto auto;
    gap:8px;
}
.catalog {
    display: flex;
    height: 50px;
    justify-content: center;
    align-items: center;
    padding: 7px 0;
    gap: 17px;
    align-self: stretch;
}
.catalog div {
    cursor: pointer;
    display: flex;
    width: 160px;
    height: 30px;
    justify-content: center;
    align-items: center;
    gap: 14px;
}
.catalog div img {
    width: 24px;
    height: 24px;
    aspect-ratio: 1/1;
}
.catalog h3 {
    font-size: 1em;
    font-weight: 600;
}
body {
    background: #DBE1E5;
}

:root {
    --brand-red: #ff0000;
    --muted: rgba(0,0,0,0.5);
    --card-shadow: 0 6px 18px rgba(0,0,0,0.08);
    --container-width: 958px;
    --page-bg: #DBE1E5;
}

html { font-size: 16px; }

h2 { font-size: 1.5rem; }

.containerHeader {
    display: flex;
    width: 958px;
    margin: auto;
    padding: 28px 0 14px 0;
    justify-content: space-between;
    align-items: center;
}
.containerHeader div {
    display: flex;
    flex-direction: row;
    gap: 14px;
}
.containerHeader div:first-child h2 {
    font-weight: 700;
}
.containerHeader a {
    text-decoration-line: none;
    color: inherit;    
}
.containerHeader button {
    cursor: pointer;
    display: inline-flex;
    height: 30px;
    padding: 8px 10px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 5px;
    border: none;
    background: #F00;
    color: #fff;
}
.containerHeader button:hover {
    background: rgb(196, 0, 0);
}
div.oferte {
    width: 100%;
    display: inline-flex;
    gap: 21px;
    justify-content: center;
}
.cardOferte,
.cardComplexe,
.cardNoutati {
    overflow: hidden;
}
.cardOferte {
    display: flex;
    position:relative;
    width: 224px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 5px;
    box-shadow: var(--card-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease; 
}
.cardOferte:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.cardOferte div:nth-child(even) {
    display: inline-flex;
    gap:6px;
}
.cardOferte img {
    border-radius: 5px 5px 0 0 ;
}
.cardOferteNou {
    display: flex;
    padding: 6px 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 5px;
    background: #FFF;
}
.cardOferteNou p {
    color: #000;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.cardOferteDescriere {
    display: flex;
    height: 180px;
    max-width: 224px;
    max-height: 180px;
    padding: 16px 12px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    background: #FFF;
    border-radius: 0 0 5px 5px;
}
.cardOferteDescriere h2 {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.1;
    color: #111;
}
.cardOferteDescriere > p:nth-child(2) {
    font-size: 18px;
}
.cardOferteDescriere > div:last-child > p {
    font-size: 13px;
}
.cardOferteDescriere > div:last-child > p:last-child {
    color: rgba(0, 0, 0, 0.50);
}
.cardComplexe {
    display: flex;
    position:relative;
    width: 224px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 5px;
    box-shadow: var(--card-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease; 
}
.cardComplexe:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.cardComplexe img {
    border-radius: 5px 5px 0 0;
}
.cardComplexeDescriere {
    display: flex;
    height: 112px;
    max-width: 224px;
    padding: 16px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
    background: #FFF;
    border-radius: 0 0 5px 5px;
}
.cardComplexeDescriere h2 {
    font-size: 21px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.cardComplexeDescriere p.subtitle {
    color:#F00;
}
.cardNoutati {
    display: flex;
    width: 224px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 5px;
    box-shadow: var(--card-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease; 
}
.cardNoutati:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.cardNoutati img {
    border-radius: 5px 5px 0 0;
}
.cardNoutatiDescriere {
    display: flex;
    height: 148px;
    max-width: 224px;
    padding: 16px 12px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    background: #FFF;
    border-radius: 0 0 5px 5px;
}
div.cardNoutatiDescriere p:first-child {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
div.cardNoutatiDescriere p:last-child {
    color: rgba(0, 0, 0, 0.50);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.despre {
    display: flex;
    width: 958px;
    height: 468px;
    align-items: center;
    border-radius: 5px;
    margin: auto;
    background-color: #fff;
    margin-bottom: 50px;
}
.despre div{
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    align-items: flex-start;
    flex: 1 0 0;
}
.despre ul { margin-top: 10px; }
.despre ul li { margin-left: 18px; margin-top: 6px; }
.despre li {
    margin-left: 20px;
}
div.download {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 14px;
}
div.download a {
    display: flex;
    padding: 12px;
    margin: 14px;
    border-radius: 5px;
    box-shadow: 4px 4px 4px #00000049;
    color:inherit;
    text-decoration-line: underline;
    background: rgb(255, 0, 0);
    color: white;
    transition: all 0.3s ease-in-out;
}
div.download a:hover {
    color: black;
    background: rgb(248, 248, 248);
    box-shadow: 0 0 8px 2px #b8b8b8;
}
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 24px;
}
footer #bgicon {
    position: absolute;
    transform: translateY(-20px);
}
.upfooter {
    display: flex;
    min-width: 958px;
    margin:auto;
    padding: 16px 0;
    gap: 10px;
    justify-content: space-between;
    border: 1px solid black;
    border-left-style: none;
    border-right-style: none;
}
.upfooter #contacte {
    display: flex;
    flex-direction: column;
    gap:6px;
}
#orar{
    transform: translateX(-80px);
}
.abonare {
    display: flex;
    flex-wrap: wrap;
    max-width: 329px;
    column-gap: 10px;
}
.abonare #email {
    display: flex;
    width: 195px;
    padding: 6px 10px;
    align-items: center;
    flex-shrink: 0;
    border: solid black;
    border-width: 0 0 2px 0;
    
}
.abonare button{
    cursor: pointer;
    display: flex;
    padding: 8px 26px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background:#000;
    color:#fff;
    border: none;
    transition: all 0.2s ease-out;
}
.abonare button:hover {
    cursor: pointer;
    color: #000;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    
}
.abonare button:active {
    color: white;
    background: var(--Accent, #F00);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
}
.lowfooter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    width: 958px;
    padding: 7px 0;
}
.lowfooter div {
    display: flex;
    gap: 9px;
    height: 24px;
    align-items: center;
}
.lowfooter a {
    text-decoration-line: none;
    color: inherit;
}
.error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.success {
    color: green;
    font-size: 12px;
    margin-top: 5px;
}
input, textarea, select {
    transition: 0.2s;
}

/* Responsive */
/* 1400px */
@media (max-width: 1400px){
    .logo { left: 25px; }
    .search { right: 25px; }
}

/* 1200px */
@media (max-width: 1200px) {
    .logo { left: 50px; }
    .search { right: 50px; }
}

/* 1024px */
@media (max-width: 1024px) {
    .containerHeader,
    .despre {
        width: 95%;
    }
    .oferte {
        gap: 16px;
        padding: 0 16px;
    }
    .cardOferte, .cardComplexe, .cardNoutati {
        width: 45%;
        min-width: 200px;
    }
    .logo { left: 25px; }
    .search { right: 25px; }
}

/* 768px */
@media (max-width: 768px) {
    nav {
        height: auto;
        flex-direction: column;
        align-items: center;
        padding: 12px;
    }

    .logo {
        position: static;
        margin-bottom: 12px;
    }

    .radioTab {
        position: static;
        transform: none;
        margin: 12px 0;
        flex-wrap: wrap;
    }

    .radioTab h3 {
        min-width: 120px;
        font-size: 0.9rem;
    }

    .search {
        position: static;
        transform: none;
        margin-top: 12px;
    }

    .catalog {
        flex-direction: column;
        height: auto;
        gap: 12px;
        padding: 7px 8px;
        justify-content: flex-start;
    }

    .catalog div {
        min-width: 140px;
    }

    .containerHeader {
        padding: 20px 0 12px 0;
    }

    .containerHeader h2 {
        font-size: 1.3rem;
    }

    .oferte {
        gap: 14px;
    }

    .despre {
        flex-direction: column;
        height: auto;
    }


    .despre div {
        padding: 20px 16px;
    }

    #orar {
        transform: none;
    }
}

/* 600px */
@media (max-width: 600px) {
    html { font-size: 14px; }

    nav { padding: 10px; }

    .logo {
        position: static;
        margin-bottom: 12px;
    }

    .logo h4 { font-size: 0.9rem; }
    .logo img { width: 32px; height: 32px; }

    .radioTab {
        position: static;
        transform: none;
        width: 100%;
        justify-content: space-around;
    }

    .radioTab h3 {
        min-width: 90px;
        padding: 8px 6px;
        font-size: 0.85rem;
    }

    .search {
        position: static;
        transform: none;
        gap: 12px;
        margin-top: 12px;
    }

    .search img {
        width: 20px;
        height: 20px;
    }

    .limba {
        gap: 4px;
        font-size: 0.85rem;
    }

    .limba img {
        width: 18px;
        height: 18px;
    }

    .catalog {
        gap: 8px;
        padding: 7px 4px;
    }

    .catalog div {
        min-width: 120px;
        gap: 8px;
    }

    .catalog h3 {
        font-size: 0.85rem;
    }

    .containerHeader {
        width: 96%;
        padding: 16px 0 10px 0;
    }

    .containerHeader h2 {
        font-size: 1.2rem;
    }

    .containerHeader button {
        font-size: 0.85rem;
        padding: 6px 8px;
    }

    .oferte {
        gap: 12px;
        padding: 0 8px;
    }

    .cardOferte, .cardComplexe, .cardNoutati {
        width: 100%;
        max-width: 400px;
    }

    .cardOferteDescriere,
    .cardComplexeDescriere,
    .cardNoutatiDescriere {
        padding: 14px 10px;
    }

    .despre {
        flex-direction: column;
        margin-bottom: 30px;
        height: auto;
    }

    .despre div {
        padding: 16px 12px;
    }

    .despre p,
    .despre li {
        font-size: 0.9rem;
    }

    footer {
        padding: 20px 12px;
    }

    footer #bgicon {
        transform: translateY(-40px);
        max-width: 150px;
    }

    .upfooter {
        min-width: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 16px 0;
    }

    #orar {
        transform: none;
    }

    .abonare {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .abonare #email {
        width: 100%;
        padding: 10px 0;
    }

    .lowfooter {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

/* 400px */
@media (max-width: 400px) {
    html { font-size: 13px; }

    .logo img {
        width: 28px;
        height: 28px;
    }

    .radioTab h3 {
        min-width: 80px;
        padding: 6px 4px;
        font-size: 0.8rem;
    }

    .catalog div {
        min-width: 100px;
        gap: 6px;
    }

    .catalog div img {
        width: 20px;
        height: 20px;
    }

    .catalog h3 {
        font-size: 0.8rem;
    }

    .containerHeader h2 {
        font-size: 1.1rem;
    }
}

nav h3 { 
    cursor: pointer; 
}