@font-face {
    font-family: 'Open Sans';
    src: url('../font/OpenSauceSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 500; /* Ensure Medium weight */
    color: #333;
    background-color: #000;
    scroll-behavior: smooth;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Page Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 500; /* Ensure Medium weight */
}

h3 {
    font-family: 'Open Sans', sans-serif; /* Replace Montserrat */
    font-weight: 500;
    font-size: 1.5rem;
}

h4 {
    font-family: 'Open Sans', sans-serif; /* Inherits from above, but explicit for clarity */
    font-weight: 500;
    font-size: 1.2rem;
}


/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 4rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    transition: padding 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.navbar-hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 4rem 0;
    /* Explicit padding when scrolled */
}

/* Container Layout */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
    padding: 0 15px;
}

/* Centered Logo */
.navbar-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
}

.logo-image {
    height: 130px;
    transition: transform 0.3s ease;
}

.navbar-logo:hover .logo-image {
    transform: scale(0.9);
}

/* Hamburger Menu */
.navbar-toggler {
    position: absolute;
    right: 15px;
    border: none;
    z-index: 1001;
    transition: transform 0.3s ease;
    padding: 0.25rem 0.75rem;
    background: transparent;
}

.navbar-toggler:hover {
    transform: rotate(90deg);
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
    border: none;
}

/* Default Hamburger Icon (White on Black Navbar) */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Black Icon When Navbar is White (Scrolled) */
.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* White Icon When Menu is Open (Corrected Selector) */
.navbar.scrolled .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navigation Menu */
.navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 5rem 2rem 2rem;
    transition: transform 0.3s ease;
    transform: translateX(100%);
}

.navbar-collapse.show {
    transform: translateX(0);
}

.navbar-nav {
    flex-direction: column;
    width: 100%;
}

.nav-item {
    margin: 0.5rem 0;
}

.nav-link {
    color: #fff !important;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
}

.nav-link:hover::after {
    animation: underline 0.3s forwards;
}

@keyframes underline {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Adjust line color when navbar is scrolled */
.navbar.scrolled .nav-link::after {
    background-color: #b8860b;
}

.navbar.scrolled .nav-link:hover::after {
    background-color: #daa520;
}

/* Keep white line when menu is open in scrolled state */
.navbar.scrolled .navbar-collapse.show .nav-link::after {
    background-color: #fff;
}

.navbar.scrolled .navbar-collapse.show .nav-link:hover::after {
    background-color: #ddd;
}

/* Media Queries for Navbar */
@media (max-width: 768px) {
    .navbar {
        padding: 3rem 0 !important;
        /* Explicit padding */
    }

    .navbar.scrolled {
        padding: 1rem 0;
        /* Ensure scrolled state padding */
    }

    .logo-image {
        height: 70px;
    }
}

.nav-link.active {
    color: #fff !important; /* Ensure text color matches */
}

.nav-link.active::after {
    width: 100%; /* Show the underline immediately */
    background-color: #fff; /* Match the hover color */
}

/* Adjust active link when navbar is scrolled */
.navbar.scrolled .nav-link.active::after {
    background-color: #daa520; /* Match the hover color when scrolled */
}

/* Keep white underline for active link when menu is open in scrolled state */
.navbar.scrolled .navbar-collapse.show .nav-link.active::after {
    background-color: #ddd; /* Match the hover color when menu is open */
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.hero-carousel {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    /* Start off-screen to the right */
    transition: transform 1.4s ease-in-out, opacity 1.4s ease-in-out;
}

.hero-item.active {
    opacity: 1;
    transform: translateX(0);
    /* Visible on-screen */
}

.hero-item.exiting {
    opacity: 0;
    transform: translateX(-100%);
    /* Exit to the left */
}

.hero-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Featured Logos */
.featured-logos {
    background-color: #fff;
    padding: 2rem 0;
}

.logo-item {
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #000;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.1);
}

/* Portfolio Section */
.portfolio {
    background-color: #000;
    color: #fff;
    padding: 2rem 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.portfolio-item img {
    width: 100%;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.recent-stories {
    background-color: white !important;
    padding: 3rem 0;
    overflow-x: hidden;
}

.stories-gallery {
    padding: 1rem 0;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
    grid-gap: 2rem;
    align-items: stretch;
}

.story-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-item.tall {
    grid-row: span 2;
}

.story-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.story-item:hover img {
    transform: scale(1.1);
}

/* Artistic Overlay Effect */
.story-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: white;
    text-align: center;
    padding: 1rem;
}

.story-content h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
}

.story-content p {
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .grid-container {
        display: flex;
        flex-direction: column;
    }

    .story-item.tall {
        grid-row: span 1;
    }
}

/* Base Animation Setup */
.story-item {
    opacity: 0;
    /* Initially hidden */
    transform: translateY(50px);
    /* Slide from below */
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    /* Longer and smoother transition */
}

.story-item[data-animation="slide-left"] {
    transform: translateX(-50px);
    /* Slide from the left */
}

.story-item[data-animation="slide-right"] {
    transform: translateX(50px);
    /* Slide from the right */
}

.story-item[data-animation="slide-up"] {
    transform: translateY(50px);
    /* Slide from below */
}

/* Animate to the final position when the element is visible */
.story-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-item[data-animation="slide-left"].visible {
    transform: translateX(0);
}

.story-item[data-animation="slide-right"].visible {
    transform: translateX(0);
}

.story-item[data-animation="slide-up"].visible {
    transform: translateY(0);
}

/* Add smooth animation for all slide types */
@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.footer-logo {
    text-align: center;
    margin-top: 20px;
}

.footer-logo-img {
    max-width: 250px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .footer-logo-img {
        max-width: 150px; /* Reduce logo size on smaller screens */
    }
}

@media (max-width: 576px) {
    .footer-logo-img {
        max-width: 120px; /* Further reduce logo size on very small screens */
    }
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 2rem 0;
}

footer h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

footer ul li a:hover {
    text-decoration: underline;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ddd;
}

footer p {
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Carousel Arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1rem;
    }

    /* Hero Section */
    .hero {
        height: 60vh;
        max-height: 60vh;
    }

    /* Featured Logos */
    .featured-logos .row {
        flex-direction: column;
    }

    .logo-item {
        font-size: 1rem;
        margin: 0.5rem 0;
    }

    /* Portfolio Section */
    .portfolio .row {
        flex-direction: column;
    }

    .portfolio-item {
        margin-bottom: 1.5rem;
    }

    /* Recent Stories Section */
    .recent-stories .carousel-inner .row {
        flex-direction: column;
    }

    .story-item {
        margin-bottom: 1.5rem;
    }

    /* Wedding Films Section */
    .wedding-films .carousel-inner .row {
        flex-direction: column;
    }

    .film-item {
        margin-bottom: 1.5rem;
    }

    /* Footer */
    footer .row {
        flex-direction: column;
        text-align: center;
    }

    footer .col-md-4 {
        margin-bottom: 1.5rem;
    }

    .social-icons a {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .navbar {
        padding: 1.5rem 0;
    }

    .hero {
        height: 50vh;
        max-height: 50vh;
    }
}



.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: #fff;
}

.mb-5 {
    margin-bottom: 3rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.swiper {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.testimonials-section {
    background-image: url('../images/about-section.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem 0;
}

.testimonial-card {
    background: rgba(255, 253, 253, 0.208);
    backdrop-filter: blur(10px);
    padding: 2rem;
    max-width: 500px;
    transition: transform 0.3s ease;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.testimonial-text {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    text-align: center;
    margin: 0;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.testimonial-name {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.testimonial-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid #fff;
}


.cta-button {
    background-color: #1a1a1a;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
    padding: 25px 30px;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    font-size: 1.6em;
}

.cta-button:hover {
    background-color: #333;
    color: #fff;
    text-decoration: none;
}

.cta {
    padding: 20px 0;
    text-align: center;
}

@media (max-width: 767px) {
    .cta-button {
        padding: 20px 40px;
        font-size: 1.2em;
    }

    .cta {
        padding: 15px 0;
    }
}

@media (max-width: 576px) {
    .cta-button {
        padding: 15px 30px;
        font-size: 1em;
    }

    .cta {
        padding: 10px 0;
    }
}


.testimonials-section .mySwiper {
    margin-top: 0;
    padding-top: 2rem; /* pushes it up slightly */
    padding-bottom: 40rem;
}

/* Make sure cards sit higher above heads */
.swiper-slide.testimonial-card {
    margin-top: 0 !important;
    transform: translateY(-40px); /* This moves cards up */
}

@media (max-width: 991px) {
    .swiper-slide.testimonial-card {
        transform: translateY(0); /* Reset for smaller screens */
    }
}

.about-section {
    overflow-x: hidden; 
}
.about-image-wrapper {
    max-width: 100%;
    margin: 0 auto;
}
.about-content {
    text-align: left;
}
.about-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.about-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
@media (max-width: 767px) {
    .about-image-wrapper {
        max-width: 80%;
    }
    .about-content {
        text-align: center;
    }
}
.section-buttons {
    text-align: center;
    margin-bottom: 30px;
}

.section-btn {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.section-btn:hover {
    background-color: #333;
}

.contact-section {
    position: relative;
    color: #fff;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.contact-container {
    position: relative;
    z-index: 1; 
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.contact-form .form-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: 10px;
}

.contact-form .form-control {
    border: 1px solid #1a1a1a;
    border-radius: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 12px;
    color: #1a1a1a;
    background-color: #f5f5f5;
}

.contact-form .btn-submit {
    background-color: #1a1a1a;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    padding: 12px 30px;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.contact-form .btn-submit:hover {
    background-color: #333;
}


#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

.notification {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.notification.error {
    background-color: #F44336;
}

.notification .close-btn {
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: white;
    margin-left: 15px;
}

.notification.hide {
    opacity: 0;
    transform: translateX(100%);
    visibility: hidden;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}
