/* Base styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: #000;
    background-image: url('../images/bgtile.gif');
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: 0 0;
    overflow-x: hidden;
}

.wrapper {
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
    box-shadow: -20px 0 30px rgba(0, 0, 0, 0.5),
               20px 0 30px rgba(0, 0, 0, 0.5);
}

/* Header styles */
header {
    background-color: #3492eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: none !important;
    width: 100%;
}

header .container {
    box-shadow: none !important;
    background-color: #3492eb;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    box-shadow: none !important;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e61c98;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: 20px auto;
    background-color: transparent;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-image-container {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lightbox-image.fade-out {
    opacity: 0;
}

.lightbox-info {
    margin-top: 20px;
    text-align: center;
    color: #fff;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lightbox-info.fade-out {
    opacity: 0;
}

.lightbox-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.lightbox-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.lightbox-category {
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    font-size: 14px;
}

.close-lightbox {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

/* Navigation arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.lightbox-nav-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.lightbox-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.portfolio-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: #222;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.03);
}

.portfolio-item.fade-in {
    opacity: 1;
}

.portfolio-item.fade-out {
    opacity: 0;
}

/* Animations section styles */
.animations-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.animations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    padding: 0;
    width: 100%;
}

.animation-item {
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
    display: block;
    width: 100%;
}

.animation-item:hover {
    transform: translateY(-5px);
}

.animation-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
    cursor: pointer;
}

.animation-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.animation-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.animation-thumbnail:hover img {
    opacity: 0;
}

.animation-thumbnail:hover iframe {
    opacity: 1;
}

.animation-info {
    padding: 20px;
    background-color: #222;
}

.animation-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.animation-description {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
}

/* Video player modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    opacity: 1;
}

.video-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: 20px auto;
    background-color: transparent;
    padding: 20px;
    border-radius: 5px;
    box-shadow: none;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.video-container {
    position: relative;
	padding-top: 56.25%
    max-width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.video-container iframe{
	position: relative;
	width: 75%;
	height: 75%;
	border: none;

}
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
	
}

.close-video {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.video-info {
    margin-top: 20px;
    text-align: center;
    color: #fff;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.video-info.fade-out {
    opacity: 0;
}

.video-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.video-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Navigation arrows for video */
.video-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.video-nav-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.video-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Portfolio tabs */
.portfolio-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding: 0 20px;
}

.portfolio-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #ccc;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.portfolio-tab.active {
    color: #fff;
    border-bottom-color: #e61c98;
}

.portfolio-tab:hover {
    color: #fff;
}

/* Portfolio content */
.portfolio-content {
    display: none;
    padding: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-content.active {
    display: block;
    opacity: 1;
}

.portfolio-content.fade-out {
    opacity: 0;
}

.portfolio-content.fade-in {
    opacity: 1;
}

/* Section styles */
section {
    padding: 40px 0;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #fff;
}

/* Specific section headers */
.portfolio-section h2,
.about-section h2,
.contact-section h2 {
    color: #e61c98;
}

/* Portfolio section */
.portfolio-section {
    position: relative;
    padding: 40px 0;
    background-color: #111;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40px;
    right: -40px;
    bottom: 0;
    background-color: #111;
    z-index: -1;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 15px;
    margin: 0 5px 10px;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    color: #000;
    background-color: #e61c98;
    border-radius: 4px;
    font-weight: 500;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 0;
}

.portfolio-item-image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.7);
}

.portfolio-item-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-item-info {
    padding: 15px;
}

.portfolio-item-info h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #fff;
}

.portfolio-item-info p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #ccc;
}

.portfolio-category {
    display: inline-block;
    padding: 3px 8px;
    background-color: #333;
    border-radius: 3px;
    font-size: 12px;
    color: #fff;
}

/* About section */
.about-section {
    position: relative;
    padding: 40px 0;
    background-color: #111;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40px;
    right: -40px;
    bottom: 0;
    background-color: #111;
    z-index: -1;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px;
}

.about-image {
    flex: 1;
    min-height: 300px;
    min-width: 300px;
    max-width: 500px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    display: block;
}

.about-text {
    flex: 2;
    color: #fff;
    padding: 20px;
}

/* Contact section */
.contact-section {
    position: relative;
    padding: 40px 0;
    background-color: #111;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40px;
    right: -40px;
    bottom: 0;
    background-color: #111;
    z-index: -1;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #222;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #fff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 16px;
    background-color: #333;
    color: #fff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #e61c98;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #d41887;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 28, 152, 0.3);
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin: 0 -40px;
    width: calc(100% + 80px);
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ddd;
}

.copyright {
    font-size: 14px;
    color: #aaa;
}

/* Hero section */
.hero-section {
    background-color: #000;
    background-image: url('../images/bgtile.gif');
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: 0 0;
    text-align: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    max-height: 600px;
    margin: 0 -40px;
    width: calc(100% + 80px);
}

.hero-image {
    width: calc(100% + 80px);
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
    margin-left: -40px;
    background-color: #111;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
    z-index: 1;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #fff;
}

.hero-content p {
    font-size: 16px;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

/* Latest Work section styles */
.latest-work-section {
    position: relative;
    padding: 40px 0;
    background-color: #111;
    display: none;
    margin: 0 -40px;
    width: calc(100% + 80px);
}

.latest-work-section.has-content {
    display: block;
}

.latest-work-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #111;
    z-index: -1;
}

.latest-work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.latest-work-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: contents;
}

.latest-work-item:hover .latest-work-image img {
    transform: scale(1.05);
}

.latest-work-item.fade-in {
    opacity: 1;
}

.latest-work-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.7);
}

.latest-work-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.latest-work-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
    cursor: pointer;
}

.latest-work-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.latest-work-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.latest-work-video:hover img {
    opacity: 0;
}

.latest-work-video:hover iframe {
    opacity: 1;
}

.latest-work-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.latest-work-content h2 {
    color: #e61c98;
    margin-bottom: 20px;
    font-size: 28px;
    text-align: left;
}

.latest-work-content h3 {
    margin: 0 0 15px;
    font-size: 32px;
    color: #fff;
    text-align: left;
}

.latest-work-content p {
    margin: 0 0 20px;
    font-size: 18px;
    color: #ccc;
    line-height: 1.6;
    text-align: left;
}

.latest-work-category {
    display: inline-block;
    padding: 8px 16px;
    background-color: #333;
    border-radius: 4px;
    font-size: 16px;
    color: #fff;
}

/* Popup styles */
.popup-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-content {
    position: relative;
    max-width: 90%;
    width: 400px;
    margin: 20px auto;
    background-color: #222;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.popup-message.show {
    display: block;
    visibility: visible;
    opacity: 1;
}

.popup-message.show .popup-content {
    transform: translateY(0);
}

.popup-message.hide {
    opacity: 0;
    visibility: hidden;
}

.popup-message i {
    color: #e61c98;
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.popup-message p {
    margin: 0;
    font-size: 18px;
    color: #fff;
    line-height: 1.5;
}

/* Responsive styles */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 30px;
        padding: 15px;
    }
    
    .about-image {
        width: 80%;
        min-width: 250px;
        min-height: auto;
        margin: 0 auto;
    }
    
    .about-text {
        width: 100%;
        padding: 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-section {
        margin: 0 -20px;
        width: calc(100% + 40px);
    }
    
    .hero-image {
        width: calc(100% + 40px);
        margin-left: -20px;
    }
    
    .latest-work-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        display: flex;
        flex-direction: column-reverse;
    }
    
    .latest-work-content {
        padding: 0;
    }
    
    .latest-work-content h3 {
        font-size: 28px;
    }
} 