/* Basic Reset */
body, h1, h2, h3, h4, p, ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

header .logo {
    height: 50px; /* Adjust the height as needed */
    width: auto; /* Maintain aspect ratio */
}


body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: hsl(var(--hue), 20%, 90%); /* Light text */
    background-color: hsl(var(--hue), 30%, 10%); /* Dark background */
    transition: background-color 0.3s, color 0.3s;
}

/* General Styles */
.hamburger-menu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001; /* Ensure it is above the menu */
    display: none; /* Default hidden for larger screens */
}

/* Mobile Navigation */
.mobile-nav {
    display: none; /* Default hidden */
    flex-direction: column;
    align-items: center;
    background-color: #1f471f;
    position: absolute;
    top: 60px; /* Position below header */
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block; /* Show hamburger menu on small screens */
    }

    .mobile-nav.hidden {
        display: none; /* Keep hidden until toggled */
    }

    .mobile-nav {
        display: flex; /* Default visible when toggled */
    }

    .mobile-nav ul {
        flex-direction: column; /* Ensure vertical stacking for items */
    }
}


/* Desktop Navigation Styles */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none; /* Hide hamburger menu on larger screens */
    }

    .mobile-nav {
        display: flex; /* Always visible on desktop */
        position: static; /* Reset position */
        background: none; /* Match header background */
        flex-direction: row; /* Horizontal layout */
        justify-content: flex-end;
        box-shadow: none; /* Remove shadow for desktop */
    }

    .mobile-nav ul {
        flex-direction: row; /* Horizontal links */
        gap: 20px; /* Space between links */
    }

    .mobile-nav ul li {
        margin: 0; /* Remove extra spacing */
    }

    .mobile-nav ul li a {
        color: #fff; /* Match header color */
    }

    .mobile-nav ul li a:hover {
        color: #007BFF; /* Add hover effect */
    }
}

.mobile-nav ul {
    padding: 15px 10px; /* Add balanced padding */
}


a:focus,
button:focus {
    outline: 2px solid hsl(var(--hue), 60%, 75%);
    outline-offset: 2px;
}



/* Custom Cursor */
body {
    cursor: url('images/horse-cursor.png'), auto;
}

/* Other styling */


/* Dynamic hue variable */
:root {
    --hue: 120; /* Starting hue for green */
}

/* Header Styles */

/* Smooth underline animation for navigation links */
header nav ul li a {
    position: relative;
    color: hsl(var(--hue), 50%, 80%);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: color 0.3s ease;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: hsl(var(--hue), 50%, 80%);
    transition: width 0.3s ease;
}

header nav ul li a:hover::after {
    width: 100%;
}

/* Sticky background transition */
header {
    background: hsl(var(--hue), 40%, 25%);
    transition: background-color 0.3s ease;
}

header.scrolled {
    background: hsl(var(--hue), 40%, 20%);
}


header {
    background: hsl(var(--hue), 40%, 20%);
    color: hsl(var(--hue), 20%, 90%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
header h1 {
    font-size: 1.8rem;
    margin: 0;
}
header nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}
header nav ul li {
    list-style: none;
}
header nav ul li a {
    color: hsl(var(--hue), 50%, 80%);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
header nav ul li a:hover {
    background: hsl(var(--hue), 50%, 30%);
    color: hsl(var(--hue), 20%, 90%);
}

/* Hero Section */
/* Add a gradient overlay to the video background */
.hero .video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    z-index: 1; /* Place above the video but below the content */
}

/* Enhance CTA button */
.hero .cta-button {
    background: hsl(var(--hue), 70%, 50%);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
}


.hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden; /* Ensures the video doesn't overflow */
}

.hero .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Push the video behind the content */
}

.hero .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire section */
}

.hero .hero-content {
    z-index: 2; /* Place content above the video */
    padding: 1rem;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.5); /* Add a slight background overlay */
    border-radius: 10px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero .cta-button {
    background: hsl(var(--hue), 70%, 50%);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.hero .cta-button:hover {
    background: hsl(var(--hue), 70%, 40%);
}


/* Section Styles */
section {
    padding: 2rem 1rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
p {
    margin-bottom: 1rem;
}

/* Services Section */

#services {
    background: hsl(var(--hue), 30%, 15%);
    color: hsl(var(--hue), 20%, 90%);
    padding: 2rem 1rem;
    transition: background-color 0.3s, color 0.3s;
}

#services .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#services h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--hue), 50%, 80%);
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.service {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background: hsl(var(--hue), 30%, 20%);
    border: 1px solid hsl(var(--hue), 40%, 30%);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: left;
    transition: background-color 0.3s, border-color 0.3s;
}

.service h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: hsl(var(--hue), 40%, 75%);
}

.service p {
    font-size: 1rem;
    line-height: 1.6;
    color: hsl(var(--hue), 20%, 85%);
}

.service:hover {
    background: hsl(var(--hue), 40%, 25%);
    border-color: hsl(var(--hue), 50%, 35%);
}

/* Portfolio Section */

.portfolio-gallery {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    gap: 1rem;
    scroll-snap-type: x mandatory; /* Carousel snapping */
    scroll-behavior: smooth; /* Smooth scroll */
}

.reel {
    scroll-snap-align: start; /* Snap position */
}


.reel {
    flex: 0 0 auto; /* Prevent shrinking */
    scroll-snap-align: start; /* Snap position */
}

/* Add hover effect for portfolio reels */
.portfolio-gallery .reel iframe {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.portfolio-gallery .reel iframe:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Add captions to reels */
.reel-caption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: hsl(var(--hue), 20%, 80%);
    text-align: center;
}

#portfolio {
    background: hsl(var(--hue), 30%, 15%);
    color: hsl(var(--hue), 20%, 90%);
    padding: 2rem 1rem;
    transition: background-color 0.3s, color 0.3s;
}

#portfolio .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#portfolio h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--hue), 50%, 80%);
}

#portfolio p {
    margin-bottom: 2rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: hsl(var(--hue), 30%, 20%);
    color: hsl(var(--hue), 20%, 90%);
    padding: 1rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.cookie-banner p {
    margin: 0;
    font-size: 1rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-button {
    background: hsl(var(--hue), 70%, 50%);
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-button:hover {
    background: hsl(var(--hue), 70%, 40%);
}

.learn-more {
    color: white; /* Makes the text white */
    text-decoration: underline; /* Optional: Adds an underline for better visibility */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.learn-more:hover {
    color: hsl(var(--hue), 70%, 40%); /* Change color on hover */
}



/* Why Influencer Marketing Works Section */


#why-it-works .why-it-works-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Center align the section title and description */
#why-it-works .container {
    text-align: center;
}


/* Ensure the font matches the site's default */
.tile-front, .tile-back {
    font-family: Arial, sans-serif; /* Matches the rest of the site */
}

/* Align colors with the rest of the site */
.tile-front {
    background-color: hsl(var(--hue), 30%, 15%);
    color: hsl(var(--hue), 20%, 90%);
    border: 1px solid hsl(var(--hue), 40%, 25%);
}

.tile-back {
    background-color: hsl(var(--hue), 35%, 20%);
    color: hsl(var(--hue), 20%, 90%);
    border: 1px solid hsl(var(--hue), 50%, 30%);
}

/* Text consistency */
.tile h4 {
    color: hsl(var(--hue), 50%, 80%);
    font-weight: bold;
}

.tile p {
    color: hsl(var(--hue), 20%, 85%);
    font-size: 1rem;
}


/* Tile container with perspective for 3D effect */
.tile {
    position: relative;
    width: 100%;
    height: 200px;
    perspective: 1000px; /* Enables 3D flip effect */
    cursor: pointer;
}

/* Front and back faces of the tile */
.tile-front,
.tile-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hides the back face when not flipped */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.6s ease; /* Smooth flip animation */
}

/* Front face initial state */
.tile-front {
    background-color: hsl(var(--hue), 30%, 15%);
    color: hsl(var(--hue), 20%, 90%);
    border: 1px solid hsl(var(--hue), 40%, 25%);
    transform: rotateY(0); /* Default position */
}

/* Back face initial state */
.tile-back {
    background-color: hsl(var(--hue), 35%, 20%);
    color: hsl(var(--hue), 20%, 90%);
    border: 1px solid hsl(var(--hue), 50%, 30%);
    transform: rotateY(180deg); /* Hidden initially */
}

/* Tile flip effect on hover */
.tile:hover .tile-front {
    transform: rotateY(180deg); /* Flip front face */
}

.tile:hover .tile-back {
    transform: rotateY(0deg); /* Show back face */
}

/* Contact Us Section */
#contact {
    text-align: center;
}


/* Footer */

.footer-links {
    display: flex;
    justify-content: center; /* Center the links */
    gap: 15px; /* Add spacing between links */
    margin-top: 10px;
}

.footer-links a {
    color: #fff; /* White text for links */
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);


.footer-links a:hover {
    color: #f09433; /* Instagram orange/pink tone or any highlight color */
}

footer {
    background: hsl(var(--hue), 40%, 20%);
    color: hsl(var(--hue), 20%, 90%);
    text-align: center;
    padding: 1rem 0;
    transition: background-color 0.3s;
}

.footer-links {
    display: flex;
    flex-direction: row; /* Ensure horizontal layout */
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
    align-items: center;
}

