/* style.css - Complete styles from original index.html */
/* Geometric Line Animation */
.geometric-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    animation: moveLine 20s infinite linear;
}

.line-1 {
    width: 2px;
    height: 200%;
    top: -50%;
    left: 20%;
    color: rgba(74, 222, 128, 0.3);
    animation-duration: 25s;
}

.line-2 {
    width: 1px;
    height: 150%;
    top: -25%;
    left: 40%;
    color: rgba(96, 165, 250, 0.4);
    animation-duration: 20s;
    animation-delay: -5s;
}

.line-3 {
    width: 3px;
    height: 180%;
    top: -40%;
    left: 60%;
    color: rgba(192, 132, 252, 0.3);
    animation-duration: 30s;
    animation-delay: -10s;
}

.line-4 {
    width: 1.5px;
    height: 220%;
    top: -60%;
    left: 80%;
    color: rgba(248, 113, 113, 0.3);
    animation-duration: 22s;
    animation-delay: -15s;
}

.line-5 {
    width: 2.5px;
    height: 170%;
    top: -35%;
    left: 10%;
    color: rgba(251, 191, 36, 0.3);
    animation-duration: 28s;
    animation-delay: -7s;
}

@keyframes moveLine {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Floating geometric shapes */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.shape {
    position: absolute;
    border: 2px solid;
    opacity: 0.1;
    animation: floatShape 15s infinite linear;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 50px solid;
    background: transparent !important;
}

.square {
    width: 40px;
    height: 40px;
    transform: rotate(45deg);
}

.circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.shape-1 {
    top: 10%;
    left: 15%;
    border-color: #4ade80;
    animation-duration: 20s;
}

.shape-2 {
    top: 70%;
    left: 85%;
    border-color: #60a5fa;
    animation-duration: 25s;
}

.shape-3 {
    top: 80%;
    left: 10%;
    border-color: #c084fc;
    animation-duration: 18s;
}

.shape-4 {
    top: 20%;
    left: 75%;
    border-color: #f87171;
    animation-duration: 22s;
}

.shape-5 {
    top: 60%;
    left: 25%;
    border-color: #fbbf24;
    animation-duration: 30s;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(50px, 30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(100px, -20px) rotate(180deg) scale(1.2);
    }
    75% {
        transform: translate(30px, 60px) rotate(270deg) scale(1.1);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

/* Glass morphism */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
}

/* Modern color scheme */
.text-emerald { color: #10b981; }
.text-blue { color: #3b82f6; }
.text-purple { color: #8b5cf6; }
.text-rose { color: #f43f5e; }
.text-amber { color: #f59e0b; }

.bg-emerald { background-color: #10b981; }
.bg-blue { background-color: #3b82f6; }
.bg-purple { background-color: #8b5cf6; }
.bg-rose { background-color: #f43f5e; }
.bg-amber { background-color: #f59e0b; }

/* Hover effects */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #10b981, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button styles */
.cta-button {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.secondary-button {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Admin panel styles */
.admin-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem;
}

.admin-container {
    max-width: 800px;
    margin: 2rem auto;
    background-color: rgba(30, 30, 30, 0.95);
    border-radius: 24px;
    padding: 2rem;
    color: white;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-works {
    margin-top: 3rem;
}

.admin-work-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.admin-work-actions button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: 0.5rem;
    font-size: 1.2rem;
}

.admin-work-actions .delete {
    color: #ff4d4d;
}

.admin-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #10b981;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.admin-toggle:hover {
    transform: scale(1.1);
}

/* Contact form styles */
.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    width: 100%;
    margin-bottom: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #10b981;
}

.contact-form button {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Portfolio item styles */
.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Social media icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.tiktok:hover {
    background: #000000;
}

.social-icon.email:hover {
    background: #ea4335;
}

.social-icon.phone:hover {
    background: #10b981;
}

/* Mobile Navigation Fixes */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #10b981;
}

.mobile-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Show mobile menu button on mobile */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Package styles */
.package-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.package-card.popular {
    border-color: #10b981;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Enhanced portfolio grid styles */
.portfolio-grid-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
/* Progress Bar Styles */
.upload-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.upload-status {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 5px;
}

/* Media Gallery Styles */
.media-gallery {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.main-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.main-media img, .main-media video {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.media-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.media-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.media-thumbnail.active {
    border-color: #10b981;
}

.media-thumbnail img, .media-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-thumbnail .media-type {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Instagram Reel Style Videos */
.reel-video {
    width: 100%;
    max-width: 400px;
    height: 600px;
    border-radius: 16px;
    overflow: hidden;
    background: black;
    margin: 0 auto;
}

.reel-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox/Modal Styles */
.media-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.media-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: black;
    border-radius: 12px;
    overflow: hidden;
}

.modal-content img, .modal-content video {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10001;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.modal-nav button {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Admin Edit Styles */
.edit-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.edit-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.edit-media-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.edit-media-item img, .edit-media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-media-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.edit-media-actions button {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    cursor: pointer;
}

/* File Upload Enhancements */
.file-upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.file-upload-area.dragover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.upload-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.upload-preview-item img, .upload-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-preview-item .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    cursor: pointer;
}

/* Responsive Media Gallery */
@media (max-width: 768px) {
    .main-media img, .main-media video {
        height: 300px;
    }
    
    .reel-video {
        height: 500px;
        max-width: 300px;
    }
    
    .media-thumbnails {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
}

/* Loading Animation */
.uploading {
    position: relative;
    overflow: hidden;
}

.uploading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}
.portfolio-grid-item:hover .portfolio-grid-overlay {
    opacity: 1;
}