/*
Theme Name: Adria Kő
Author: Horizon Marketing
Version: 1.0
*/


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); 

:root {
    --color-white: #ffffff;
    --color-bg-light: #F5F2EB; 
    --color-gold: #c6a545;
    --color-new-gold: #9E7B3A; 
    --color-light-gray: #c3c3b8;
    --color-dark-gray: #7f7661;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif; 
    background-color: var(--color-bg-light); 
    color: var(--color-dark-gray);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ================= HEADER ÉS NAVBAR ================= */
.site-header {
    background-color: var(--color-white); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); 
    border-bottom: 1px solid rgba(0,0,0,0.06); 
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease; 
}

.logo a:hover {
    opacity: 0.8; 
}

.site-logo {
    max-height: 50px; 
    width: auto;
    display: block;
}


.main-navigation {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3rem; 
}

.nav-list a {
    text-decoration: none;
    color: var(--color-dark-gray); 
    font-weight: 500;
    font-size: 0.9rem; 
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--color-new-gold);
}


.nav-list a.active,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
    color: var(--color-new-gold);
    position: relative;
}

.nav-list a.active::after,
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 1px; 
    background-color: var(--color-new-gold);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1000;
}

.hamburger .bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--color-dark-gray);
    transition: all 0.4s ease-in-out;
}

/* ================= ALAP ELRENDEZÉS ÉS GOMBOK ================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}


.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-new-gold);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-dark-gray);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-dark-gray); 
    color: var(--color-dark-gray);
}

.btn-secondary:hover {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
}

.btn-outline {
    border-color: var(--color-new-gold);
    color: var(--color-new-gold);
}

.btn-outline:hover {
    background-color: var(--color-new-gold);
    color: var(--color-white);
}

.btn-pill {
    border-radius: 30px !important;
    padding: 0.8rem 2.5rem;
}

/* ================= HERO SZEKCIÓ================= */
.hero-split {
    background-color: var(--color-white);
    padding: 6rem 0;
    overflow: hidden;
}

.hero-split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text-side {
    flex: 1;
    max-width: 500px;
}

.hero-text-side h1 {
    font-size: 3.2rem;
    color: var(--color-dark-gray);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 400; 
    letter-spacing: -1px;
}

.hero-text-side h1 span {
    font-weight: 700; 
    display: block;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-dark-gray);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-side {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-main-img {
    width: 100%;
    max-width: 650px;
    height: auto;
    aspect-ratio: 4 / 3; 
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
}

.hero-overlap-img {
    position: absolute;
    left: -40px; 
    bottom: -40px; 
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 10px solid var(--color-white); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    z-index: 2;
}

/* ================= BEMUTATKOZÁS ÉS ÉRTÉKEK ================= */
.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.featured-works .slider-wrapper {
    max-width: 450px; 
}
.intro-text h2, .featured-works h2 {
    font-size: 2.2rem;
    color: var(--color-dark-gray);
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-box {
    background-color: var(--color-white);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--color-light-gray);
    transition: transform 0.3s ease;
}

.value-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.value-box .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-new-gold); 
}

.value-box h3 {
    margin-bottom: 1rem;
    color: var(--color-new-gold);
}

/* =================ANYAGOK SZEKCIÓ ================= */
.materials-banner {
    background-image: linear-gradient(rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.75)), url('images/granitbg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    color: var(--color-white);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
}

.materials-subtitle {
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--color-light-gray);
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.materials-title {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: var(--color-white);
    letter-spacing: 1px;
}

.materials-samples {
    background-color: var(--color-white);
}

.samples-title {
    font-size: 1.8rem;
    color: var(--color-dark-gray);
    margin-bottom: 3rem;
    font-weight: 600;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.material-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.material-card img:hover {
    transform: translateY(-8px);
}

/* ================= SLIDER SZEKCIÓ ================= */
.section-subtitle {
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px; 
    aspect-ratio: 1 / 1; 
    margin: 0 auto; 
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--color-light-gray);
    border: 3px solid var(--color-new-gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.slider-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 100%; 
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: var(--color-white);
    border: none;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
    border-radius: 4px;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--color-new-gold);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }


.featured-works .slider-wrapper {
    max-width: 450px; 
    margin: 0 auto;
}

/* ================= BELSŐ OLDALAK================= */

.page-header {
    background-color: #1a1a1a;
    color: var(--color-white);
    padding: 6rem 0 4rem 0; 
    background-image: linear-gradient(rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.75)), url('images/granitbg.jpg'); 
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header h1 {
    font-size: 2.8rem; 
    font-weight: 600;
    position: relative;
    z-index: 2;
    text-shadow: none; 
    letter-spacing: -0.5px;
}

.intro-text-large {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.15rem;
    color: var(--color-dark-gray);
}

.galleries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.gallery-section {
    margin-bottom: 0; 
}

.gallery-section h3 {
    font-size: 1.4rem; 
    color: var(--color-new-gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.gallery-section h3 span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-dark-gray);
    display: block;
    margin-top: 0.3rem;
}

.gallery-section h4 {
    font-size: 1.5rem;
    color: var(--color-dark-gray);
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.highlighted-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-item {
    background: var(--color-white);
    padding: 1rem;
    border: 1px solid var(--color-light-gray);
    text-align: center;
}

.highlight-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.highlight-item p {
    font-size: 0.95rem;
    font-style: italic;
}

/* ================= Kapcsolat================= */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem; 
    cursor: pointer;
    accent-color: var(--color-new-gold);
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--color-new-gold);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-group label a:hover {
    color: var(--color-dark-gray);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3, .contact-form-container h3 {
    font-size: 1.8rem;
    color: var(--color-dark-gray);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--color-new-gold);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.info-list li i {
    font-size: 1.5rem;
    color: var(--color-new-gold);
    margin-top: 0.2rem;
    min-width: 25px;
    text-align: center;
}

.info-list li a {
    color: var(--color-dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-list li a:hover {
    color: var(--color-new-gold);
}

.contact-form-container, 
.contact-info {
    background-color: var(--color-white);
    padding: 2.5rem;
    border: 1px solid var(--color-light-gray);
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    height: 100%; 
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-dark-gray);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-light-gray);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--color-dark-gray);
    background-color: var(--color-bg-light); 
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-new-gold);
    box-shadow: 0 0 0 3px rgba(158, 123, 58, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================= LÁBLÉC================= */
.site-footer {
    background-color: #1a1a1a;
    color: var(--color-light-gray);
    padding-top: 5rem;
    font-family: 'Inter', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 8rem;
    margin-bottom: 4rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center; 
    gap: 0.5rem;
    text-align: center;
}

.footer-title {
    color: var(--color-white);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 1rem;
}

.footer-list a {
    color: var(--color-light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.footer-list a i {
    color: var(--color-new-gold);
    font-size: 1.1rem;
}

.footer-list a:hover {
    color: var(--color-new-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    font-size: 0.9rem;
}



.footer-bottom-content p {
    margin: 0;
}

.footer-bottom-content a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-bottom-content a:hover {
    color: var(--color-new-gold);
}

/* ================= JOGI OLDAL ================= */
.legal-content {
    background-color: var(--color-white);
    padding: 4rem;
    border-radius: 4px;
    border: 1px solid var(--color-light-gray);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    max-width: 900px; 
    margin: 0 auto; 
}

.legal-content h2 {
    color: var(--color-new-gold);
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--color-dark-gray);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.legal-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-content a {
    color: var(--color-new-gold);
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ================= MOBIL NÉZET ================= */
@media screen and (max-width: 992px) {
    .hero-split-container {
        flex-direction: column; 
        text-align: center;
        gap: 5rem;
    }

    .hero-text-side {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-text-side h1 {
        font-size: 2.5rem;
    }

    .hero-overlap-img {
        left: 20px;
        bottom: -30px;
        width: 120px;
        height: 120px;
        border-width: 6px;
    }
}

@media screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 3rem;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }
    .footer-list a {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .hamburger {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--color-white); 
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }

    .main-navigation.active {
        max-height: 400px; 
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 2rem 0;
        margin: 0; 
        gap: 1.5rem;
        width: 100%;
    }

    .nav-list a {
        font-size: 1.3rem;
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--color-new-gold);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--color-new-gold);
    }

    .galleries-grid {
        grid-template-columns: 1fr; 
        gap: 4rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}