/* ==========================
   GENERAL STYLES
========================== */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0 0 15px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================
   NAVIGATION MENU
========================== */
nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #ff6f61;
}

/* ==========================
   HERO SECTION
========================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('https://ts2.mm.bing.net/th?q=interior+design+background') center/cover no-repeat;
    padding: 0 15px;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.hero-section img {
    margin-top: 30px;
    max-width: 100%;
    border-radius: 10px;
}

/* ==========================
   SERVICES SECTION
========================== */
#services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

#services h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

#services .col-md-3 {
    text-align: center;
}

#services .col-md-3 h5 {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
}

#services .col-md-3 p {
    font-size: 14px;
    color: #555;
}

.service-image {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.service-image:hover {
    transform: scale(1.05);
}

/* ==========================
   PORTFOLIO SECTION
========================== */
#portfolio {
    padding: 80px 0;
}

#portfolio h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

#portfolio img {
    width: 100%;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.portfolio-image {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.portfolio-image.fade-in,
.service-image.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ==========================
   ABOUT SECTION
========================== */
#about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

#about h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
}

#about p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.d-flex {   display: flex !Important;    
  justify-content: center;      
  flex-wrap: wrap;}


.justify-content-center {justify-content: center;}


/* ==========================
   CONTACT SECTION
========================== */
#contact {
    padding: 80px 0;
}

#contact h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
}

#contact p {
    text-align: center;
    font-size: 16px;
    margin-bottom: 30px;
}

#contact form input,
#contact form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

#contact form button {
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    background-color: #ff6f61;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact form button:hover {
    background-color: #e85c50;
}

/* ==========================
   FOOTER
========================== */
footer {
    background-color: #222;
    color: white;
    padding: 40px 0;
}

footer p {
    margin-bottom: 15px;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

footer a:hover {
    color: #ff6f61;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 991px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-section p {
        font-size: 18px;
    }

    #services .col-md-3 {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 16px;
    }

    #services h2,
    #portfolio h2,
    #about h2,
    #contact h2 {
        font-size: 28px;
    }
}