
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
  }
body {
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, #4a6cf7, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Search Bar */
.search-container {
    padding: 10px 20px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 60px;
    z-index: 95;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    outline: none;
}

.search-btn {
    background: linear-gradient(to right, #4a6cf7, #a855f7);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-weight: 600;
}

/* Main Container */
.main-container {
    margin-bottom: 60px;
    width: 100%;
}

/* Content Tabs */
.content-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    background: white;
    position: sticky;
    top: 110px;
    z-index: 90;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    color: #4a6cf7;
    border-bottom: 2px solid #4a6cf7;
}

/* Content Feed */
.content-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Content Card */
.content-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.content-media-container {
    width: 100%;
    height: 0;
    padding-bottom: 125%; /* 4:5 aspect ratio */
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

.content-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-media:hover {
    transform: scale(1.03);
}

.favorite-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    border: none;
    outline: none;
}

.favorite-btn.favorited {
    color: #ff4d4d;
}

.content-info {
    padding: 15px;
}

.content-title {
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-btn {
    background: linear-gradient(to right, #4a6cf7, #a855f7);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
}
.contact-info a{
     color: Black;
     font-weight: 200;
     font-size: 12px;
     text-decoration: none;
     padding: 10px 12px;
     width: max-content; 
     border-radius: 20px;
}
/* Preview Modal */
.preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 1000;
    overflow-y: auto;
}

.preview-content {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 40px auto;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}

.preview-media-container {
    width: 100%;
    height: 70vh;
    position: relative;
    background-color: #000;
}

.preview-media {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preview-info {
    padding: 30px;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.preview-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.preview-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.meta-icon {
    font-size: 16px;
}

.preview-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #444;
}

.preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.tag {
    background-color: #f1f3f4;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #555;
}

.preview-actions {
    display: flex;
    gap: 15px;
}

.preview-download-btn {
    background: linear-gradient(to right, #4a6cf7, #a855f7);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.preview-download-btn:hover {
    transform: translateY(-2px);
}

.preview-close-btn {
    background: #f1f3f4;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-close-btn:hover {
    background: #e0e0e0;
}

.download-options {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.download-options-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.resolution-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.resolution-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resolution-btn:hover {
    border-color: #4a6cf7;
    color: #4a6cf7;
}

.resolution-btn.selected {
    background: #4a6cf7;
    color: white;
    border-color: #4a6cf7;
}

/* Profile Modal */
.profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 1000;
    overflow-y: auto;
}

.profile-content {
    max-width: 600px;
    margin: 40px auto;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    padding: 30px;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f1f3f4;
    margin-bottom: 15px;
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.profile-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.profile-bio {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.profile-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #4a6cf7;
}

.profile-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.gallery-item {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.contact-item i {
    width: 20px;
    color: #4a6cf7;
}

.profile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    border-top: 1px solid #e0e0e0;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-3px);
}

.nav-icon {
    font-size: 22px;
    margin-bottom: 3px;
    color: #666;
    transition: all 0.3s ease;
}

.nav-text {
    font-size: 10px;
    color: #666;
    transition: all 0.3s ease;
}

.active .nav-icon {
    color: #4a6cf7;
    transform: translateY(-3px);
}

.active .nav-text {
    color: #4a6cf7;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .content-feed {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .preview-content {
        margin: 20px auto;
    }
    
    .preview-media-container {
        height: 50vh;
    }
    
    .preview-info {
        padding: 20px;
    }

    .profile-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .content-feed {
        grid-template-columns: 1fr;
    }
    
    .preview-actions {
        flex-direction: column;
    }

    .profile-gallery {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.heart-beat {
    animation: heartBeat 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Loading Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    border-top-color: #4a6cf7;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

/* No results message */
.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    grid-column: 1 / -1;
}









/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-logo {
    width: 120px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.loading-text {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.progress-container {
    width: 80%;
    max-width: 400px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f7a54a 0%, #f75555 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.loading-details {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 30px;
    font-size: 14px;
    text-align: center;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}





/* Add this to your stylesheet */
img {
    pointer-events: none; /* Prevents right-click on images */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.content-media-container {
    position: relative;
}

.content-media-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.02);
    z-index: 1;
    pointer-events: none;
}



.footer-credit {
    text-align: center;
    padding: 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .footer-credit a {
    color: #4a6cf7;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.137);
  }
  
  .footer-credit a:hover {
    background-color: #4a6cf7;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  