/* ==========================================
   ZAHRADY MIREK
   v0.2
========================================== */

:root{

    --green:#355342;
    --text:#222;
    --muted:#666;
    --line:#e8e8e8;
    --bg:#fafaf8;
    --white:#ffffff;

    --radius:18px;

    --shadow:0 18px 50px rgba(0,0,0,.08);

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--bg);

    color:var(--text);

    font-family:
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;

    line-height:1.7;

}

img{

    display:block;

    width:100%;

}

a{

    text-decoration:none;

    color:inherit;

}

header{

    position:fixed;

    top:0;
    left:0;
    right:0;

    z-index:100;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:26px 7%;

    color:white;

}

.logo{

    font-size:1.2rem;

    font-weight:700;

    letter-spacing:2px;

}

.social-top{

    display:flex;

    gap:28px;

}

.social-top a{

    opacity:.9;

    transition:.25s;

}

.social-top a:hover{

    opacity:1;

}

.hero{

    position:relative;

    height:100vh;

    overflow:hidden;

}

.hero img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        to bottom,
        rgba(0,0,0,.55) 0%,
        rgba(0,0,0,.15) 35%,
        rgba(0,0,0,.35) 100%
    );

}

.hero-text{

    position:absolute;

    left:8%;

    bottom:10%;

    max-width:620px;

    color:white;

}

.hero-text span{

    letter-spacing:3px;

    font-size:.9rem;

}

.hero-text h1{

    font-size:clamp(2.5rem,6vw,5rem);

    line-height:1.05;

    margin:18px 0;

    font-weight:700;

}

.hero-text p{

    font-size:1.2rem;

    opacity:.95;

}

.hero-buttons{

    margin-top:40px;

    display:flex;

    gap:18px;

}

.hero-buttons a{

    background:white;

    color:#222;

    padding:16px 28px;

    border-radius:999px;

    font-weight:600;

    transition:.3s;

}

.hero-buttons a:hover{

    transform:translateY(-2px);

}

.about{

    width:min(1200px,90%);

    margin:120px auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.about-image img{

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.about-text h2{

    font-size:2.4rem;

    margin-bottom:24px;

}

.about-text p{

    color:var(--muted);

    font-size:1.1rem;

}

footer{

    margin-top:120px;

    padding:60px 20px;

    border-top:1px solid var(--line);

    text-align:center;

    color:var(--muted);

}

footer h3{

    color:var(--text);

    margin-bottom:10px;

}

.footer-contact{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:6px;

    margin-bottom:18px;

}

.footer-contact span{

    color:var(--text);

    font-weight:600;

}

.footer-contact a{

    color:var(--green);

    text-decoration:underline;

    text-underline-offset:3px;

}

.footer-contact a:hover{

    color:var(--text);

}

/* ---------- SOCIAL SECTION ---------- */

.social-section{

    width:min(1200px,92%);
    margin:100px auto;

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:32px;

}

.social-card{

    background:#fff;

    color:#222;

    border:1px solid #e8e8e8;

    border-radius:24px;

    box-shadow:var(--shadow);

    padding:50px;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    min-height:340px;

    transition:.3s;

}

.social-content{

    display:flex;

    flex-direction:column;

    gap:18px;
    
    position:relative;
    z-index:2;

}

.social-card:hover{

    transform:translateY(-8px);

}

.instagram,

.pinterest{

    background:#fff;

    color:#222;

    border:1px solid #e8e8e8;

}

.social-label{

    opacity:.8;
    font-size:.9rem;
    letter-spacing:1px;

}

.social-card h2{

    margin:16px 0;

    font-size:2.4rem;

    line-height:1.1;

}

.social-card p{

    color:#666;

    opacity:1;

    line-height:1.8;

    max-width:420px;

}

.social-card a{

    align-self:flex-start;

    display:inline-flex;

    align-items:center;

    margin-top:30px;

    background:var(--green);

    color:#fff;

    padding:14px 26px;

    border-radius:999px;

    font-weight:600;

    transition:.25s;

}

.social-card a:hover{

    transform:translateY(-2px);

}

@media(max-width:900px){

    header{

        padding:20px;

    }

    .social-top{

        display:none;

    }

    .hero-text{

        left:24px;

        right:24px;

        bottom:60px;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .about{

        grid-template-columns:1fr;

        margin:80px auto;

    }

    .social-section{

        grid-template-columns:1fr;

    }

    .social-card{

        min-height:320px;

        padding:40px;

        flex-direction:column;

        align-items:flex-start;

    }

    .social-content{

        width:100%;

    }

    .social-card a{

        flex-shrink:0;

        line-height:1.35;

    }

}

@media(max-width:480px){

    .social-card{

        min-height:0;

        padding:28px;

    }

    .social-card a{

        width:100%;

        justify-content:center;

        margin-top:18px;

        padding:14px 18px;

        text-align:center;

    }

}
