/*
Theme Name: VG Property
Theme URI: https://vgproperty.hu
Author: VG Property Team
Author URI: https://vgproperty.hu
Description: A custom WordPress theme for VG Property real estate development company
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vgproperty
*/

body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 480px) {
    body {
        margin: 0;
        padding: 0;
        width: 100%;
    }
}

.montserrat-text {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

.text-24 { 
    font-size: 24px;
    color: white;
    line-height: 0.5;
}

.text-18-letter-spacing { 
    font-size: 18px;
    letter-spacing: 0.1em;
}

.text-18-bold { 
    font-size: 18px;
    font-weight: bold;
}

.text-16-bold { 
    font-size: 16px;
    font-weight: bold;
}

.montserrat-shape-title {
    font-family: 'icon-label-font';
    font-optical-sizing: auto;
    font-weight: bold;
    font-size: 44px;
    font-style: normal;
    letter-spacing: 1.5px;
    color: white;
}

.bebas-neue-regular-text {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.project-description.montserrat-text {
    font-size: 14px !important;
}

@media (max-width: 480px) {
    .montserrat-shape-title {
        font-size: 30px;
    }

    .text-24 { 
        font-size: 14px;
        color: white;
        line-height: 0.5;
    }
}

.navbar {
  background-color: #ffffff;
  padding: 5vh;
  padding-left: 10vw;
  padding-right: 10vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-logo img {
  max-width: 350px;
}

.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.navbar-nav li {
  margin-left: 3vw;
}

.navbar-nav a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  display: block;
}

.navbar-nav a:hover {
  color: #007bff;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 11vw;
  height: 0.4vh;
  background-color: #333;
  margin: 10% 0;
  transition: 0.3s;
  border-radius: 2px;
}

@media (max-width: 480px) {
    .navbar {
        padding: 7%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        width: fit-content;
    }
  
    .navbar-logo img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
  
    .mobile-menu-btn {
        display: flex;
        padding-left: 20%;
    }
    
    .navbar-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .navbar-nav.active {
        display: flex !important;
    }
    
    .navbar-nav li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .navbar-nav li:last-child {
        border-bottom: none;
    }
    
    .navbar-nav a {
        padding: 15px 20px;
        font-size: 16px;
    }
}

/* ///////////////////////////////////////////////////////////////////// */

.main-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.header-image {
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-image-page-2 {
    width: 100%;
    height: 50vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-shape-with-title {
    position: absolute;
    bottom: 17vh;
    left: 0;
    width: 60%;
    height: auto;
    max-height: 70%;
    mix-blend-mode: multiply;
    fill: #237C8D;
}

.shape-title-container {
    position: absolute;
    bottom: 40%;
    left: 8%;
    width: 50%;
    height: auto;
    max-height: 40%;
}

@media (max-width: 480px) {
    .main-image-container {
        position: relative;
        width: 100%;
        overflow: hidden;
        height: 40vh;
    }

    .header-image {
        width: 100%;
        height: 100%;
        max-height: 100vh;
    }

    .header-image-page-2 {
        width: 100%;
        height: 100%;
        max-height: 100vh;
    }

    .background-shape-with-title {
        display: none;
    }

    .shape-title-container {
        display: none;
    }
}


/* ///////////////////////////////////////////////////////////////////// */

.segment {
    display: flex;
    justify-content: space-between;
    padding: 7% 0;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.segment-beige {
    display: flex;
    justify-content: space-between;
    padding: 10vh 0;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    background-color: #FFF8F3;
}

.segment-text {
    width: 100%;
    max-width: 100%;
    position: relative;
    left: 8%;
    padding-right: 10%;
    max-inline-size: 40vw;
}

/* TODO modify to percent */
.segment-text-right {
    width: 70%;
    position: relative;
    right: -180px;
    padding-left: 40px;
}

.segment-img {
    width: 50%;
    height: 100%;
    top: 5vh;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.segment-img img {
    width: 60%;
    height: 80%;
    object-fit: cover;
    object-position: center;
}

.segment-img-right {
    width: 50%;
    height: 100%;
    top: 9vh;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: end;
    align-items: center;
}

.segment-img-right img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    object-position: center;
}

.segment-img-left img {
    width: 100%;
    height: auto;
}

.only-mobile-img {
    display: none !important;
}

.only-desktop-img {
    display: flex;
}

.background-shape-1 {
    position: absolute;
    right: 0%;
    width: 30vw;
    height: auto;
    z-index: -1;
}

.section-title {
    color: #237C8D;
    font-size: 42px;
    font-weight: 500;
    margin: 0 0 2vh 0;
    letter-spacing: 1.5px;
}

.section-paragraph {
    color: #333;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 2vh;
    text-align: justify;
    width: 100%;
}

.description {
    color: #333;
    font-size: 14px;
    line-height: 1.0;
    margin-bottom: 1vh;
}

.bold {
    font-weight: bold;
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }
    
    .segment {
        display: list-item;
        justify-content: center;
        max-width: 100%;
        margin: 0 auto;
        position: relative;
        padding: 12% 5%;
        overflow-x: hidden;
    }

    .segment-beige {
        display: list-item;
        justify-content: center;
        max-width: 100%;
        margin: 0 auto;
        position: relative;
        padding: 12% 5%;
        overflow-x: hidden;
    }

    .segment-text {
        width: 100%;
        max-width: 100%;
        position: relative;
        left: 0px;
        padding-right: 0px;
        padding-bottom: 10%;
    }

    .section-title {
        color: #237C8D;
        font-size: 32px;
        font-weight: 500;
        margin: 0 0 20px 0;
        letter-spacing: 1.5px;
    }

    .segment-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        position: relative;
        z-index: 1;
        top: 0px;
    }

    .segment-img.only-desktop-img {
        display: none !important;
    }

    .segment-img.only-mobile-img {
        display: block !important;
    }

    .segment-img img {
        width: 100%;
        height: 100%;
    }

    .segment-img-right {
        width: 120%;
        max-width: 120%;
        height: auto;
        position: relative;
        top: 0vh;
        z-index: 1;
        display: flex;
        justify-content: flex-end;
        margin-left: auto;
    }
    
    .segment-img-right img {
        width: 100%;
        max-height: 50vh;
        height: auto;
        object-fit: cover;
    }

    .segment-img-right.only-desktop-img {
        display: none !important;
    }

    .segment-img-right.only-mobile-img {
        display: flex !important;
    }
    
    /* Specific spacing for ingatlan-fejlesztes image in mobile */
    #ingatlan-fejlesztés .segment-img-right {
        top: 3vh;
    }
    
    /* Remove top spacing for projektrol-altalanosan image in mobile */
    .projects-about-img {
        top: 0 !important;
    }

    .segment-img-left {
        max-width: 100%;
        height: auto;
        position: relative;
        margin-bottom: 3vh;
    }

    .segment-img-left.only-desktop-img {
        display: none !important;
    }

    .segment-img-left.only-mobile-img {
        display: flex !important;
    }

    .csoport-image {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .background-shape-1 {
        position: absolute;
        width: 75vw;
        height: auto;
        max-width: 387px;
        bottom: 0;
        right: 0;
        z-index: -1;
    }
}

/* ///////////////////////////////////////////////////////////////////// */

.green-line-image-container {
    text-align: center;
    background-color: #237C8D;
    max-height: 100%;
    height: 100%;
}

.mobile-text {
    display: none;
}

@media (max-width: 480px) {
    .green-line-image-container {
        position: relative;
        max-height: 30vh;
        height: 30vh;
    }
    
    .mobile-text {
        font-family: "Bebas Neue", sans-serif;
        font-weight: bold;
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        text-align: center;
    }
    
    .mobile-text p {
        text-transform: uppercase;
        margin-bottom: 2vh;
        font-size: 18px;
        width: 100vw;
        line-height: 0.5;
        letter-spacing: 1.0px;
        margin-top: 2.5vh;
    }

    .mobile-text p:nth-child(2) {
        margin-bottom: 5vh;
    }

    .mobile-text p:nth-child(4) {
        margin-bottom: 5vh;
    }

    .zoldsav-shape {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ///////////////////////////////////////////////////////////////////// */

.button {
    background-color: #237C8D;
    color: white;
    border: none;
    padding: 2vh 2vw;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 2vh;
}

.segment-icons {
    flex: 0 0 40%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 15vh;
    padding-right: 6vw;
}

.icon-box {
    text-align: center;
    flex: 0 0 30%;
}

.icon {
    width: 60%;
    height: auto;
    margin-bottom: 2vh;
}

@font-face {
    font-family: 'icon-label-font';
    src: url('fonts/conthrax-sb.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.icon-label {
    font-family: 'icon-label-font';
    color: #212121;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .button {
        padding: 2vh 4vw;
        font-size: 14px;
        text-transform: uppercase;
        cursor: pointer;
        margin: 15% auto 0 auto;
        display: block; 
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    .segment-icons {
        display: block;
        flex: 0 0 50%;
        justify-content: space-between;
        align-items: flex-start;
        padding-top: 5vh;
    }

    .icon {
        width: 40%;
    }
}

/* ///////////////////////////////////////////////////////////////////// */

.gallery {
    background-color: #0D3340;
    padding: 2% 5% 6%;
    background-image: url("images/zold_abstract.png") !important;
    background-position: center;
}

.gallery-title {
    color: white;
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 3vh;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2.5%;
    letter-spacing: 1.5px;
}

.gallery-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3vw;
    position: relative;
}

.gallery-item {
    width: 19vw;
    height: 14vw;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

.project-image {
    width: 19vw;
    height: 14vw;
    object-fit: cover;
    display: block;
}

.project-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 124, 141, 0.75);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .project-hover {
    opacity: 1;
}

.gallery-item:hover .project-label {
    display: none;
}

.project-title {
    margin: 0 0 5% 0;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.project-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.project-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #237C8D;
    color: white;
    height: 6vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    transition: display 0.3s ease;
}

@media (max-width: 480px) {
    .gallery {
        background-image: url("images/zold_abstract_mobil.png") !important;
        background-position: center;
        padding: 5% 5% 15%;
    }

    .gallery-title {
        font-size: 34px;
        padding-left: 9%;
    }

    .gallery-container {
        padding: 0% 10%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4vh;
        position: relative;
    }

    .gallery-item {
        width: 100%;
        height: 30vh;
        position: relative;
        overflow: hidden;
        border-radius: 2px;
        cursor: pointer;
    }

    .project-image {
        width: 80vw;
        height: auto;
        object-fit: cover;
        display: block;
    }
}
/* ///////////////////////////////////////////////////////////////////// */

.background-shape-2 {
    position: absolute;
    right: 0px;
    width: 25%;
    height: auto;
    z-index: -1;
}

@media (max-width: 480px) {
    .background-shape-2 {
        position: absolute;
        width: 75vw;
        height: auto;
        max-width: 387px;
        bottom: 0;
        right: 0;
        z-index: -1;
    }
}

/* ///////////////////////////////////////////////////////////////////// */

.footer {
    width: 100%;
    background-color: #BBDBF3;
    color: white;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer-section {
    flex: 1;
}

.footer-section.company {
    display: flex;
    flex-direction: column;
}

.logo {
    margin-bottom: 20px;
    padding-left: 30%;
}

.logo img {
    height: 40px;
    width: auto;
}

.contact-info p {
    margin: 8px 0;
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    line-height: 1.4;
    color: white;
    padding-left: 30%;
}

.footer-section.links,
.footer-section.legal {
    font-family: "Montserrat", sans-serif;
	display: flex;
	flex-direction: column;
}

.footer-section.links ul,
.footer-section.legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.footer-section.links ul li,
.footer-section.legal ul li {
    margin-bottom: 10px;
}

.footer-section.links ul li a,
.footer-section.legal ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding-left: 30%;
    transition: color 0.3s ease;
}

.footer-section.links ul li a:hover,
.footer-section.legal ul li a:hover {
    color: #065a6b;
}

.social-icon {
    color: white;
    background-color: transparent;
    display: flex;
    gap: 5%;
}

.social-icon img {
    width: 11vw;
    height: 5vh;
}

.social-icon:hover img {
    transform: scale(1.1);
}

.footer-bottom {
    background-color: #08323D;
    font-family: "Montserrat", sans-serif;
    color: white;
    text-align: center;
    padding: 2vh 0;
    font-size: 13px;
}

.footer-bottom p {
    width: 80%;
    line-height: 1.5;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .footer {
        width: 100%;
        background-color: #BBDBF3;
        color: white;
        font-family: Arial, sans-serif;
        margin-top: 5vh;
    }

    .footer-second-page {
        margin-top: 0vh !important;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section.company {
        width: 100%;
        margin-bottom: 3vh;
        text-align: left;
    }

    .logo {
        display: flex;
        margin-bottom: 3vh;
        padding-left: 0%;
    }

    .logo img {
        height: 5vh;
        width: auto;
    }

    .contact-info p {
        margin: 1vh 0;
        font-size: 16px;
        line-height: 1.4;
        color: white;
        padding-left: 0;
    }

    .footer-section.links {
        font-weight: bold;
    }

    .footer-section.links,
    .footer-section.legal {
        width: 100%;
        text-align: left;
        margin-bottom: 3vh;
    }

    .footer-section.links ul,
    .footer-section.legal ul {
        padding-top: 0;
    }

    .footer-section.links ul li a,
    .footer-section.legal ul li a {
        padding-left: 0;
    }

    .social-icon {
        padding-top: 3vh;
    }
}

/* For Font Awesome icons - you'll need to include the Font Awesome library */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');
