/* styles.css */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #f0f2f5, #ffffff);
    background-image: ;
    background-repeat: repeat-y;
    background-position: left top, right top;
    background-size: 300px 100%;
    color: #333;
}

.navbar-brand, .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.contact-hero {
    background-image: url('https://codehs.com/uploads/51ae2e0c9a4e922aba7bf5181686eb2c');
    background-size: cover;
    background-position: center;
    position: relative;
    height: 400px;
    animation: fadeIn 2s ease-in-out;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-text-box {
    position: relative;
    z-index: 1;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    animation: slideInUp 1.5s ease-in-out;
}

.hero-text-box h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.hero-text-box p {
    font-size: 1.5rem;
}

.content-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    animation: fadeInUp 1.5s ease-in-out;
}

.team-card {
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.team-card:hover {
    transform: translateY(-10px);
}

.custom-footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.custom-footer h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease-in-out;
}

.social-links a:hover {
    color: #ff6347;
}

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

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

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

h2 {
    font-size:40px;
}
.social-links a {
    font-size: 24px; /* Increase icon size */
    transition: color 0.3s; /* Smooth transition for hover */
}

.social-links a:hover {
    color: #1e90ff; /* Change color on hover */
}
.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  padding: 15px; /* Padding around the text */
  border-radius: 10px; /* Optional: rounds the corners */
}

.carousel-caption h5 {
  color: #fff; /* Ensure the heading text is white */
  margin-bottom: 10px; /* Space between the heading and the line */
  padding-bottom: 10px; /* Space for the border */
  position: relative; /* Needed for positioning the pseudo-element */
}

.carousel-caption h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%; /* Start at the center */
  transform: translateX(-50%); /* Center it exactly */
  width: 50%; /* Adjust this to control the length of the line */
  border-bottom: 2px solid #fff; /* White line under the heading */
}

.carousel-caption p {
  color: #fff; /* Ensure the paragraph text is white */
  margin-top: 10px; /* Space between the line and the paragraph */
}


h5 { 
    font-size:22px;
}

/* Ensure all images inside .card have consistent dimensions */
.card-img-top {
    width: 100%; /* Make the image fill the width of its container */
    height: 200px; /* Set a fixed height for the images */
    object-fit: cover; /* Ensure the images cover the area without distortion */
    border-radius: 10px; /* Optional: add rounded corners to the images */
}

/* Optional: Customize the card for a clean look */
.card {
    margin-bottom: 20px; /* Add spacing between the cards */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    border: none; /* Remove the default card border */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
}

.card:hover {
    transform: translateY(-5px); /* Lift the card slightly on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Add a deeper shadow on hover */
}

/* Ensure consistent spacing between the cards in the grid */
.row {
    margin-top: 20px; /* Add space above the movie gallery */
}

.card-body {
    padding: 10px;
    background-color: #f8f9fa; /* Light background for the text */
    text-align: center; /* Center the title */
}

.card-title {
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
}


/* Hero Section Styling */
.about-hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0;
    position: relative;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

/* Black box behind title text */
.hero-text-box {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
}

/* Title and Subtitle Styling */
.about-hero h1, .about-hero p {
    z-index: 1;
}


/* Team Cards Styling */
.team-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card .card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Social Links Styling */
.social-links a {
    font-size: 1.5rem;
    color: #333;
}

.social-links a:hover {
    color: #007bff;
}

/* From Uiverse.io by Carlos-vargs */ 
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  border-radius: 36px;
  font-weight: 700;
  height: 54px;
  font-size: 16px;
  padding-inline: 20px;
  background-color: transparent;
  color: black;
  text-transform: uppercase;
  overflow: hidden;
  text-align: center;
  transition: all .25s ease-in-out;
  z-index: 1;
  border: none;
}

.button:is(:hover, :focus)::before {
  transform: translateX(0%);
}

.text {
  white-space: nowrap;
  line-height: 1.2;
  padding-inline-end: 44px;
  z-index: 2;
}

/* change the width and height to 100% when you use it in your layout */
.button::after {
  content: '';
  position: absolute;
  height: calc(100% - 2px);
  width: calc(100% - 2px);
  border: 1px solid #FFB400;
  border-radius: 36px;
  z-index: 2;
}

.button::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #FFB400;
  z-index: 1;
  left: -2px;
  transform: translateX(90%);
  transition: all .3s ease-out;
}

.icon {
  display: inherit;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 54px;
  height: 54px;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  background-color: #FFB400;
  z-index: 2;
}

/* Navbar Styling and Sticky Effect */

        .navbar {
            position: fixed;
            top: 0;
            z-index: 100;
            
        }

        .navbar-nav .nav-link {
            position: relative;
            font-weight: 600;
        }

        .navbar-nav .nav-link::after {
            content: "";
            position: absolute;
            width: 100%;
            height: 2px;
            background-color: #ff6f61;
            bottom: -5px;
            left: 0;
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.25s ease-out;
        }

        .navbar-nav .nav-link:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }
           .navbar {
            background-color: blue; /* Replace with any color you like */
        }

        /* Change navbar text color */
        .navbar-dark .navbar-nav .nav-link {
            color: #ffffff; /* White text color */
        }


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






/* Only apply these styles to elements within the movie-review-page class */
.movie-review-page .card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    perspective: 1000px;
}

.movie-review-page .card {
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    transform: rotateX(0deg) rotateY(0deg);
}

.movie-review-page .card:hover {
    transform: rotateX(10deg) rotateY(10deg);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.movie-review-page .card-body {
    padding: 15px;
}

.movie-review-page .card-title {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Star Rating Animation */
.movie-review-page .star-icon {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.movie-review-page .star-icon:hover {
    transform: scale(1.2);
    color: #ffd700; /* Gold color for stars */
}

/* Optional: Add a pulsing animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.movie-review-page .star-icon {
    animation: pulse 2s infinite;
}

/* Example of a media query for iPhones */
@media (max-width: 767px) {
    .navbar-brand, .nav-link {
        font-size: 1.2rem;
    }

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

    .hero-text-box p {
        font-size: 1.2rem;
    }

    .carousel-item img {
        height: 300px;
    }
}

img, video {
    max-width: 100%;
    height: auto;
}