@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: all 0.5s linear;
}

body{
    font-family: "Playfair Display", serif;
}

::selection {
  background-color: #ddb178; 
  color: #fafafa;           
}


.lower-case{
    text-transform: lowercase;
}

.color-orange{
    color: #ddb178;
}

.capitalised{
    text-transform: uppercase;
}

.first-letter{
    text-transform: capitalize;
}

.hidden{
    visibility: hidden;
}

.link-no-decoration{
    text-decoration: none;
}

.link-no-decoration:hover{
    text-decoration: none;
    color: #ddb178;
}

.homepg{
    height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(img/Dnevna1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.logo{
    margin-top: 10px;
    margin-left: 10%;
}

.logo img{
    width: 70px;
    height: 70px;
}

.navbar{
    display: flex;
    text-align: center;
    position: fixed;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.5s;
    transition: top 0.5s ease;
    z-index: 3;
    top: 0;
}

.navbar.scrolled{
    top: 0;
    background-color: rgba(0, 0, 0, 0.85);
}

.social-media{
    margin-left: 20px;
    margin-top: 24px;
    display: flex;
    font-size: 12px;
    transition: all 0.3s ease;
}

.social-media.mobile-visible {
    display: block;
    margin-top: 20px; /* optional spacing */
}

.s-box{
    color: #fafafa;
    text-align: left;
    margin-left: 10%;
    flex-basis: 15%;
}

.social-media img{
    width: 15px;
    height: 15px;
    margin-top: 17px;
    margin-left: 2px;
}

.s-box a{
    color: #fafafa;
    text-decoration: none;
}

.s-box a:hover{
    color: #ddb178;
}

#copyEmail {
    cursor: pointer;
    transition: transform 0.2s;
}
#copyEmail:hover {
    transform: scale(1.2);
    opacity: 0.5;
}

.navbar-items{
    flex: 1;
    text-align: right;
    margin-top: 25px;
}

.navbar-items ul{
    padding-right: 20px;
    margin-right: 7%;
}

.navbar-items ul li{
    list-style: none;
    display: inline-block;
}

.navbar-items ul li a{
    color: #fafafa;
    padding: 0 16px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 2px;
}

.navbar-items ul li a:hover{
    color: #ddb178;
}

.burger{
    display: none;
}

/* ------CONTENT------ */
.content{
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    color: #fafafa;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.content .c-box:nth-child(1) {
    width: 300px; /* Match image width */
    flex: none;   /* Prevent flex from overriding width */
}

.c-box{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.c-box p{
    font-size: 18px;
    margin-left: 20px;
    margin-bottom: 12%;
}

.c-box img{
    height: 300px;
    width: 300px;
}

.heading{
    font-size: 40px;
    font-family: "DM Serif Text", serif;   
    font-weight: 400;
}

.heading span{
    color: #ddb178;
}

.para{
    font-size: 12px;
    padding: 16px 0;
    font-weight: 100;
}

.btn:hover{
    color: #fafafa;
    font-weight: 500;
    background-color: #6d6a67;
    transition: 1s;
}

.navbar.scrolled{
    background-color: #181818;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.content-buttons{
    width: 80%;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    color: #fafafa;
    display: flex;
    justify-content: center;
    gap: 80px;
}

.button-box{
    display: flex;
    justify-content: center;
    align-items: center;
    appearance: none;
    box-shadow: none;
    background-color: rgba(109, 106, 103, 0.5);
    color: #ddb178;
    border-radius: 10px;
    width: 580px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
}

.button-box:hover{
    background-color: #6d6a67;
    color: #fafafa;
    font-weight: 500;
    transform: scale(1.08);
}


/* -----ABOUT US------ */
.sec{
    width: 85%;
    text-align: center;
    margin: auto;
    padding: 6% 5% 3% 5%;
}

.sub_heading{
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: space-around;
    padding: 3% 0;
}

.sub_heading h1, .sub_heading p{
    width: 50%;
}

.sub_heading h1{
    font-size: 25px;
    font-weight: 100;
    text-align: right;
    padding-right: 20px;
}

.sub_heading p{
    font-size: 15px;
}

.box{
    position: relative;
}

.box img{
    width: 75%;
    height: 75%;
    border-radius: 10px;
}

.A_box{
    background-color: rgba(109, 106, 103, 0.6);
    padding: 2%;
    width: 35%;
    position: absolute;
    top: 5em;
    border-radius: 10px;
}

.A_box p{
    color: #000;
    font-size: 13px;
    padding: 2% 0;
}

.btn1{
    font-size: 15px;
    border: 1px solid #6d6a67;
    font-weight: 500;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
    padding: 15px 13px;
    background-color: #bbb7b3;
    cursor: pointer;
}

.btn1:hover{
    background-color:#6d6a67;
    color: #fafafa;
    font-weight: 500;
}

/* -----SERVICES------ */
.service_box{
    display: flex;
    padding-top: 5%;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
    gap: 30px;

}

.boxes{
    text-align: left;
    margin: 0 1%;
}

.boxes-img{
    width: 350px;
    height: 300px;
    background-position: 50% 75%;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.d3{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
              url('img/Dnevna2.jpg');
    background-position: 50% 75%;
    background-size: cover;
}

.idesign{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
              url('img/Dnevna3.jpg');
    background-position: 50% 75%;
    background-size: cover;
}

.boxes h1{
    padding: 2% 0;
}

.boxes p{
    width: 350px;
    font-size: 13px;
    text-align: left;
    padding: 2% 0;
}

.boxes a{
    color: #ddb178
}

.boxes a:hover{
    color: #999;
    letter-spacing: 2px;
}

/* ------CONTACT US------ */
.contact-sec {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4%;
    padding: 20px;
}

.contact_box {
    background: linear-gradient(to bottom, #ddb178, #fafafa);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact_box h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact_box input,
.contact_box textarea {
    width: 100%;
    outline: none;
    padding: 14px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    transition: border 0.3s;
}

.contact_box textarea {
        
    resize: none; /* disables resize completely */
}

.contact_box input:focus,
.contact_box textarea:focus {
    border-color: #6d6a67;
}

.contact_box button {
    width: 100%;
    padding: 14px;
    margin-top: 12px;
    border: none;
    border-radius: 10px;
    background-color: #ddb178;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact_box button:hover {
    background-color: #6d6a67;
    letter-spacing: 1px;
}

.form-status {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #6d6a67;
}

/* -----OUR WORKS------ */
.gallery-container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(3,350px);
    gap: 10px;
    width: 100%;
    margin: 3% auto;
}

.image{
    display: flex;
    justify-content: center;
    align-items: center;
}

.image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.gall{
    height: 100%;
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.gall h1{
    font-size: 30px;
    margin-bottom: 10px;
}

.gall p{
    color: #555;
}

.gall a{
    color: #ddb178
}

.gall a:hover{
    color: #999;
    letter-spacing: 2px;
}

/* -------STEPS------ */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin: 3% auto;
    text-align: left;
}

.steps-item-h2{
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    margin-bottom: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

.steps-item{
    line-height: 1.6;
    background-color: #f5f5f5;
    border-radius: 25px;
    padding: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
}

.steps-item p{
    position: relative;
    margin-bottom: 10px;
}

.steps-item a{
    color: #ddb178;
    position: relative;
}

.steps-item a:hover{
    color: #999;
    letter-spacing: 2px;
}

.steps-first-row{
    top: -120px;  
}

.steps-secomd-row{
    top: -160px;  
}

.steps-number{
    position: absolute;          /* adjust position */
    left: 0;
    font-size: 200px;     /* large faded number */
    font-weight: bold;
    color: rgba(0, 0, 0, 0.1);
    z-index: 0;  
}

.steps-item-h2 h2 {
    position: relative;
    z-index: 1; /* keep title above the faded number */
}

.btn-steps{
    text-align: center;
    margin-top: 10px;
    border-radius: 10px;
    border: 1px solid #6d6a67;
    padding: 7px 0;
    z-index: 2;
}

.btn-steps:hover{
    background-color: #6d6a67;
    color: #fafafa;
    font-weight: 500;
    cursor: pointer;
}



.steps-bottom-item{
    margin-top: auto;
    width: 100%;
}

/* -----FOOTER------- */
.footer{
    padding: 5% 1%;
    display: flex;
    justify-content: center;
    background-color: #565656;
    color: #fafafa;
}

.f-box{
    flex-basis: 21%;
}

.f-box li{
    letter-spacing: 1.5px;
    list-style: none;
    padding: 7px 0;
    color: #fafafa;
}

.f-box h2{
    font-weight: 100;
    color: #ddb178;
    padding-bottom: 12px;
    letter-spacing: 1px;
}

footer{
    text-align: center;
    background-color: #323030;
    color: #fafafa;
    padding: 10px 0;
}



/* ------RESPONSIVENESS------ */
@media only screen and (max-width: 980px){
    .navbar-items{
        position: absolute;
        background-color: #ddb178;
        height: 100vh;
        width: 200px;
        right: 0;
        top: 0;
        text-align: left;
        z-index: 2;
        margin-top: 0;
        transition:  all 1s ease-out;
    }
    .navbar-items ul li{
        display: block;
        padding: 16px 0;
        margin-left: 15px;
    }
    .navbar-items ul{
        padding-top: 48%;
        padding-right: 5px;
    }
    .navbar-items ul li a{
        color: #6d6a67;
        padding: 0 18px;
        font-size: 22px;
    }
    .navbar-items ul li a:hover{
        color: #6d6a67;
        border: 2px solid #6d6a67;
    }
    .burger{
        display: block;
        z-index: 3;
        position: absolute;
        color: #fafafa;
        right: 7%;
        top: 5px;
        font-size: 35px;
    }
    .burger a{
        color: #fafafa;
        text-decoration: none;
    }
    .burger a:hover{
        color: #6d6a67;
    }
    .h-class{
        height: 120vh;
        opacity: 0;
    }
    .v-class{
        opacity: 0;
    }
    .social-media {
        display: none; /* hidden by default on mobile */
    }
    .content img{
        width: 200px;
        height: 200px;
    }
    .box img{
        width: 90%;
    }
    .contact-sec{
        flex-direction: column;
    }
    .contact_box{
        width: 80%;
        margin-bottom: 3%;
    }
    .footer{
        justify-content: flex-end;
    }
    .f-box{
        flex-basis: 23%;
    }
    .service_box{
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (max-width: 887px){
    .content{
        align-items: center;
    }
    .c-box img{
        margin-left: 50px;
    }
    .c-box p{
        text-align: center;
    }
    .service_box{
        flex-direction: column;
    }
    .boxes-img{
        height: 300px;
        background-position: 50% 75%;
    }
    .boxes{
        padding-bottom: 5%;
    }
    .A_box{
        width: 62%;
        top: 2em;
    }
    .footer{
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: 20px;
    }
    .content{
        flex-direction: column;
        margin-left: 0;
    }
    .contact_box {
    width: 90%;
    padding: 1.5rem;
  }
}

@media only screen and (max-width: 642px){
    .content-buttons{
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .button-box{
        width: 70%;
    }
    .sub_heading{
        flex-direction: column;   
    }
    .sub_heading h1, .sub_heading p{
        text-align: center;
        width: 90%;
    }
    .gallery-container{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 300px);
        align-items: stretch;
        justify-items: stretch;
    }
}

@media only screen and (max-width: 491px){
    .homepg{
        background-position: 40% 0%;
    }
    .content{
        left: 50%;
    }
    .heading{
        font-size: 35px;
    }
    .sub_heading h1{
        text-align: center;
        margin-bottom: 10px;
    }
    .sub_heading p{
        font-size: 13px;
    }
    .A_box p{
        font-size: 12px;
    }
    .A_box button{
        margin-top: 0;
        padding: 10px 13px;
    }
    #SERVICES{
        margin-top: 20%;
    }
    .contact_box{
        width: 100%;
    }
    .box{
        margin-bottom: 5em;
    }
    .boxes-img{
        width: 300px;
        height: 250px;
        background-position: 50% 75%;
        background-repeat: no-repeat;
        position: relative;
        border-radius: 10px;
        overflow: hidden;
    }
    .boxes{
        width: 300px;
    }
    .boxes p{
        width: 300px;
    }
}