/* ================================================= */
/* PREMIUM RESPONSIVE WEBSITE CSS                    */
/* CLEAN - MODERN - SAFE RESPONSIVE                  */
/* ================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');

/* ================================================= */
/* ROOT VARIABLES                                    */
/* ================================================= */

:root{
    --primary:#b6895b;
    --primary-dark:#8e6a42;

    --bg:#000000;
    --bg-soft:#0f0f0f;
    --bg-card:#151515;

    --text:#ffffff;
    --text-soft:rgba(240,235,225,.75);

    --border:rgba(255,255,255,.08);

    --shadow:0 10px 35px rgba(0,0,0,.45);
}

/* ================================================= */
/* RESET                                             */
/* ================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    font-family:'Plus Jakarta Sans',sans-serif;
}

html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body{
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
    line-height:1.7;
}

img,
iframe,
video{
    max-width:100%;
    display:block;
}

section{
    padding:7rem 7%;
}

/* ================================================= */
/* TYPOGRAPHY                                        */
/* ================================================= */

h2{
    text-align:center;
    font-size:clamp(2rem,4vw,2.7rem);
    margin-bottom:3rem;
    font-weight:800;
}

h2 span{
    color:var(--primary);
}

p{
    color:var(--text-soft);
}

/* ================================================= */
/* BUTTON                                            */
/* ================================================= */

.btn{
    display:inline-block;
    padding:1rem 2.3rem;
    background:var(--primary);
    color:#fff;
    border-radius:12px;
    font-weight:700;
    transition:.3s ease;
}

.btn:hover{
    background:var(--primary-dark);
    transform:translateY(-3px);
}

/* ================================================= */
/* LOGIN ICON                                        */
/* ================================================= */

.desktop-login-icon{
    width:38px;
    height:38px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    font-size:1.3rem;

    cursor:pointer;

    transition:.3s;
}

.desktop-login-icon:hover{
    background:rgba(255,255,255,.08);
    color:var(--primary);
}

/* ================================================= */
/* HERO                                              */
/* ================================================= */

.hero{
    min-height:100vh;

    position:relative;

    z-index:3;

    overflow:hidden;

    display:flex;
    justify-content:center;
    align-items:flex-start;

    text-align:center;

    background:
    linear-gradient(rgba(0,0,0,.78),rgba(0,0,0,.78)),
    url('../../img/Kedai.jpeg');

    background-size:cover;
    background-position:center top;

    padding:
    clamp(250px,40vh,360px)
    7%
    3rem;
}

.hero-content{
    width:100%;
    max-width:950px;
}

.hero h1{
    font-size: clamp(3rem,6vw,4.7rem);
    font-weight: 800;

    /* putih sedikit lebih gelap */
    color: rgba(214, 214, 214, 0.756);

    line-height: 1.1;
    margin-bottom: .8rem;

    text-shadow: 0 5px 20px rgba(0,0,0,.55);
}

.hero .tagline{
    font-size: clamp(1.1rem,2vw,1.45rem);

    /* lebih soft & cinematic */
     color: rgba(214, 214, 214, 0.756);

    margin-bottom: 2.5rem;
}

.hero-features{
    display:flex;
    justify-content:center;
    align-items:flex-start;

    flex-wrap:wrap;

    gap:2rem;

    margin-bottom:2.5rem;
}

.feature-item{
    width:180px;
}

.feature-item .icon-box{
    font-size:2rem;
    color:#fff;

    margin-bottom:1rem;

    transition:.3s;
}

.feature-item:hover .icon-box{
    color:var(--primary);
    transform:translateY(-5px);
}

.feature-item p{
    color:var(--primary);
    font-size:.95rem;
    line-height:1.5;
}

.hero .btn{
    background:rgba(182,137,91,.18);

    border:1px solid var(--primary);

    backdrop-filter:blur(6px);
}

.hero .btn:hover{
    background:var(--primary);

    box-shadow:0 10px 20px rgba(182,137,91,.25);
}

/* ===================================== */
/* HERO FADE */
/* ===================================== */

.hero::after{

    content:'';

    position:absolute;

    left:0;
    bottom:0;

    width:100%;
    height:220px;

    background:
    linear-gradient(
        to bottom,
        rgba(0,0,0,0),
        #000000
    );

    z-index:1;

    pointer-events:none;
}

.hero-content{

    position:relative;

    z-index:2;
}

/* ================================================= */
/* ABOUT                                             */
/* ================================================= */

.about{

    position:relative;

    background:
    linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        #050505 10%,
        #0d0805 40%,
        #000000 100%
    );

    margin-top:-70px;

    padding-top:130px;

    z-index:1;
}

.about-box{
    max-width:1150px;

    margin:auto;

    background:var(--bg-card);

    padding:3rem;

    border-radius:24px;

    box-shadow:var(--shadow);
}

.about-box h2 span {
    color: #a97c55; /* Warna cokelat keemasan khas Kedai Serasa */
}

.about .row{
    display:flex;
    align-items:center;
    gap:4rem;
}

.about-img,
.about .content{
    flex:1;
}

.about-img img{
    border-radius:20px;

    box-shadow:0 20px 40px rgba(0,0,0,.5);

    border:1px solid rgba(182,137,91,.15);

    transition:.4s ease;
}

.about-img img:hover{
    transform:scale(1.02);
}

.about .content h3{
    font-size:clamp(1.8rem,3vw,2.4rem);

    margin-bottom:1.5rem;

    line-height:1.2;
}

.about .content p{
    margin-bottom:1.2rem;

    text-align:justify;
}

/* ================================================= */
/* LOCATION                                          */
/* ================================================= */

.location{
    position:relative;
    background: linear-gradient(
        to bottom,
        #000000,
        #0d0805,
        #000000
    );
}

.location::before{
    content:'';

    position:absolute;
    top:0;
    left:50%;

    transform:translateX(-50%);

    width:60%;
    height:1px;

    background:
    linear-gradient(
    to right,
    transparent,
    rgba(182,137,91,.5),
    transparent
    );
}

.location-box{
    max-width:1150px;

    margin:auto;

    padding:3rem;

    background:var(--bg-card);

    border-radius:24px;

    box-shadow:var(--shadow);
}

.location .row{

    display:flex;

    gap:40px;

    align-items:center;

    justify-content:center;
}

.location .map,
.location .address-info{

    flex:1;

    min-width:0;
}

.location .map{
    overflow:hidden;
    border-radius:20px;
}

.location .map iframe{
    width:100%;
    height:320px;

    border-radius:20px;

    border:1px solid rgba(182,137,91,.12);
}

.location .address-info h3{
    font-size:clamp(1.8rem,1vw,2.3rem);

    margin-bottom:1.5rem;

    color: #ffffff;;
}

.location .address-info p{
    margin-bottom:1rem;
}

.location .address-info i{
    color:var(--primary);
    margin-right:10px;
}

.location .row:has(.address-info:only-child){

    justify-content:center;
}

.location .row:has(.address-info:only-child)
.address-info{

    max-width:520px;

    text-align:center;
}

/* ================================================= */
/* TABLET                                            */
/* ================================================= */

@media (max-width:991px){

    html{
        font-size:90%;
    }

    .hero{
        background-position: 55% top; /* bg*/
    }

    .hero{
        padding-top:350px;
    }

    .about .row,
    .location .row{
        flex-direction:column;
        text-align:center;
    }

    .about .content p,
    .location .address-info p{
        text-align:center;
    }
}

/* ================================================= */
/* MOBILE                                            */
/* ================================================= */

@media (max-width:768px){

    section{
        padding:4rem 5%;
    }

   .hero{
        background-position:55% top;
        min-height:100vh;
        padding-top:200px;
    }

    .hero-content{
        transform:translateY(70px);
    }

    .hero h1{
        font-size:3rem;
    }

    .hero-features{
        gap:1.2rem;
    }

    .feature-item{
        width:140px;
    }

    .about-box,
    .location-box{
        padding:2rem;
    }

    .location .row{
        flex-direction:column-reverse;
    }

    .location .map iframe{
        height:280px;
    }
}
/* ================================================= */
/* HP KECIL                                          */
/* ================================================= */
@media (max-width:390px){

    html{
        font-size:85%;
    }

    .hero{
        background-position:55% top;
        min-height:100vh;
        padding-top:160px;
    }

    .hero-content{
        transform:translateY(40px);
    }

    .hero h1{
        line-height:1.2;
        font-size:2.8rem;
    }

    .hero-features{
        gap:1rem;
    }

    .feature-item{
        width:120px;
    }

    .feature-item .icon-box{
        font-size:1.7rem;
    }

    .feature-item p{
        font-size:.85rem;
    }

    .about-box,
    .location-box{
        padding:1.4rem;
    }

    .location .map iframe{
        height:230px;
    }
}

/* ================================================= */
/* LANDSCAPE PHONE                                   */
/* ================================================= */

@media (max-height:500px) and (orientation:landscape){

    .hero{
        background-position: 55% top; /* bg*/
    }

    .hero{
        min-height:auto;

        padding-top:140px;
        padding-bottom:60px;
    }

    .hero h1{
        font-size:2.2rem;
    }
}

/* ===================================== */
/* UNIVERSAL FIX */
/* ===================================== */

.hero,
.about,
.location{

    position:relative;

    z-index:1;
}

/* ===================================== */
/* GLOBAL TRANSITION */
/* ===================================== */

.hero *,
.about *,
.location *{

    transition:
    0.3s ease;
}