/* ====================================
   CONTACT PAGE SPECIFIC STYLES
==================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--accent-white) 0%, var(--accent-light) 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Methods Section */
.contact-methods-section {
    padding: 5rem 0;
    background: var(--background);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.method-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.method-icon i {
    font-size: 2rem;
    color: white;
}

.method-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.method-card p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.method-action {
    margin-top: auto;
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background: var(--background-alt);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--text-medium);
    font-size: 1.125rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-medium);
    box-shadow: 0 0 0 3px rgba(107, 68, 35, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.character-count {
    text-align: right;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-medium);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-medium);
    border-color: var(--primary-medium);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.submit-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-messages {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-messages.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-messages.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 0;
    background: var(--background);
}

.newsletter-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start; /* Fixed alignment */
}

.newsletter-content h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.newsletter-content p {
    color: var(--text-medium);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-item i {
    color: var(--primary-medium);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-item span {
    color: var(--text-medium);
    line-height: 1.5;
}

.newsletter-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.newsletter-form h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

/* Newsletter Form Fixes */
.newsletter-form .form-group {
    margin-bottom: 1.5rem;
}

.newsletter-form .form-group label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: block;
}

.newsletter-form .form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    height: 3.25rem; /* Fixed height for consistency */
    box-sizing: border-box;
}

.newsletter-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-medium);
    box-shadow: 0 0 0 3px rgba(107, 68, 35, 0.1);
}

.newsletter-form .btn-primary {
    width: 100%;
    padding: 1rem;
    height: 3.25rem; /* Match input height */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    background: var(--primary-medium);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-top: 1rem;
}

.newsletter-form .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

/* Newsletter checkbox grid fixes */
.newsletter-form .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.newsletter-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-medium);
    padding: 0.5rem 0;
}

.newsletter-form .checkbox-label input[type="checkbox"] {
    display: none;
}

.newsletter-form .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.newsletter-form .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.newsletter-form .checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-medium);
    border-color: var(--primary-medium);
}

.newsletter-form .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
}

.privacy-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Community Section */
.community-section {
    padding: 5rem 0;
    background: var(--background-alt);
}

.community-content {
    max-width: 1200px;
    margin: 0 auto;
}

.community-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.community-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.community-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.community-icon i {
    font-size: 1.75rem;
    color: white;
}

.community-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.community-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.community-card ul {
    list-style: none;
    padding: 0;
}

.community-card ul li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.community-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-medium);
    font-weight: bold;
    font-size: 1.2rem;
}

.community-cta {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.community-cta h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.community-cta p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.community-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Social Media Section */
.social-section {
    padding: 5rem 0;
    background: var(--background);
}

.social-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.social-content h2 {
    margin-bottom: 1rem;
}

.social-content p {
    color: var(--text-medium);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.social-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.social-platform {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-platform:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-medium);
}

.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-icon.facebook { background: #1877f2; }
.platform-icon.twitter { background: #1da1f2; }
.platform-icon.youtube { background: #ff0000; }
.platform-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.platform-icon i {
    color: white;
    font-size: 1.5rem;
}

.platform-info {
    text-align: left;
}

.platform-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.platform-info p {
    color: var(--text-medium);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Expectations Section */
.expectations-section {
    padding: 5rem 0;
    background: var(--background-alt);
}

.expectations-content {
    max-width: 1200px;
    margin: 0 auto;
}

.expectations-content h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.expectations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.expectation-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.expectation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.expectation-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.expectation-icon i {
    font-size: 1.75rem;
    color: white;
}

.expectation-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.expectation-item p {
    color: var(--text-medium);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .methods-grid,
    .community-features,
    .expectations-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .checkbox-grid,
    .newsletter-form .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .social-platforms {
        grid-template-columns: 1fr;
    }
    
    .social-platform {
        padding: 1.5rem;
    }
    
    .community-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .community-buttons .btn-primary,
    .community-buttons .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .contact-methods-section,
    .contact-form-section,
    .newsletter-section,
    .community-section,
    .social-section,
    .expectations-section {
        padding: 4rem 0;
    }
    
    .form-container {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .method-card,
    .community-card,
    .expectation-item {
        padding: 2rem;
    }
    
    .newsletter-form-container,
    .community-cta {
        padding: 2rem;
    }
    
    .method-icon,
    .community-icon,
    .expectation-icon {
        width: 60px;
        height: 60px;
    }
    
    .method-icon i,
    .community-icon i,
    .expectation-icon i {
        font-size: 1.5rem;
    }
    
    .platform-icon {
        width: 50px;
        height: 50px;
    }
    
    .platform-icon i {
        font-size: 1.25rem;
    }
    
    .social-platform {
        padding: 1.25rem;
        gap: 1rem;
    }
}

/* Form validation styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Loading state */
.btn-primary.loading {
    position: relative;
    color: transparent;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        border-width: 3px;
    }
    
    .checkmark {
        border-width: 3px;
    }
}

/* Subtle glowing gold effect with seamless shine */
.highlight-gold {
    color: #D4A574; /* Warm gold color */
    font-weight: 700;
    position: relative;
    text-shadow: 0 0 8px rgba(212, 165, 116, 0.3), 0 0 12px rgba(212, 165, 116, 0.2);
    animation: subtleGlow 4s ease-in-out infinite alternate;
}

/* Very gentle glow animation */
@keyframes subtleGlow {
    from {
        text-shadow: 0 0 8px rgba(212, 165, 116, 0.3), 0 0 12px rgba(212, 165, 116, 0.2);
    }

    to {
        text-shadow: 0 0 12px rgba(212, 165, 116, 0.4), 0 0 16px rgba(212, 165, 116, 0.25);
    }
}

/* Moving shine effect - seamless with background */
.highlight-gold::after {
    content: '';
    position: absolute;
    top: -2px; /* Slightly extend beyond text */
    bottom: -2px; /* Slightly extend beyond text */
    left: -30%;
    width: 30%;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0.1) 80%, rgba(255, 255, 255, 0) 100% );
    animation: shineBackAndForth 5s infinite;
    pointer-events: none;
    border-radius: 2px; /* Soft rounded edges */
    mix-blend-mode: overlay; /* Blend with background seamlessly */
}

/* Back and forth shine animation */
@keyframes shineBackAndForth {
    0% {
        left: -30%;
    }

    25% {
        left: 100%;
    }

    50% {
        left: 100%;
    }

    75% {
        left: -30%;
    }

    100% {
        left: -30%;
    }
}

/* For users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .highlight-gold {
        animation: subtleGlow 4s ease-in-out infinite alternate;
    }

        .highlight-gold::after {
            animation: none;
            display: none;
        }
}

sup {
    /* Nudge the superscript up into the correct position */
    position: relative;
    top: -0.5em;
    /* Make the superscript text slightly smaller */
    font-size: 0.75em;
    /* Prevent the superscript from affecting the line's height */
    vertical-align: baseline;
}

/* ====================================
   FREE DESIGNS SECTION
==================================== */

.designs-section {
    padding: 5rem 0;
    background: var(--background);
}

.designs-header {
    text-align: center;
    margin-bottom: 4rem;
}

    .designs-header h2 {
        margin-bottom: 1rem;
    }

.designs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.design-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

    .design-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 45px var(--shadow-medium);
    }

.design-preview {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--background-alt);
}

    .design-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.design-card:hover .design-preview img {
    transform: scale(1.08);
}

.design-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-medium);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.example-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dot.active {
        background: white;
        width: 24px;
        border-radius: 4px;
    }

.design-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.design-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.design-description {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.design-actions {
    display: flex;
    gap: 1rem;
}

.btn-download {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: var(--primary-medium);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

    .btn-download:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(107, 68, 35, 0.3);
    }

.btn-preview {
    padding: 0.875rem;
    background: white;
    color: var(--primary-medium);
    border: 2px solid var(--primary-medium);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-preview:hover {
        background: var(--primary-medium);
        color: white;
    }

/* Modal for preview */
.design-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

    .design-modal.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .modal-close:hover {
        background: var(--primary-medium);
        color: white;
        transform: rotate(90deg);
    }

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .modal-nav:hover {
        background: var(--primary-medium);
        color: white;
    }

    .modal-nav.prev {
        left: 1rem;
    }

    .modal-nav.next {
        right: 1rem;
    }

.modal-info {
    padding: 1.5rem;
    background: white;
}

    .modal-info h3 {
        color: var(--text-dark);
        margin-bottom: 0.5rem;
    }

    .modal-info p {
        color: var(--text-medium);
        margin-bottom: 1rem;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Loading state */
.designs-grid.loading {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-medium);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive design */
@media (max-width: 768px) {
    .designs-section {
        padding: 4rem 0;
    }

    .designs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .design-preview {
        height: 240px;
    }

    .design-actions {
        flex-direction: column;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .design-card {
        margin: 0 0.5rem;
    }

    .design-content {
        padding: 1.5rem;
    }

    .modal-nav.prev {
        left: 0.5rem;
    }

    .modal-nav.next {
        right: 0.5rem;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}