/*
Theme Name: Raklap Csenter
Theme URI: http://raklapcsenter.hu/
Author: Gemini
Author URI: -
Description: Egyedi sablon a Raklap Csenter Kft. számára a logó színeivel, a generált mockup alapján.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: raklapcsenter
*/

/* --- VÁLTOZÓK ÉS ALAP BEÁLLÍTÁSOK --- */
:root {
    --color-dark-green: #1E4D2C; /* Logó sötét zöldje, fő szín */
    --color-light-green: #4CAF50; /* Logó világos zöldje, kiemelő szín */
    --color-khaki: #A0965A; /* Komplementer khaki, háttér/gomb szín */
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-bg-light: #F4F4F4; /* Világos háttér */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--color-dark-green);
    line-height: 1.2;
}

/* --- BUTTONS / GOMBOK --- */
.btn-ajanlat {
    background-color: var(--color-khaki);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
    border: 2px solid var(--color-khaki);
}

.btn-ajanlat:hover {
    background-color: #8C844F; 
    border-color: #8C844F;
}

/* --- HEADER / NAVIGÁCIÓ (style.css) --- */

.main-header {
    background-color: var(--color-dark-green);
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header-content {
    /* Elosztja a helyet a logó és a jobb oldali wrapper között */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-wrapper {
    /* Biztosítja, hogy a menü és a gomb egymás mellett legyen */
    display: flex;
    align-items: center;
    gap: 30px; /* Helyköz a menü és a gomb között */
}

.logo img {
    height: 120px; 
    border-radius:15px;
}

.main-nav ul {
    /* A menüpontok egymás mellett */
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--color-white);
    font-weight: 700;
    padding-bottom: 5px;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--color-light-green);
    border-bottom: 2px solid var(--color-light-green);
}

/* --- TARTALOM SZEKCIÓK (index.php) --- */
.site-main {
    padding-top: 20px;
    padding-bottom: 50px;
}

.content-section {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
    color: var(--color-dark-green);
    font-size: 2.2em;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-bg-light);
}

/* WP Tartalom Stílusok */
.post-content {
    font-size: 1.3em;
    letter-spacing: 2px;
    text-align: justify;
}

.post-content h3 {
    color: var(--color-khaki);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.6em;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.post-content ul, .post-content ol {
    margin: 15px 0 15px 40px;
    list-style-type: disc;
}

/* --- KIEMELT DOBOZOK (A mockup alsó része) --- */
.boxes-grid {
    display: flex;
    gap: 25px;
    text-align: center;
    justify-content: center;
    margin-top: 50px;
}

.box {
    padding: 30px 20px;
    flex: 1;
    max-width: 350px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
    cursor: pointer;
}

.box:hover {
    transform: translateY(-5px);
}

.box-khaki {
    background-color: var(--color-khaki);
    color: var(--color-white);
   
}

.box-khaki h3 {
    color: var(--color-white);
    font-size: 1.3em;
    margin-top: 10px;
}

.box img {
    height:80px
}

.image-holder{
    background-image: url('main.jpg');
    height: 300px;
    width: 100%;
    background-size: 1200px;
    background-position: 95px;
    text-align: center;
    margin-bottom:50px;
}

.image-holder div {
    color: #FFF;
    font-size: 50px;
    width: 50%;
    font-weight: 900;
    padding-top: 50px;
    letter-spacing: 2px;
}

/* --- FOOTER / LÁBLÉC (footer.php) --- */
.main-footer {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    padding: 30px 0;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr; 
    gap: 40px;
    padding-bottom: 20px;
}

.footer-content h4 {
    color: var(--color-light-green);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-content p {
    font-size: 0.9em;
    margin-bottom: 8px;
}

.footer-nav ul a:hover {
    color: var(--color-khaki);
}

.footer-legal {
    grid-column: 1 / -1; 
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    font-size: 0.8em;
}


.footer-info p {
    display: flex;
    align-items: center; 
    margin-bottom: 5px; 
}


.footer-info p img {
    height: 1.4em;
    width: auto;
    margin-right: 8px; 
    vertical-align: middle; 
}

/* --- RESPONSIVE / MOBIL NÉZET --- */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .nav-wrapper {
        /* Mobilnézetben a menü és a gomb is külön sorba kerül */
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding-top: 15px;
    }
    .main-nav ul {
        justify-content: center;
        gap: 15px;
    }
    .btn-ajanlat {
        margin-top: 10px;
    }
    .boxes-grid {
        flex-direction: column;
        align-items: center;
    }
    .box {
        max-width: 80%;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .image-holder {
        background-image: url('main.jpg');        
        width: 100%;
        background-size: 100% 100%;
        background-position: 95px;
        text-align: center;
        margin-bottom: 50px;
    }

    .image-holder div {
        color: #FFF;
        font-size: 35px;
         width: auto;
        font-weight: 900;
        padding-top: 50px;
        letter-spacing: 2px;
    }
    .box.box-khaki {
        width: 100%;
    }

    .footer-info p {
        display: block;
       
    }
}

@media (max-width: 576px) {
    .content-section {
        padding: 20px;
    }
    .content-section h2 {
        font-size: 1.8em;
    }
    .box {
        max-width: 100%;
    }
}