/* =========================
   1. RESET
========================= */
:root {
    --bg: #f9f6f2;
    --text: #333;
    --card: #fffaf6;
    --accent: #c8a27a;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body.dark {
   --bg: #2b2623;      
    --text: #f5eee8;   
    --card: #3a332f;    
    --accent: #e6c2a6;
}
body.dark .navbar {
    background: rgba(30,30,30,0.8);
}
body.dark .menu a {
     color: #f5eee8;
    opacity: 0.9;
}
body.dark .menu a:hover {
    color: var(--accent);
}
/* =========================
   2. GLOBAL
========================= */

body {

    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;

}

.container {

    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;

}
.theme-toggle {
    cursor: pointer;
    font-size: 20px;
    z-index: 2;
}

section {

    padding: 100px 0;

}

h1, h2, h3, .logo {

    font-family: 'Playfair Display', serif;

}


/* =========================
   3. NAVBAR
========================= */

.navbar {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: var(--card);
     box-shadow: 0 5px 20px rgba(0,0,0,0.08);
     border-bottom: 1px solid rgba(200,162,122,0.2);

}
.no-scroll {
    overflow: hidden;
}
.menu a {

    margin-left: 25px;
    text-decoration: none;
    color: #333;

}


.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;

}




/* =========================
   4. HERO
========================= */

.hero {

    text-align: center;
    padding: 160px 0;

}

.hero h1 {

    font-size: 64px;
    margin-bottom: 20px;

}

.hero p {

    font-size: 20px;
    margin-bottom: 30px;

}

.btn {

    padding: 14px 30px;
    border: none;
    font-size: 16px;
    background-color: var(--accent);
    cursor: pointer;

}


/* =========================
   5. ABOUT
========================= */

.about {

    border-bottom: 1px solid #e8dfd6;

}

.about h2 {

    font-size: 40px;
    margin-bottom: 60px;
    text-align: center;

}

.about-wrapper {

    display: flex;
    gap: 60px;

}

.about-image img {

    width: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);

}

.about-name {

    font-size: 26px;
    margin-bottom: 5px;

}

.about-job {

    font-size: 18px;
    color: #c8a27a;
    margin-bottom: 20px;
    border-bottom: 2px solid #c8a27a;
    display: inline-block;

}

.about-text p {

    margin-top: 15px;

}

.about-text p::first-letter {

    font-size: 48px;
    font-weight: bold;
    float: left;
    margin-right: 10px;
    color: #c8a27a;

}


/* =========================
   6. SERVICES
========================= */

.services h2 {

    font-size: 42px;
    margin-bottom: 80px;
    text-align: center;

}

.service {




    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
    border-bottom: 1px solid #eee;

    /* ANIMATION START STATE */

    opacity: 1;
    transform:none;

}
.service.animate {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s ease;
}

.service.animate.show {
    opacity: 1;
    transform: translateX(0);
}

.service.reverse {

    flex-direction: row-reverse;
    transform: translateX(60px);

}



.service:last-child {

    border-bottom: none;

}

.service:hover {

    transform: translateX(0) scale(1.02);

}

.service-image img {

    width: 350px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);

}

.service-text {

    max-width: 500px;

}

.service-text h3 {

    font-size: 32px;
    margin-bottom: 15px;

}

.service-text p {

    font-size: 17px;
    color: #555;

}

.price {

    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 15px;

}


/* =========================
   7. GALLERY
========================= */

.gallery h2 {

  font-size: 42px;

    text-align: center;

    margin-bottom: 60px;

}

.gallery img {

    
    margin: 10px;
    width: 100%;
    display: block;

    border-radius: 15px;

    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    

}
.gallery img:hover {

    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);

}
.gallery .container {

    display: block;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}
.gallery-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}
/* =========================
   8. Contact
========================= */
.contact {

   
  border-top: 1px solid rgba(200,162,122,0.3);
    margin-top: 100px;
    padding-top: 80px;

}

.contact h2 {

    margin-bottom: 40px;

}

/* link sorok */

.contact-links a {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 18px;

    font-size: 18px;

    text-decoration: none;

    color: var(--text);

    transition: 0.3s;

}

/* hover mozgás */

.contact-links a:hover {

    transform: translateX(6px);

}

/* ikon alap méret */

.contact-links i {

    font-size: 20px;

    width: 24px;

}


/* =========================
   IKON EREDETI SZÍNEK
========================= */

.fa-phone {

    color: #c8a27a;

}

.fa-facebook {

    color: #1877f2;

}

.fa-facebook-messenger {

    color: #0084ff;

}

.fa-instagram {

    color: #d62976;

}


/* =========================
   9. FOOTER
========================= */

footer {
  text-align: center;

    padding: 60px 20px;

    background-color:var(--card) ;

    font-size: 14px;

    color: #666;
    border-top: 1px solid #e0d6cc;

}
footer p:first-child {

    margin-bottom: 10px;

}
footer p {
    margin: 5px 0;
}
@media (max-width:768px){

body{
padding:0 16px;
}

/* képek */
img{
max-width:100%;
height:auto;
}

/* nagy címek */
h1{
font-size:32px;
line-height:1.2;
}

/* szöveg */
p{
font-size:16px;
line-height:1.6;
}

/* szekciók */
section{
padding:40px 0;
}
nav ul{
display:flex;
flex-direction:column;
align-items:center;
gap:10px;
padding:0;
}

nav li{
margin:0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--card);
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.8);

}
body.dark .navbar {
    background: rgba(30,30,30,0.8);
}
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* hamburger látszódjon */
.hamburger {
    display: block;
}

/* menü alapból rejtve */
.menu {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: 90%;
    max-width: 320px;
    background: white;
    flex-direction: column;
    align-items: center;
    display: none;
       border-radius: 16px;
    padding: 20px 0;

    box-shadow: 0 20px 40px rgba(0,0,0,0.15);

    opacity: 0;
    transition: all 0.3s ease;
}



/* ha aktív */
.menu.active {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.menu a {
    margin: 10px 0;
    font-size: 18px;
    color: var(--text);
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

.menu a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #c8a27a;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.menu a:hover::after {
    width: 100%;
}

.hamburger {
    font-size: 22px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: 0.3s;
}

.hamburger:hover {
    background: rgba(0,0,0,0.05);
}

}

