/* ==========================================
   HONZŮV MEDík
   style.css
   Verze 1.0
========================================== */

:root{

    --primary:#D89B1D;
    --primary-dark:#B87B00;

    --secondary:#5B3A29;

    --background:#FFF8EC;

    --white:#ffffff;

    --light:#F8F3EA;

    --border:#E4D3AF;

    --text:#43362C;

    --text-light:#75695C;

    --shadow:0 15px 35px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.35s ease;

    --container:1200px;

}

/* ==========================================
RESET
========================================== */

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

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;

    color:var(--text);

    background:var(--background);

    line-height:1.7;

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    transition:var(--transition);

}

ul{

    list-style:none;

}

.container{

    width:min(92%,var(--container));

    margin:auto;

}

/* ==========================================
TYPOGRAPHY
========================================== */

h1,h2,h3,h4{

    font-family:'Cormorant Garamond',serif;

    color:var(--secondary);

    line-height:1.15;

}

h1{

    font-size:4rem;

    margin-bottom:25px;

}

h2{

    font-size:3rem;

    margin-bottom:30px;

    text-align:center;

}

h3{

    font-size:2rem;

}

p{

    color:var(--text-light);

    margin-bottom:20px;

}

/* ==========================================
BUTTONS
========================================== */

.btn{

    display:inline-block;

    padding:16px 36px;

    border-radius:40px;

    background:var(--primary);

    color:white;

    font-weight:700;

    box-shadow:var(--shadow);

}

.btn:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}

.btn-outline{

    display:inline-block;

    padding:16px 36px;

    border-radius:40px;

    border:2px solid white;

    color:white;

}

.btn-outline:hover{

    background:white;

    color:var(--secondary);

}

/* ==========================================
HEADER
========================================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(12px);

    box-shadow:0 2px 12px rgba(0,0,0,.05);

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:90px;

}

.logo img{

    height:70px;

}

nav ul{

    display:flex;

    gap:35px;

}

nav a{

    color:var(--secondary);

    font-weight:600;

}

nav a:hover{

    color:var(--primary);

}

.btn-header{

    background:var(--primary);

    color:white;

    padding:14px 28px;

    border-radius:30px;

}

.btn-header:hover{

    background:var(--primary-dark);

}

/* ==========================================
HERO
========================================== */

.hero{

    min-height:100vh;

    background:url("../images/hero.jpg") center center/cover;

    position:relative;

    display:flex;

    align-items:center;

}

.hero-overlay{

    width:100%;

    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.55));

    padding:160px 0;

}

.hero h1{

    color:white;

    max-width:700px;

}

.hero p{

    color:white;

    font-size:1.2rem;

    max-width:650px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    margin-top:35px;

}

/* ==========================================
BENEFITS
========================================== */

.benefits{

    padding:90px 0;

    background:white;

}

.benefits .container{

    display:grid;

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

    gap:30px;

}

.benefit{

    background:var(--background);

    padding:40px;

    border-radius:var(--radius);

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.benefit:hover{

    transform:translateY(-10px);

}

.benefit{

    font-size:1rem;

}

.benefit h3{

    margin:20px 0;

    font-size:1.6rem;

}

/* ==========================================
PRODUCTS
========================================== */

.products{

    padding:100px 0;

}

.cards{

    display:grid;

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

    gap:35px;

}

.card{

    background:white;

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-12px);

}

.card img{

    width:100%;

    aspect-ratio:4/3;

    object-fit:cover;

}

.card h3{

    padding:25px 25px 10px;

}

.card p{

    padding:0 25px;

}

.card a{

    display:inline-block;

    margin:25px;

    color:var(--primary);

    font-weight:700;

}

.card a:hover{

    color:var(--primary-dark);

}

/* ==========================================
ABOUT
========================================== */

.about-home{

    padding:120px 0;

    background:white;

}

.about-home .container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.about-image img{

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

/* ==========================================
CTA
========================================== */

.cta{

    padding:120px 0;

    text-align:center;

    background:linear-gradient(135deg,#E9B53B,#D28A00);

    color:white;

}

.cta h2{

    color:white;

}

.cta p{

    color:white;

    max-width:700px;

    margin:auto auto 40px;

}

/* ==========================================
FOOTER
========================================== */

footer{

    background:#3F291B;

    color:white;

    padding:70px 0 30px;

}

.footer-grid{

    display:grid;

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

    gap:50px;

}

footer h3{

    color:white;

    margin-bottom:20px;

}

footer p,
footer a{

    color:#ddd;

}

footer ul li{

    margin-bottom:12px;

}

footer a:hover{

    color:white;

}

.copyright{

    margin-top:60px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.15);

    text-align:center;

}

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

@media(max-width:992px){

.cards{

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

}

.benefits .container{

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

}

.about-home .container{

grid-template-columns:1fr;

}

header .container{

flex-direction:column;

height:auto;

padding:15px 0;

}

nav ul{

margin:20px 0;

}

}

@media(max-width:768px){

h1{

font-size:2.6rem;

}

h2{

font-size:2.2rem;

}

.cards{

grid-template-columns:1fr;

}

.benefits .container{

grid-template-columns:1fr;

}

.hero-buttons{

flex-direction:column;

}

nav ul{

flex-direction:column;

text-align:center;

gap:15px;

}

.btn-header{

display:none;

}

}
/* ==========================================
   PAGE HERO
========================================== */

.page-hero{

    margin-top:90px;

    padding:110px 0 90px;

    background:linear-gradient(rgba(91,58,41,.75),rgba(91,58,41,.75)),
               url("../images/hero.jpg") center/cover;

    color:white;

    text-align:center;

}

.page-hero h1{

    color:white;

    margin-bottom:15px;

}

.page-hero p{

    color:#f5f5f5;

    font-size:1.2rem;

    max-width:700px;

    margin:auto;

}


/* ==========================================
ACTIVE MENU
========================================== */

nav a.active{

    color:var(--primary);

    position:relative;

}

nav a.active::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:100%;

    height:3px;

    background:var(--primary);

    border-radius:5px;

}


/* ==========================================
ABOUT PAGE
========================================== */

.about-text h2{

    text-align:left;

}

.about-text p{

    font-size:1.05rem;

}


/* ==========================================
TIMELINE
========================================== */

.timeline{

    padding:110px 0;

    background:var(--background);

}

.timeline-grid{

    display:grid;

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

    gap:35px;

    margin-top:60px;

}

.timeline-item{

    background:white;

    padding:40px;

    border-radius:18px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.3s;

}

.timeline-item:hover{

    transform:translateY(-10px);

}

.number{

    width:70px;

    height:70px;

    margin:auto auto 25px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:1.7rem;

    font-weight:bold;

}


/* ==========================================
GALLERY PREVIEW
========================================== */

.gallery-preview{

    padding:110px 0;

    background:white;

}


/* ==========================================
PRODUCT CARD
========================================== */

.product-card{

    display:flex;

    flex-direction:column;

}

.product-content{

    padding:30px;

}

.product-content h3{

    margin:15px 0;

}

.product-features{

    margin:25px 0;

}

.product-features li{

    margin-bottom:12px;

    color:var(--text-light);

}

.price{

    font-size:2rem;

    font-weight:700;

    color:var(--secondary);

    margin:25px 0;

}


/* ==========================================
BADGES
========================================== */

.badge{

    display:inline-block;

    padding:8px 16px;

    background:#56B35F;

    color:white;

    border-radius:30px;

    font-size:.85rem;

    font-weight:700;

}

.badge-orange{

    background:#D87A15;

}


/* ==========================================
FAQ
========================================== */

.faq{

    padding:110px 0;

    background:white;

}

.faq-item{

    background:var(--background);

    border-left:6px solid var(--primary);

    padding:30px;

    margin-bottom:25px;

    border-radius:15px;

    box-shadow:var(--shadow);

}

.faq-item h3{

    margin-bottom:15px;

}


/* ==========================================
TABLES
========================================== */

table{

    width:100%;

    border-collapse:collapse;

    margin-top:40px;

}

th{

    background:var(--primary);

    color:white;

    padding:18px;

}

td{

    padding:18px;

    border-bottom:1px solid var(--border);

}

tr:hover{

    background:#FFFDF8;

}


/* ==========================================
IMAGE EFFECT
========================================== */

.card img,
.about-image img{

    transition:.45s;

}

.card:hover img{

    transform:scale(1.05);

}


/* ==========================================
SECTION SPACING
========================================== */

section{

    position:relative;

}

section h2{

    margin-bottom:55px;

}


/* ==========================================
SCROLL ANIMATION
========================================== */

.fade{

    opacity:0;

    transform:translateY(40px);

    transition:.8s;

}

.fade.show{

    opacity:1;

    transform:none;

}


/* ==========================================
MOBILE
========================================== */

@media(max-width:992px){

.timeline-grid{

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

}

.page-hero{

padding:90px 0;

}

}

@media(max-width:768px){

.timeline-grid{

grid-template-columns:1fr;

}

.page-hero h1{

font-size:2.5rem;

}

.about-text h2{

text-align:center;

}

.product-content{

padding:25px;

}

.price{

font-size:1.8rem;

}

.faq-item{

padding:22px;

}

}
/* ==========================================
   PAGE HERO
========================================== */

.page-hero{

    margin-top:90px;

    background:linear-gradient(rgba(91,58,41,.75),rgba(91,58,41,.75)),
               url("../images/hero.jpg") center center/cover;

    padding:120px 0;

    text-align:center;

}

.page-hero h1{

    color:white;

    margin-bottom:20px;

}

.page-hero p{

    color:rgba(255,255,255,.9);

    font-size:1.2rem;

    max-width:700px;

    margin:auto;

}

/* ==========================================
   ACTIVE MENU
========================================== */

nav a.active{

    color:var(--primary);

    position:relative;

}

nav a.active::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:100%;

    height:3px;

    background:var(--primary);

    border-radius:5px;

}

/* ==========================================
   ABOUT
========================================== */

.about-text{

    padding:10px;

}

.about-text h2{

    text-align:left;

    margin-bottom:25px;

}

.about-text p{

    font-size:1.05rem;

}

/* ==========================================
   TIMELINE
========================================== */

.timeline{

    background:var(--light);

    padding:100px 0;

}

.timeline-grid{

    display:grid;

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

    gap:30px;

    margin-top:60px;

}

.timeline-item{

    background:white;

    padding:40px 30px;

    border-radius:var(--radius);

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.timeline-item:hover{

    transform:translateY(-8px);

}

.number{

    width:70px;

    height:70px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:2rem;

    font-weight:bold;

    margin:0 auto 25px;

}

.timeline-item h3{

    margin-bottom:15px;

    font-size:1.8rem;

}

/* ==========================================
   GALLERY PREVIEW
========================================== */

.gallery-preview{

    padding:110px 0;

    background:white;

}

.gallery-preview .cards{

    margin-top:50px;

}

.gallery-preview .card{

    overflow:hidden;

}

.gallery-preview img{

    transition:.5s;

}

.gallery-preview .card:hover img{

    transform:scale(1.08);

}

/* ==========================================
   IMAGE EFFECTS
========================================== */

.about-image{

    overflow:hidden;

    border-radius:var(--radius);

}

.about-image img{

    transition:.6s;

}

.about-image:hover img{

    transform:scale(1.05);

}

/* ==========================================
   SECTION SPACING
========================================== */

section{

    position:relative;

}

section h2{

    position:relative;

    display:inline-block;

    left:50%;

    transform:translateX(-50%);

}

section h2::after{

    content:"";

    display:block;

    width:70px;

    height:4px;

    margin:15px auto 0;

    background:var(--primary);

    border-radius:20px;

}

/* ==========================================
   SCROLL ANIMATION
========================================== */

.card,
.benefit,
.timeline-item{

    opacity:0;

    transform:translateY(40px);

    animation:fadeUp .8s ease forwards;

}

.card:nth-child(2){

    animation-delay:.15s;

}

.card:nth-child(3){

    animation-delay:.3s;

}

.timeline-item:nth-child(2){

    animation-delay:.15s;

}

.timeline-item:nth-child(3){

    animation-delay:.30s;

}

.timeline-item:nth-child(4){

    animation-delay:.45s;

}

@keyframes fadeUp{

    to{

        opacity:1;

        transform:translateY(0);

    }

}

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

@media(max-width:1100px){

.timeline-grid{

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

}

}

@media(max-width:768px){

.page-hero{

padding:80px 0;

}

.page-hero h1{

font-size:2.5rem;

}

.timeline-grid{

grid-template-columns:1fr;

}

.about-text h2{

text-align:center;

}

.about-text{

text-align:center;

}

.gallery-preview .cards{

grid-template-columns:1fr;

}

}
/* ==========================================
CONTACT
========================================== */

.contact-section{
    padding:100px 0;
    background:#fff;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
}

.contact-info h2,
.contact-form h2{
    text-align:left;
}

.contact-box{
    background:var(--background);
    padding:25px;
    margin-bottom:20px;
    border-radius:15px;
    box-shadow:var(--shadow);
}

.contact-form form{
    display:flex;
    flex-direction:column;
}

.contact-form label{
    margin:15px 0 8px;
    font-weight:600;
}

.contact-form input,
.contact-form textarea{
    padding:15px;
    border:1px solid var(--border);
    border-radius:12px;
    font-size:1rem;
    font-family:inherit;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:var(--primary);
}

.contact-form button{
    margin-top:30px;
    border:none;
    cursor:pointer;
}

.map-section{
    padding:100px 0;
}

.map{
    overflow:hidden;
    border-radius:20px;
    box-shadow:var(--shadow);
}

.map iframe{
    width:100%;
    height:450px;
    border:0;
}

@media(max-width:900px){

.contact-grid{
    grid-template-columns:1fr;
}

.contact-info h2,
.contact-form h2{
    text-align:center;
}

}
/* ==========================================
GALLERY
========================================== */

.gallery-page{

    padding:100px 0;

    background:white;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:25px;

}

.gallery-item{

    overflow:hidden;

    border-radius:18px;

    box-shadow:var(--shadow);

    position:relative;

}

.gallery-item img{

    width:100%;

    height:300px;

    object-fit:cover;

    transition:.45s;

}

.gallery-item:hover img{

    transform:scale(1.08);

}

/* ==========================================
LIGHTBOX
========================================== */

#lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

#lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:15px;

}

#close{

    position:absolute;

    top:30px;

    right:40px;

    color:white;

    font-size:50px;

    cursor:pointer;

}
