/* Design Page Styles - Images Display Immediately */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.design-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    background: transparent;
    background-size: 200% 200%;
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0;
    font-weight: 700;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
    animation: titleFloat 3s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes titleFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* Gallery Section */
.design-gallery {
    padding: 80px 20px;
    background: transparent;
    min-height: 100vh;
}

.gallery-container {
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-row {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    justify-content: center;
    align-items: stretch;
}

.gallery-row:first-child {
    margin-bottom: 80px;
}

.gallery-item {
    flex: 1;
    max-width: 380px;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
}

.gallery-item.single-item {
    max-width: 600px;
    flex: none;
}

/* Image Container Styles */
.image-container {
    position: relative;
    margin-bottom: 25px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background: #fff;
}

.image-container::before {
    display: none;
}

.image-container:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

.image-container img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s ease;
    display: block;
    opacity: 1;
}

.image-container.large img {
    height: 400px;
}

.image-container:hover img {
    /* Keep only basic hover effect without scale */
    filter: brightness(1.05);
}

/* Image Overlay - Removed hover effects */
.image-overlay {
    display: none;
}

/* Button Styles */
.design-btn {
    display: inline-block;
    text-decoration: none;
    background: #2C3E50;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.design-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.design-btn:hover::before {
    left: 100%;
}

.design-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
    background: #2C3E50;
}

.design-btn:active {
    transform: translateY(-1px) scale(1.02);
    transition-duration: 0.1s;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    background: transparent;
    margin: auto;
    padding: 40px;
    width: 90%;
    max-width: 900px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.modal.show .modal-content {
    transform: translateY(-50%) scale(1);
}

.modal-image {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    transition: transform 0.3s ease;
}

.modal-image:hover {
    transform: scale(1.02);
}

.modal-caption {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg) scale(1.1);
}

/* Highlight Effect */
.image-container.highlighted {
    animation: pulseHighlight 1.5s ease;
    box-shadow: 0 0 40px rgba(102, 126, 234, 1) !important;
}

@keyframes pulseHighlight {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
        transform: translateY(-10px) scale(1.03);
    }
    50% { 
        box-shadow: 0 0 60px rgba(102, 126, 234, 1);
        transform: translateY(-15px) scale(1.05);
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 3000;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(120%) translateY(-20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.notification.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.notification::before {
    content: '✨';
    margin-right: 10px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-row {
        gap: 30px;
    }
    
    .gallery-item {
        max-width: 320px;
    }
    
    .gallery-item.single-item {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .design-gallery {
        padding: 60px 15px;
    }
    
    .gallery-row {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .gallery-item,
    .gallery-item.single-item {
        max-width: 100%;
        width: 100%;
    }
    
    .image-container img,
    .image-container.large img {
        height: 220px;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .close {
        font-size: 35px;
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .design-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .notification {
        right: 15px;
        top: 20px;
        padding: 15px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .image-container img,
    .image-container.large img {
        height: 180px;
    }
    
    .image-overlay span {
        font-size: 1.3rem;
    }
    
    .modal-caption {
        font-size: 1.1rem;
        padding: 12px 20px;
    }
}

/* Focus States for Accessibility */
.design-btn:focus,
.close:focus {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

.image-container:focus-within {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 4px;
}

