@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

:root {
    --bg-color: #f5f3f0; /* Világos bézs háttér */
    --text-color: #4a4a4a; /* Közepes szürke szöveg */
    --text-hover: #2c2c2c; /* Sötétebb szürke hover */
    --bg2-color: #6b6b6b; /* Közepes grafit */
    --ker1: #8a8a8a; /* Világos szürke */
    --ker2: #e8e4df; /* Világos bézs */
    
    --header-height: 3.5rem;
    --first-color: #8b7355; /* Bézs árnyalat */
    --second-color: #a67c52; /* Meleg bézs */
    --first-gradient: linear-gradient(90deg, #8b7355, #a67c52);
    --title-color: #2c2c2c; /* Grafit cím */
    --text-color: #4a4a4a; /* Szürke szöveg */
    --text-color-light: #7a7a7a; /* Világos szürke */
    --body-color: #fefcf9; /* Nagyon világos bézs */
    --container-color: #fefcf9;
    --white-color: #ffffff;
    --black-color: #2c2c2c; /* Grafit fekete helyett */
    --gray-border: #d4d0ca; /* Bézses szürke border */
    --black-border: #4a4a4a; /* Szürke border */
    
    --body-font: "Montserrat", sans-serif;
    --big-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 1150px) {
    :root {
        --big-font-size: 3.5rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
    }
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding-block: 4rem 2rem;
}

.section__title,
.section__subtitle {
    text-align: center;
}

.section__title {
    font-size: var(--h1-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
}

.section__subtitle {
    display: block;
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--second-color);
    margin-bottom: .5rem;
}

.main {
    overflow: hidden;
}

/* HEADER */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: transparent;
    z-index: var(--z-fixed);
    transition: background-color .4s;
}

.nav {
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    column-gap: .25rem;
}

.nav__logo span {
    color: var(--text-color);
    font-weight: var(--font-semi-bold);
    font-size: 1.1rem;
    transition: color .4s;
}

.nav__logo i {
    color: var(--first-color);
    font-size: 1.5rem;
}

.nav__toggle,
.nav__close {
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color .4s;
}


@media screen and (max-width: 1150px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--container-color);
        width: 85%;
        max-width: 400px;
        height: 100%;
        padding: 6rem 2.5rem 0;
        border-left: 2px solid var(--gray-border);
        transition: right .4s;
        box-shadow: -4px 0 16px hsla(0, 0%, 0%, .1);
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 3rem;
}

.nav__link {
    color: var(--text-color);
    font-weight: var(--font-semi-bold);
    transition: color .4s;
    font-size: 1.1rem;
}

.nav__link:hover {
    color: var(--first-color);
}

.nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.show-menu {
    right: 0;
}

.bg-header {
    background-color: var(--container-color);
    box-shadow: 0 4px 16px hsla(0, 0%, 0%, .1);
}

.bg-header .nav__logo span,
.bg-header .nav__toggle {
    color: var(--text-color);
}

.active-link {
    color: var(--first-color);
}

/* Language */
.lang {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-border);
}

.lang a {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* HOME */
.home {
    position: relative;
    min-height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
}

.home__container {
    position: relative;
    row-gap: 2rem;
    padding-block: 8rem 4rem;
    z-index: 5;
}

.home__content {
    row-gap: 2rem;
}

.home__data {
    text-align: center;
    padding: 0 1rem;
}

.home__title {
    color: var(--white-color);
    font-size: var(--big-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.home__description {
    margin-bottom: 2rem;
    color: var(--white-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.home__bg,
.home__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.home__bg {
    object-fit: cover;
    object-position: center;
    filter: blur(2px);
}

.home__gradient {
    background: linear-gradient(180deg, 
        rgba(44, 44, 44, 0.3) 0%, 
        rgba(44, 44, 44, 0.6) 100%);
}

.home__button {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white-color);
    width: 80px;
    height: 80px;
    border: 2px solid var(--white-color);
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    z-index: 5;
    transition: transform .4s;
    font-size: 0.8rem;
}

.home__button:hover {
    transform: translateX(-50%) translateY(-.4rem);
    background-color: rgba(255, 255, 255, 0.1);
}

.home__button span {
    font-weight: var(--font-semi-bold);
}

.home__button i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.home__img-1 {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.home__images {
    position: relative;
    justify-self: center;
}

/* ABOUT */
.about__container {
    row-gap: 4rem;
    padding: 0 1rem;
}

.about__data {
    text-align: center;
}

.about__description {
    margin-bottom: 2rem;
    text-align: left;
    line-height: 1.7;
}

.about__list {
    text-align: initial;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.about__list-item {
    display: flex;
    column-gap: .5rem;
    color: var(--title-color);
    align-items: center;
}

.about__list-item i {
    font-size: 1.25rem;
    color: var(--first-color);
    flex-shrink: 0;
}

.about__images {
    position: relative;
    justify-self: center;
    display: flex;
    justify-content: center;
}

.about__img-1 {
    width: 200px;
    border: 5px solid var(--container-color);
    border-radius: 1rem;
}

.about__img-2 {
    display: none; 
}

.button {
    display: inline-flex;
    background: var(--first-gradient);
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: box-shadow .4s, transform .4s;
    text-align: center;
    justify-content: center;
}

.button:hover {
    box-shadow: 0 8px 32px hsla(139, 42%, 45%, .3);
    color: var(--white-color);
    transform: translateY(-2px);
}

/* SUBSCRIBE */
.btn {
    width: 100%;
    max-width: 300px;
    padding: 1rem 2rem;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: var(--font-semi-bold);
    color: var(--white-color);
    background-color: var(--bg2-color);
    border-radius: 0.5rem;
    transition: 0.3s;
    cursor: pointer;
}

.btn:hover {
    box-shadow: 0 8px 32px rgba(107, 107, 107, 0.3);
    transform: translateY(-2px);
    background-color: var(--first-color);
}

.subscribe {
    background-color: var(--bg-color);
    padding: 3rem 1rem;
}

.subscribe__container {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.subscribe__container div {
    text-align: center;
}

.subscribe__container h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: var(--font-bold);
    color: var(--title-color);
}

.subscribe__container p {
    color: var(--text-color);
    line-height: 1.6;
}

/* CONTACT */
.contact__container {
    row-gap: 3rem;
    padding: 1rem;
}

.contact__img {
    width: 100%;
    height: 250px;
    justify-self: center;
    border-radius: 1rem;
    border: none;
    box-shadow: 0 4px 16px hsla(0, 0%, 0%, .1);
}

.contact__data {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact__card {
    background-color: var(--container-color);
    border: 2px solid var(--gray-border);
    padding: 1.5rem;
    text-align: center;
    transition: border-color .4s, transform .4s;
    border-radius: 1rem;
}

.contact__card:hover {
    border-color: var(--first-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px hsla(0, 0%, 0%, .1);
}

.contact__icon {
    width: 48px;
    height: 48px;
    background-color: var(--first-color);
    color: var(--white-color);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.contact__title {
    font-size: var(--h3-font-size);
    margin-bottom: .5rem;
    color: var(--title-color);
}

.contact__info {
    font-style: normal;
    color: var(--text-color);
    line-height: 1.6;
}

.contact__social {
    display: flex;
    justify-content: center;
    column-gap: 1rem;
    margin-top: 1rem;
}

.contact__social-link {
    font-size: 1.5rem;
    color: var(--first-color);
    transition: transform .4s;
}

.contact__social-link:hover {
    transform: translateY(-.25rem);
}

.wassap {
    text-decoration: none;
}

.contact__extra {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--ker2);
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* SERVICES & GALLERY */
.services__container,
.gallery__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

.gallery__card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    min-height: 250px;
}

.gallery__shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        hsla(0, 0%, 0%, 0.2) 0%,
        hsla(0, 0%, 0%, 0.5) 50%,
        hsla(0, 0%, 0%, 0.9) 100%);
}

.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.gallery__data {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    right: 1rem;
    color: white;
    z-index: 10;
}

.gallery__subtitle {
    font-size: var(--h3-font-size);
    margin-bottom: 0.5rem;
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.gallery__title {
    font-size: var(--normal-font-size);
    line-height: 1.3;
    color: var(--white-color);
    font-weight: var(--font-medium);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

.gallery__card:hover .gallery__img {
    transform: scale(1.05);
}


.footer {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 3rem 1rem 2rem;
}

.footer__container {
    row-gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ker1);
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    margin-bottom: 1rem;
}

.footer__logo span {
    color: var(--white-color);
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
}

.footer__description {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--white-color);
    opacity: 0.9;
}

.footer__email,
.footer__info {
    font-style: normal;
    line-height: 1.6;
    color: var(--white-color);
    opacity: 0.85;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer__title {
    font-size: var(--h3-font-size);
    color: var(--white-color);
    margin-bottom: 1rem;
    font-weight: var(--font-semi-bold);
}

.footer__links {
    display: grid;
    row-gap: .5rem;
}

.footer__link {
    color: var(--white-color);
    opacity: 0.8;
    transition: color .4s, opacity .4s;
}

.footer__link:hover {
    color: var(--first-color);
    opacity: 1;
}

.footer__social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__social-link {
    font-size: 1.5rem;
    color: var(--first-color);
    transition: transform .4s;
}

.footer__social-link:hover {
    transform: translateY(-.25rem);
}

.footer__copy {
    display: block;
    text-align: center;
    font-size: var(--small-font-size);
    margin-top: 2rem;
    padding-top: 2rem;
}

/* SCROLL UP */
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -50%;
    background-color: var(--first-color);
    box-shadow: 0 4px 16px hsla(0, 0%, 0%, .2);
    color: var(--white-color);
    display: inline-flex;
    padding: 8px;
    font-size: 1.25rem;
    border-radius: .5rem;
    z-index: var(--z-tooltip);
    transition: bottom .4s, transform .4s;
}

.scrollup:hover {
    transform: translateY(-.5rem);
}

.show-scroll {
    bottom: 3rem;
}


@media screen and (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }
    
    .home__title {
        font-size: 1.8rem;
    }
    
    .home__button {
        width: 70px;
        height: 70px;
        font-size: 0.7rem;
    }
    
    .section {
        padding-block: 3rem 1rem;
    }
}


@media screen and (min-width: 576px) {
    .about__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .contact__data {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact__img {
        height: 300px;
    }
    
    .services__container,
    .gallery__container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .subscribe__container {
        grid-template-columns: 2fr 1fr;
        align-items: center;
        gap: 3rem;
    }
    
    .subscribe__container div:nth-child(1) {
        text-align: left;
    }
}


@media screen and (min-width: 768px) {
    .nav__menu {
        width: 50%;
    }
    
    .contact__img {
        height: 350px;
    }
    
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .gallery__container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about__img-2 {
        display: block;
        width: 200px;
        margin-left: 2rem;
    }
}


@media screen and (min-width: 1150px) {
    .container {
        margin-inline: auto;
    }
    
    .section {
        padding-block: 7rem 2rem;
    }
    
    .nav {
        height: calc(var(--header-height) + 2rem);
    }
    
    .nav__toggle,
    .nav__close {
        display: none;
    }
    
    .nav__menu {
        width: initial;
    }
    
    .nav__list {
        flex-direction: row;
        align-items: center;
        column-gap: 3rem;
    }
    
    .lang {
        margin: 0;
        padding: 0;
        border: none;
    }
    
    .home__container {
        grid-template-columns: 1fr 1fr;
        column-gap: 4rem;
        align-items: center;
        padding-top: 8rem;
    }
    
    .home__data {
        text-align: initial;
    }
    
    .home__img-1 {
        max-width: 400px;
    }
    
    .home__button {
        bottom: 8rem;
        width: 90px;
        height: 90px;
    }
    
    .about__container {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 6rem;
        align-items: center;
    }
    
    .about__images {
        order: -1;
        position: relative;
    }
    
    .about__img-1 {
        width: 300px;
    }
    
    .about__img-2 {
        position: absolute;
        width: 200px;
        top: -3rem;
        right: -3rem;
    }
    
    .about__data {
        text-align: initial;
    }
    
    .services__container,
    .gallery__container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .contact__container {
        grid-template-columns: 1fr 1fr;
        column-gap: 4rem;
        align-items: flex-start;
    }
    
    .contact__img {
        width: 100%;
        height: 450px;
        max-width: none;
    }
    
    .contact__data {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__content {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
}


@media screen and (min-width: 1400px) {
    .gallery__container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Másik lap stílus */
.home__data__2 {
    text-align: center;
}

.home__container__2 {
    position: relative;
    justify-self: center;
    padding-top: 12rem;
}