/* Global Styles */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --accent-color: gold;
    --text-color: #333333;
    --bg-color: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 30px;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
    position: relative;
}

/* Mobile Styles */
@media (max-width: 767px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .menu-btn.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 7px;
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: -7px;
    }
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--secondary-color);
    z-index: 1000;
    padding: 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.5rem;
}

.sidebar-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
}

.sidebar-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 1rem 0;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-links a:hover {
    color: var(--accent-color);
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--secondary-color);
    z-index: 3;
    width: 100%;
    padding: 0 20px;
}

.slider-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.slider-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.dot.active {
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive Styles for Slider */
@media (max-width: 768px) {
    .slider-dots {
        bottom: 20px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f9f9f9;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    height: auto;
}

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

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.portfolio-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}
.filter-btn {
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.filter-btn.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}
/* Showreel Section */
.showreel {
    padding: 5rem 0;
    background: #f9f9f9;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

/* Experience Section */
.experience {
    padding: 5rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
}

.year {
    flex: 0 0 100px;
    font-weight: bold;
}

.content {
    flex: 1;
    padding-left: 30px;
    border-left: 2px solid var(--accent-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-color);
}

.contact .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link span {
    font-weight: 500;
}

.social-link.instagram:hover {
    color: #E1306C;
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.2);
}

.social-link.instagram:hover i {
    background: -webkit-linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(1.2);
}

.social-link.facebook:hover {
    color: #1877F2;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.2);
}

.social-link.facebook:hover i {
    color: #1877F2;
    transform: scale(1.1);
}

.social-link.youtube:hover {
    color: #FF0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.social-link.youtube:hover i {
    color: #FF0000;
    transform: scale(1.1);
}

.social-link.whatsapp:hover {
    color: #25D366;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.social-link.whatsapp:hover i {
    color: #25D366;
    transform: scale(1.1);
}

.social-link.phone:hover {
    color: #4CAF50;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

.social-link.phone:hover i {
    color: #4CAF50;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .social-links {
        gap: 20px;
        padding: 0 20px;
    }

    .social-link {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .social-link i {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        justify-content: center;
    }
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--bg-color);
}

.gallery .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 3/4;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.gallery-item.show {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* View All Button */
.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.view-all-btn.active i {
    transform: rotate(180deg);
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 20px;
}

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

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 1001;
}

.modal-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.modal-prev,
.modal-next {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.modal-prev:hover,
.modal-next:hover {
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        padding: 0 15px;
    }

    .gallery-overlay i {
        font-size: 1.5rem;
    }

    .modal-nav {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 10px;
    }
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-links a {
    margin: 0 15px;
    color: var(--secondary-color);
    text-decoration: none;
}

/* Responsive Design */
/* Large Laptops and Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
}

/* Laptops and Small Desktops (992px to 1199px) */
@media (max-width: 1199px) {
    html {
        font-size: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
    html {
        font-size: 14px;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

/* Large Phones (576px to 767px) */
@media (max-width: 767px) {
    .menu-btn {
        display: block;
    }

    .mobile-sidebar {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Small Phones (up to 575px) */
@media (max-width: 575px) {
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.5rem;
    }

    .modal-nav {
        padding: 0 0.5rem;
    }

    .nav-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .menu-btn,
    .cta-btn,
    .contact-form,
    .modal {
        display: none;
    }

    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    body {
        color: #000;
        background: #fff;
    }

    img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}

/* Responsive Styles for Mobile Sidebar */
@media (max-width: 767px) {
    body.sidebar-open {
        overflow: hidden;
    }
}

@media (max-width: 350px) {
    .mobile-sidebar {
        width: 100%;
        right: -100%;
    }
}
