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

body{
    font-family:'Poppins',sans-serif;
    background:linear-gradient(to bottom,#111319,#1b1f27);
    color:#f5f5f5;
    line-height:1.6;
}

/* ===== CONTAINER ===== */
.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ===== HEADER ===== */
.header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    background:rgba(15,17,22,0.9);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(198,169,74,0.2);
    z-index:2000;
}

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo-img{
    height:50px;
}

nav a{
    margin-left:25px;
    text-decoration:none;
    color:#f5f5f5;
    font-weight:500;
    transition: background .22s ease, color .15s ease, box-shadow .22s ease, border-color .22s ease;
    border:2px solid transparent; /* reserve space for hover border */
    padding:6px 8px;
    border-radius:8px;
}

nav a:hover{
    color:#111;
    background:linear-gradient(135deg,#c6a94a,#f0d78c);
    box-shadow:0 10px 25px rgba(198,169,74,0.18);
    border-color:#c6a94a;
}

/* ===== BUTTON GOLD ===== */
.btn-gold{
    background:linear-gradient(135deg,#c6a94a,#f0d78c);
    color:#111;
    padding:12px 30px;
    border-radius:50px;
    font-weight:600;
    text-decoration:none;
    transition:0.3s;
    display:inline-block;
}

.btn-gold:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(198,169,74,0.5);
}

/* ===== HERO ===== */
.hero{
    height:95vh;
    background-image:url("../images/hero.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding-top:80px;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    z-index:1;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
}

.hero h1{
    font-size:48px;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    margin-bottom:30px;
}

/* ===== SERVICES ===== */
.services{
    padding:120px 0 80px 0;
    text-align:center;
}

.services h2{
    margin-bottom:50px;
    font-size:34px;
    color:#f0d78c;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.card{
    background:#1f2430;
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(198,169,74,0.15);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
}

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

.card-content{
    padding:25px;
}

.card h3{
    margin-bottom:15px;
    color:#f0d78c;
}

.card-link{
    text-decoration:none;
    color:inherit;
    display:block;
}

/* ===== BEFORE AFTER ===== */
.before-after{
    padding:80px 0;
    text-align:center;
}

.before-after h2{
    margin-bottom:50px;
    font-size:34px;
    color:#f0d78c;
}

.ba-wrapper{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.ba-box{
    width:450px;
    position:relative;
}

.ba-box img{
    width:100%;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,0.3);
}

.ba-label{
    position:absolute;
    top:20px;
    left:20px;
    background:#c6a94a;
    color:#111;
    padding:8px 20px;
    border-radius:30px;
    font-weight:600;
}

.ba-label.after{
    background:#16a34a;
    color:white;
}

.ba-box.ba-small{
    width:300px;
}

/* ===== CONTACT ===== */
.contact{
    padding:100px 0;
    text-align:center;
}

.contact h2{
    margin-bottom:40px;
    color:#f0d78c;
}

.contact form{
    max-width:600px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact input,
.contact select,
.contact textarea{
    padding:14px;
    border-radius:10px;
    border:1px solid #333;
    background:#1f2430;
    color:white;
}

.contact textarea{
    min-height:120px;
}

.date-time{
    display:flex;
    gap:15px;
}

.date-time input{
    flex:1;
}

/* ===== FOOTER ===== */
footer{
    background:#0a0c0f;
    padding:30px 0;
    border-top:1px solid rgba(198,169,74,0.3);
    margin-top:80px;
}

.footer-minimal{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:20px;
    font-size:12px;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:50px;
    font-size:12px;
}

.footer-section{
    display:flex;
    justify-content:space-between;
    flex:1;
    gap:40px;
    align-items:flex-start;
}

.footer-section > div:first-child{
    line-height:1.8;
    color:#d0d0d0;
}

.footer-section > div:last-child{
    color:#a0a0a0;
    font-size:11px;
}

.social-media{
    text-align:center;
    padding-left:20px;
}

.social-media p{
    margin-bottom:12px;
    font-weight:600;
    font-size:13px;
    color:#f0d78c;
}

.social-link{
    display:inline-block;
    width:36px;
    height:36px;
    background:linear-gradient(135deg,#c6a94a,#f0d78c);
    color:#111;
    border-radius:50%;
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    transition:0.3s;
}

.social-link:hover{
    transform:scale(1.1);
    box-shadow:0 5px 15px rgba(198,169,74,0.5);
}

/* ===== RESPONSIVE ===== */

/* Small devices (576px and up) */
@media(max-width:576px){

.container{
    width:95%;
}

.logo-img{
    height:32px;
}

.header{
    padding:6px 0;
}

.nav{
    flex-direction:row;
    gap:12px;
    padding:8px 0;
    justify-content:space-between;
    align-items:center;
}

/* Order: logo, pokličite nas (majhen), hamburger */
.nav > a:first-child {
    order:1;
}

.nav .btn-gold {
    order:2;
}

.nav .hamburger {
    order:3;
}

/* Hamburger button - show on mobile */
.hamburger{
    display:flex;
    flex-direction:column;
    background:none;
    border:none;
    cursor:pointer;
    padding:5px;
    gap:5px;
}

.hamburger span{
    width:24px;
    height:3px;
    background:#f5f5f5;
    border-radius:3px;
    transition: 0.3s ease;
    display:block;
}

.hamburger.active span:nth-child(1){
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2){
    opacity: 0;
}

.hamburger.active span:nth-child(3){
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile nav - hidden by default */
#mobile-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:rgba(15,17,22,0.98);
    border-bottom:1px solid rgba(198,169,74,0.2);
    flex-direction:column;
    padding:12px;
    gap:8px;
    z-index:1999;
}

#mobile-nav.active{
    display:flex;
}

#mobile-nav a{
    display:block;
    padding:10px 12px;
    font-size:15px;
    border-radius:8px;
    text-align:center;
    width:100%;
    border:2px solid transparent;
    transition: background .22s ease, color .15s ease, box-shadow .22s ease, border-color .22s ease;
    color:#f5f5f5;
    text-decoration:none;
    font-weight:500;
}

#mobile-nav a:hover{
    color:#111;
    background:linear-gradient(135deg,#c6a94a,#f0d78c);
    box-shadow:0 10px 25px rgba(198,169,74,0.25);
    border-color:#c6a94a;
}

/* Hide desktop nav on mobile */
nav{
    display:none;
}

nav a{
    margin-left:0;
    font-size:14px;
}

.btn-gold{
    padding:10px 20px;
    font-size:13px;
}

.hero h1{
    font-size:24px;
    margin-bottom:15px;
}

.hero p{
    font-size:15px;
    margin-bottom:20px;
}

.services h2{
    font-size:26px;
    margin-bottom:30px;
}

.service-grid{
    grid-template-columns:1fr;
    gap:20px;
}

.card img{
    height:200px;
}

.before-after h2{
    font-size:24px;
}

.ba-wrapper{
    gap:20px;
}

.ba-box{
    width:100%;
}

.ba-box.ba-small{
    width:100%;
}

.contact h2{
    font-size:26px;
}

.contact form{
    gap:12px;
}

.contact input,
.contact select,
.contact textarea{
    padding:12px;
    font-size:14px;
}

.date-time{
    flex-direction:column;
}

.footer-content{
    gap:20px;
    flex-direction:column;
}

.footer-section{
    gap:20px;
}

.footer-section > div:first-child{
    font-size:11px;
}

}

/* Medium devices (768px and up) */
@media(min-width:577px){

.container{
    width:90%;
}

/* Reset flexbox ordering on desktop */
.nav > a:first-child {
    order:unset;
}

.nav .btn-gold {
    order:unset;
    flex:unset;
    text-align:unset;
}

.nav .hamburger {
    order:unset;
}

/* Hide hamburger, show desktop nav on tablet/desktop */
.hamburger{
    display:none !important;
}

#mobile-nav{
    display:none !important;
}

nav{
    display:flex !important;
    flex-direction:row;
    gap:15px;
    align-items:center;
}

.hero h1{
    font-size:32px;
}

.services h2{
    font-size:30px;
}

.service-grid{
    grid-template-columns:repeat(2, 1fr);
}

.card{
    margin-bottom:10px;
}

.contact form{
    gap:14px;
}

.date-time{
    flex-direction:column;
}

.nav{
    gap:10px;
}

}

/* Large devices (992px and up) */
@media(max-width:992px){

.hero h1{
    font-size:40px;
}

.service-grid{
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
}

}