/* =========================================================
   HAZ OPTIC
   OCHELARI DE SOARE
   ========================================================= */

.sun-container {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}


.sun-section {
    padding: 62px 0;
}


.sun-label {
    margin-bottom: 10px;

    color: #b58c1b;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.21em;

    text-transform: uppercase;
}



/* =========================================================
   MENIU ACTIV
   ========================================================= */

.main-nav > a.active {
    color: #f0cd62;
}


.main-nav > a.active::after {
    width: 100%;
}



/* =========================================================
   BUTOANE
   ========================================================= */

.sun-button {
    min-width: 165px;
    min-height: 46px;

    padding: 12px 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #d4af37;

    border: 1px solid #d4af37;

    color: #080808 !important;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition: 0.25s;
}


.sun-button:hover {
    background: #f0cd62;
    border-color: #f0cd62;

    transform: translateY(-2px);
}


.sun-buttons {
    margin-top: 25px;

    display: flex;
    flex-wrap: wrap;

    gap: 11px;
}



/* =========================================================
   HERO
   ========================================================= */

.sun-hero {
    padding: 65px 0;

    color: white;

    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(212, 175, 55, 0.20),
            transparent 34%
        ),
        #080808;
}


.sun-hero-grid {
    display: grid;

    grid-template-columns:
        0.7fr 1.3fr;

    gap: 65px;

    align-items: center;
}


.sun-hero-logo-box {
    display: flex;

    align-items: center;
    justify-content: center;
}


.sun-hero-logo {
    width: auto !important;
    height: 145px !important;
    max-width: 350px !important;

    object-fit: contain;
}


.sun-hero .sun-label {
    color: #f0cd62;
}


.sun-hero h1 {
    max-width: 760px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(39px, 5vw, 59px);

    font-weight: 400;

    line-height: 1.06;
}


.sun-hero h1 span {
    display: block;

    color: #d4af37;
}


.sun-hero-content > p:not(.sun-label) {
    max-width: 680px;

    margin-top: 14px;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 14px;

    line-height: 1.65;
}


.sun-hero-content
.sun-hero-strong {
    color: white !important;

    font-size: 16px !important;
}



/* =========================================================
   TITLURI SECȚIUNI
   ========================================================= */

.sun-heading {
    margin-bottom: 30px;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 45px;
}


.sun-heading h2,
.colors-heading h2,
.prescription-title h2,
.protection-card h2,
.care-grid h2,
.sun-final h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;

    line-height: 1.08;
}


.sun-heading h2,
.colors-heading h2 {
    font-size:
        clamp(31px, 4vw, 43px);
}


.sun-heading > p {
    max-width: 430px;

    color: #706a61;

    font-size: 13px;

    line-height: 1.6;
}



/* =========================================================
   RAME
   ========================================================= */

.frames-section {
    background: white;
}


.sun-frames-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}


.sun-frame-card {
    overflow: hidden;

    background: #f5f2eb;

    border: 1px solid #e0d9cc;
}


.sun-frame-image {
    height: 205px;

    padding: 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.sun-frame-image img {
    width: 92%;
    height: 150px;

    object-fit: contain;
    object-position: center;

    transition: transform 0.35s;
}


.sun-frame-card:hover
.sun-frame-image img {
    transform: scale(1.06);
}


.sun-frame-content {
    padding: 20px 21px 23px;
}


.sun-frame-content h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 21px;

    font-weight: 400;
}


.sun-frame-content p {
    margin-top: 8px;

    color: #68635c;

    font-size: 12px;

    line-height: 1.6;
}



/* =========================================================
   CU DIOPTRII
   ========================================================= */

.prescription-section {
    padding: 65px 0;

    background: #090909;

    color: white;
}


.prescription-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 75px;

    align-items: center;
}


.prescription-section .sun-label {
    color: #f0cd62;
}


.prescription-title h2 {
    max-width: 480px;

    font-size:
        clamp(36px, 5vw, 54px);
}


.prescription-title h2 span {
    display: block;

    color: #d4af37;
}


.prescription-content p {
    max-width: 650px;

    margin-bottom: 13px;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 14px;

    line-height: 1.68;
}


.prescription-content
.prescription-lead {
    color: white;

    font-size: 17px;

    font-weight: 700;
}


.prescription-content strong {
    color: #f0cd62;
}


.prescription-options {
    margin-top: 22px;

    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


.prescription-options span {
    padding: 8px 13px;

    border:
        1px solid rgba(212, 175, 55, 0.45);

    color: #e6ca71;

    font-size: 11px;
}


.prescription-content .sun-button {
    margin-top: 24px;
}



/* =========================================================
   LENTILE
   ========================================================= */

.lenses-section {
    background: #f4f0e8;
}


.sun-lenses-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


.sun-lens-card {
    overflow: hidden;

    background: white;

    border: 1px solid #ddd5c7;
}


.sun-lens-image {
    width: 100%;
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #ebe6dc;
}


.sun-lens-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.35s;
}


.sun-lens-card:hover
.sun-lens-image img {
    transform: scale(1.04);
}


.sun-lens-content {
    padding: 22px;
}


.sun-lens-content h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;

    font-weight: 400;
}


.sun-lens-content p {
    margin-top: 9px;

    color: #68635c;

    font-size: 12px;

    line-height: 1.65;
}


.lens-help {
    max-width: 760px;

    margin: 27px auto 0;

    text-align: center;

    color: #625d55;

    font-size: 13px;

    line-height: 1.65;
}



/* =========================================================
   CULORI
   ========================================================= */

.colors-section {
    padding: 60px 0;

    background: white;
}


.colors-heading {
    margin-bottom: 27px;
}


.colors-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    border-top:
        1px solid #ddd5c7;

    border-left:
        1px solid #ddd5c7;
}


.color-card {
    min-height: 195px;

    padding: 22px 18px;

    border-right:
        1px solid #ddd5c7;

    border-bottom:
        1px solid #ddd5c7;
}


.color-circle {
    width: 37px;
    height: 37px;

    display: block;

    margin-bottom: 19px;

    border-radius: 50%;

    border:
        1px solid rgba(0, 0, 0, 0.13);
}


.color-circle.grey {
    background: #626262;
}


.color-circle.brown {
    background: #765035;
}


.color-circle.green {
    background: #536550;
}


.color-circle.blue {
    background:
        linear-gradient(
            135deg,
            #36596d,
            #9ac4d3
        );
}


.color-circle.gradient {
    background:
        linear-gradient(
            #4e4039,
            #cbbba9,
            #f3eee7
        );
}


.color-card h3 {
    font-family: Georgia, serif;

    font-size: 18px;

    font-weight: 400;
}


.color-card p {
    margin-top: 7px;

    color: #6b665e;

    font-size: 11px;

    line-height: 1.6;
}



/* =========================================================
   PROTECȚIE
   ========================================================= */

.protection-section {
    padding: 60px 0;

    background: #d4af37;
}


.protection-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1px;

    background:
        rgba(0, 0, 0, 0.18);
}


.protection-card {
    padding: 38px;

    background: #d4af37;
}


.protection-card .sun-label {
    color: #332a0d;
}


.protection-card h2 {
    font-size:
        clamp(29px, 4vw, 40px);
}


.protection-card p:not(.sun-label) {
    margin-top: 12px;

    color:
        rgba(0, 0, 0, 0.69);

    font-size: 13px;

    line-height: 1.65;
}



/* =========================================================
   ÎNGRIJIRE
   ========================================================= */

.care-section {
    padding: 60px 0;

    background: #f4f0e8;
}


.care-grid {
    display: grid;

    grid-template-columns:
        0.85fr 1.15fr;

    gap: 70px;

    align-items: start;
}


.care-grid h2 {
    max-width: 480px;

    font-size:
        clamp(31px, 4vw, 43px);
}


.care-list {
    border-top:
        1px solid #d8d0c3;
}


.care-item {
    padding: 14px 0;

    display: grid;

    grid-template-columns:
        45px 1fr;

    gap: 15px;

    border-bottom:
        1px solid #d8d0c3;
}


.care-item span {
    color: #a37c12;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.12em;
}


.care-item p {
    color: #5f5a52;

    font-size: 13px;
}



/* =========================================================
   FINAL
   ========================================================= */

.sun-final {
    padding: 68px 0;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(212, 175, 55, 0.16),
            transparent 36%
        ),
        #080808;

    color: white;
}


.sun-final-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 70px;

    align-items: center;
}


.sun-final .sun-label {
    color: #f0cd62;
}


.sun-final h2 {
    max-width: 520px;

    font-size:
        clamp(35px, 4.5vw, 51px);
}


.sun-final-content > p {
    max-width: 620px;

    color:
        rgba(255, 255, 255, 0.67);

    font-size: 14px;

    line-height: 1.7;
}



/* =========================================================
   TABLETĂ
   ========================================================= */

@media (max-width: 1000px) {

    .sun-frames-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .colors-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}



/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 900px) {

    .sun-container {
        width:
            min(100% - 32px, 1160px);
    }


    .sun-hero-grid {
        grid-template-columns: 1fr;

        gap: 25px;

        text-align: center;
    }


    .sun-hero-logo {
        height: 105px !important;
    }


    .sun-hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }


    .sun-buttons {
        justify-content: center;
    }


    .sun-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }


    .prescription-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .sun-lenses-grid {
        grid-template-columns: 1fr;
    }


    .sun-lens-image {
        height: 280px;
    }


    .protection-grid {
        grid-template-columns: 1fr;
    }


    .care-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .sun-final-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .sun-final .sun-buttons {
        justify-content: flex-start;
    }

}



/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 620px) {

    .sun-section {
        padding: 50px 0;
    }


    .sun-hero {
        padding: 48px 0;
    }


    .sun-hero-logo {
        height: 90px !important;
    }


    .sun-hero h1 {
        font-size: 38px;
    }


    .sun-buttons {
        flex-direction: column;
    }


    .sun-button {
        width: 100%;
    }


    .sun-frames-grid {
        grid-template-columns: 1fr;
    }


    .sun-frame-image {
        height: 225px;
    }


    .sun-frame-image img {
        height: 175px;
    }


    .prescription-section {
        padding: 50px 0;
    }


    .prescription-title h2 {
        font-size: 39px;
    }


    .sun-lens-image {
        height: 230px;
    }


    .colors-grid {
        grid-template-columns: 1fr;
    }


    .color-card {
        min-height: auto;
    }


    .protection-card {
        padding: 28px 22px;
    }


    .sun-final {
        padding: 52px 0;
    }

}