/*

/* Basic reset and body styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

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

/* Animated Header Styles */
.header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

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

/* Logo Styles */
.logo-img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

.header-scrolled .logo-img {
    height: 80px;
}

/* Navigation Bar */
.navigation-bar {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
    transition: all 0.3s ease;
    transform-origin: center;
    font-family: 'Montserrat', sans-serif;
    animation: slideInNav 0.5s ease forwards;
    opacity: 0;
}

/* Staggered animation delays for nav items */
.nav-link:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-link:nth-child(2) {
    animation-delay: 0.3s;
}

.nav-link:nth-child(3) {
    animation-delay: 0.5s;
}

.nav-link:nth-child(4) {
    animation-delay: 0.7s;
}

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

/* Hover Effects */
.nav-link:hover,
.nav-link:focus {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
    transform: scale(1.05);
}

/* Active state */
.nav-link:active {
    transform: scale(0.95);
}

/* Hero Section with Animated Background */
.hero {
    padding: 150px 0 100px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Animated background effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('Images/Bling\ Designs\ -\ Business\ Flyer_.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: backgroundZoom 20s ease-in-out infinite alternate;
    opacity: 1; /* Set opacity to 100% */
}

/* Semi-transparent overlay for better text visibility */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0; /* Set opacity to 100% */
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

.hero p {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 1s forwards;
    opacity: 0;
    margin-bottom: 2rem;
}

.hero-buttons {
    animation: fadeInUp 1s ease 1.2s forwards;
    opacity: 0;
}

/* Background zoom animation */
@keyframes backgroundZoom {
    0% {
        transform: scale(1);
        background-position: center center;
    }
    100% {
        transform: scale(1.1);
        background-position: center center;
    }
}

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

/* Gallery Section */
.gallery-section {
    padding: 120px 0 80px;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
    animation: fadeInDown 1s ease;
    margin-top: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Full-width Carousel */
#designCarousel {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-item img {
    height: 70vh;
    object-fit: cover;
    animation: fadeIn 1s ease;
}

.placeholder-slide {
    height: 70vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.placeholder-content {
    text-align: center;
    animation: fadeIn 1s ease;
}

.placeholder-content h5 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.placeholder-grid {
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border-radius: 10px;
}

/* Gallery Grid */
.gallery-grid {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    height: 300px;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.6s;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

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

/* Motion Section */
.motion-section {
    padding: 120px 0 80px;
    background-color: #f8f9fa;
}

/* Video container for carousel */
.video-container {
    position: relative;
    height: 70vh;
    background-color: #000;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Full-width Carousel for Motion Graphics */
#motionCarousel {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

#motionCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

#motionCarousel .video-container {
    height: 70vh;
}

#motionCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.0);
    border-radius: 10px;
    padding: 20px;
    animation: slideInUp 0.8s ease;
}

/* Social Media Section */
.social-media-section {
    padding: 120px 0 80px;
    background-color: #f8f9fa;
}

/* Social Media Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.social-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    cursor: pointer;
}

.social-item:nth-child(1) {
    animation-delay: 0.1s;
}

.social-item:nth-child(2) {
    animation-delay: 0.2s;
}

.social-item:nth-child(3) {
    animation-delay: 0.3s;
}

.social-item:nth-child(4) {
    animation-delay: 0.4s;
}

.social-item:nth-child(5) {
    animation-delay: 0.5s;
}

.social-item:nth-child(6) {
    animation-delay: 0.6s;
}

.social-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Video thumbnail with play icon */
.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.social-item:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

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

.social-item:hover .social-img {
    transform: scale(1.05);
}

.social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-content {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.overlay-content h5 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 2% auto; /* Changed from 5% to 2% to position higher */
    padding: 20px;
    width: 80%;
    max-width: 800px;
    text-align: center;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-caption {
    color: white;
    padding: 20px;
    animation: fadeInUp 0.5s ease 0.2s forwards;
    opacity: 0;
}

.modal-caption h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #667eea;
}

/* Footer */
.footer {
    background: #3596f8;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer hr {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Welcome Button */
.welcome-button-container {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

.welcome-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(243, 68, 231, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 15px 30px;
    text-decoration: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

.welcome-btn:hover {
    background: rgb(127, 202, 255);
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.welcome-btn span {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

.welcome-btn i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    color: #ffffff; /* Blue color for the arrow */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(10px);
    }
    60% {
        transform: translateX(5px);
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Audio Controls */
.audio-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.audio-toggle-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    outline: none;
}

.audio-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.audio-toggle-btn:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile-specific fixes for header and navigation */
    .header {
        padding: 0.5rem 0;
    }
    
    .header .container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .logo-img {
        height: 80px;
    }
    
    .navigation-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
        border-radius: 20px;
    }
    
    /* Hero section adjustments */
    .hero {
        padding: 0;
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero::before {
        background-size: cover;
        background-position: center center;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.8rem;
        margin-top: 10px;
        padding-bottom: 10px;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }
    
    /* Gallery section */
    .gallery-section {
        padding: 100px 0 60px;
    }
    
    /* Add more margin to the gallery grid */
    .gallery-grid {
        margin-top: 40px;
    }
    
    /* Motion section */
    .motion-section {
        padding: 100px 0 60px;
    }
    
    .motion-section .section-title {
        margin-bottom: 40px;
    }
    
    /* Social media section */
    .social-media-section {
        padding: 100px 0 60px;
    }
    
    .social-media-section .section-title {
        margin-bottom: 40px;
    }
    
    /* Social grid adjustments */
    .social-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .social-img {
        height: 200px;
    }
    
    .overlay-content h5 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .overlay-content p {
        font-size: 0.9rem;
    }
    
    /* Play icon adjustments */
    .play-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Modal adjustments */
    .modal-content {
        width: 95%;
        margin: 15% auto;
        padding: 15px;
    }
    
    .modal-caption h3 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .modal-caption p {
        font-size: 0.9rem;
    }
    
    .close {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
    
    /* Footer adjustments */
    .footer {
        padding: 20px 0;
        margin-top: 30px;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
    
    /* Audio controls */
    .audio-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .audio-toggle-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .header .container {
        padding: 0 10px;
    }
    
    .logo-img {
        height: 70px;
    }
    
    .navigation-bar {
        gap: 0.3rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
        border-radius: 15px;
    }
    
    .hero {
        min-height: 100vh;
        padding: 0;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .social-img {
        height: 250px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 10px;
    }
    
    .modal-caption h3 {
        font-size: 1.2rem;
    }
    
    .close {
        font-size: 25px;
        top: 5px;
        right: 10px;
    }
    
    .play-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .gallery-section {
        padding: 120px 0 60px;
    }
    
    .gallery-grid {
        margin-top: 50px;
    }
    
    .social-media-section {
        padding: 120px 0 60px;
    }
    
    .social-media-section .section-title {
        margin-bottom: 50px;
    }
    
    .motion-section {
        padding: 120px 0 60px;
    }
    
    .motion-section .section-title {
        margin-bottom: 50px;
    }
}
