/* ========================================
   DESIGN PAGE - MODERN REDESIGN
   ======================================== */

/* Banner Section */
.banner {
    height: 100vh;
    max-height: 420px;
    min-height: 350px;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url(../source/design-background.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-bottom: 4px solid rgba(235,89,95,0.8);

}

.content {
    width: 100%;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

/* Main Gallery Section */
.m1 {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.t1 {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.t1::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    border-radius: 2px;
}

.t1 h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.t1 p {
    font-size: 1.3rem;
    color: #495057;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Gallery Grid Layout */
.d1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.d1 div {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.d1 div:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #eb595f;
}

.d1 div img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.d1 div:hover img {
    transform: scale(1.05);
}

.d1 div h2 {
    padding: 25px 20px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin: 0;
    background: white;
}

.d1 div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px 20px 0 0;
}

.d1 div:hover::before {
    opacity: 1;
}

/* Experience Section */
.m2 {
    padding: 80px 0;
    background: white;
    position: relative;
}

.d2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.d2 div:first-child {
    padding: 40px;
    position: relative;
}

.d2 div:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 80px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    border-radius: 3px;
}

.d2 div h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
    margin-left: 30px;
}

.d2 div p {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 30px;
    margin-left: 30px;
}

.d2 div a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #eb595f;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 30px;
    padding: 15px 30px;
    border: 2px solid #eb595f;
    border-radius: 50px;
    background: transparent;
}

.d2 div a:hover {
    color: white;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(235, 89, 95, 0.3);
}

.d2 div a p {
    margin: 0;
    font-size: inherit;
    color: inherit;
}

.d2 div:last-child {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.d2 div img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.d2 div:last-child:hover img {
    transform: scale(1.05);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 968px) {
    .d1 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .d2 {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .d2 div h2,
    .d2 div p,
    .d2 div a {
        margin-left: 0;
    }
    
    .d2 div:first-child {
        padding: 20px;
    }
    
    .d1 div {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .banner {
        min-height: 300px;
        background-attachment: scroll;
    }
    
    .content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
      .m1, .m2 {
        padding: 60px 0;
    }
    
    .t1 h2 {
        font-size: 2.2rem;
    }
    
    .t1 p {
        font-size: 1.1rem;
    }
    
    .d2 div h2 {
        font-size: 2rem;
    }
    
    .d2 div p {
        font-size: 1rem;
    }
    
    .d2 div a {
        font-size: 1rem;
        padding: 12px 25px;
    }
    
    .d1 div h2 {
        font-size: 1.3rem;
        padding: 20px 15px;
    }
    
    .d2 div img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .d1 div {
        max-width: 100%;
    }
    
    .d1 div img {
        height: 200px;
    }
      .d2 div h2 {
        font-size: 1.8rem;
    }
    
    .t1 h2 {
        font-size: 1.8rem;
    }
    
    .t1 p {
        font-size: 1rem;
    }
    
    .d1 {
        gap: 20px;
    }
}