@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600&display=swap');

/* Reset styles */
body, h1, h2, ul, li {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}
/* Fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Slight upward motion */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to text and image */
.text-content, .image-content {
    opacity: 0; /* Start invisible */
    animation: fadeIn 0.8s ease-out forwards;
}

/* Delay the image slightly for a smoother effect */
.image-content {
    animation-delay: 0.3s;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: background 0.3s;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
}

.navbar .logo {
    font-family: 'Raleway', sans-serif;
    color: white;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links a {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Hamburger Menu */
.hamburger {
    font-size: 2rem;
    color: white;
    cursor: pointer;
    display: none;
}

/* Middle Section */
.middle-section {
    height: 100vh;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    position: relative;
    overflow: hidden; /* Prevents pattern from overflowing */
}

/* Animated Pattern Background */
.middle-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 100%;
    background: url("pattern.png");
    background-size: 300px 300px;
    background-repeat: repeat;
    animation: movePattern 10s linear infinite;
    opacity: 0.2;
    z-index: 0;
}

/* Animation Keyframes */
@keyframes movePattern {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Text & Image Layout */
.middle-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Text Styling */
.text-content {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Image Container */
.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Image Styling */
.image-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Gradient Overlay for Bottom Fade Effect */
.image-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, black 100%);
    border-radius: 10px;
    pointer-events: none;
}

/* Features Section */
.features-section {
    background-color: #f3f3f3;
    padding: 50px;
    text-align: center;
}

.features-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.feature-box {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
/* @media (max-width: 768px) {
    .middle-content {
        flex-direction: column;
        text-align: center;
    }

    .text-content, .image-content {
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 15px 0;
    }
} */

/* Middle Section */
.middle-section {
    height: 100vh;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

/* Animated Plane Pattern Background */
.middle-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 100%;
    background: url("plane-drop.png");
    background-size: 400px 400px;
    background-repeat: repeat;
    animation: movePattern 20s linear infinite;
    opacity: 0.3;
    z-index: 0;
}

/* Animation Keyframes */
@keyframes movePattern {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Text & Image Layout */
.middle-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Text Styling */
.text-content {
    flex: 1;
    font-size: 1.5rem;
}

/* Image Container */
.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Image Styling */
.image-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Gradient Overlay for Bottom Fade Effect */
.image-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, black 100%);
    border-radius: 10px;
    pointer-events: none;
}
/* Newsletter Section */
.newsletter-section {
    position: relative;
    background-color: #ffffff;
    padding: 50px 20px;
    text-align: center;
    overflow: hidden;
}


/* Mailchimp Form (Ensures It’s Readable) */
#mc_embed_shell {
    position: relative;
    z-index: 1; /* Keeps form above the background */
}

/* Form Inputs */
#mc_embed_signup input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Subscribe Button */
#mc_embed_signup .button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    border-radius: 5px;
}

#mc_embed_signup .button:hover {
    background-color: #0056b3;
}


/* Signup Button */
.signup-button {
    display: inline-block;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.3s ease-in-out;
    text-align: center;
    margin-top: 20px;
    background: transparent;
}

.signup-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Photo Album Section */
.photo-album-section {
    display: flex;
    flex-direction: row; /* Align text on the left, phone on the right */
    align-items: center;
    text-align: left;
    padding: 50px 20px;
    position: relative;
    max-width: 1000px;
    margin: auto;
    gap: 50px;
}

/* Text Container (Left Side) */
.feature-text-container {
    flex: 1;
    max-width: 400px;
    position: relative;
    height: 120px; /* Ensures a fixed space for titles & descriptions */
}

.feature-text-container h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
}

/* Only Show One Title at a Time */
.text-slide {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.text-slide.active {
    opacity: 1;
    position: absolute;
}

/* Description Styling */
.feature-description {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: #666;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 50px; /* Positioning right below the title */
    left: 0;
    width: 100%;
}

/* Active Description */
.feature-description.active {
    opacity: 1;
    position: absolute;
}

/* Phone Container (Right Side, Ensures Proper Scaling) */
.photo-container {
    position: relative;
    flex: 1;
    width: 300px; /* Keep width proportional */
    height: 600px; /* Keep height proportional */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Phone Frame (Properly Scaling with the Images) */
.phone-frame {
    position: absolute;
    width: 90%;
    height: 93%;
    object-fit: contain; /* Ensures it scales proportionally */
    z-index: 2; /* Keeps the frame above the images */
}

/* Slideshow (Images Positioned Behind the Frame) */
.slideshow {
    position: absolute;
    width: 90%; /* Ensures images fit inside the frame */
    height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Slide Images */
.slide {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures full image is visible without cropping */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
}

/* Active Slide */
.slide.active {
    opacity: 1;
}



/* Responsive Design */
@media (max-width: 768px) {
    .photo-album-section {
        flex-direction: column;
        text-align: center;
    }

    .feature-text-container {
        text-align: center;
        max-width: 100%;
    }

    .photo-container {
        width: 250px;
        height: 500px;
    }

    .text-slide {
        font-size: 1.2rem;
    }
}
/* Features Section Header */
.features-header {
    width: 100%;
    text-align: center;
    padding: 50px 20px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Section Title */
.section-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Features Section */
.photo-album-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 50px 20px;
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin: auto;
    gap: 50px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Text Container (Left Side) */
.feature-text-container {
    flex: 1;
    max-width: 400px;
    position: relative;
    height: 120px;
    box-sizing: border-box;
}

/* Phone Container (Right Side, Ensures Proper Scaling) */
.photo-container {
    position: relative;
    flex: 1;
    width: 300px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Prevent Extra Width Issues */
body, html {
    max-width: 100%;
    overflow-x: hidden;
}
/* Footer */
.footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-family: 'Raleway', sans-serif;
}

.footer-content {
    max-width: 800px;
    margin: auto;
}

.footer h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer p {
    font-size: 1rem;
    color: #bbb;
    margin-bottom: 15px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links li {
    display: inline;
    
}

.footer-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* Copyright */
.copyright {
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
/* Contact Us Button */
.contact-button {
    display: inline-block;
    text-decoration: none; /* Removes underline */
    font-size: 1rem;
    font-weight: 600;
    color: white; /* Ensures text is white */
    background-color: transparent; /* No background, just text */
    padding: 12px 25px;
    border: 2px solid white; /* Adds a button-like effect */
    border-radius: 50px;
    transition: background 0.3s, transform 0.2s, opacity 0.3s;
}

.contact-button:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Subtle hover effect */
    transform: scale(1.05);
    opacity: 0.8;
}
/* Prevent dragging images */
img {
    pointer-events: none;

    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
}

/* Mobile Compatability */

@media (max-width: 770px) {
  .middle-content {
    transform: scale(0.95);
    transform-origin: top center;
  }

  .image-content img {
    transform: scale(0.90);
    transform-origin: top center;
  }

  html, body {
    overflow-x: hidden;
  }
}

@media (max-width: 700px) {
  .middle-content {
    transform: scale(0.85);
    transform-origin: top center;
  }

  .image-content img {
    transform: scale(0.85);
    transform-origin: top center;
  }

  html, body {
    overflow-x: hidden;
  }
}

@media (max-width: 600px) {
  .middle-content {
    transform: scale(0.95);
    transform-origin: top center;
  }

  .image-content img {
    transform: scale(0.95);
    transform-origin: top center;
  }

  .text-content h2 {
    font-size: 1.1rem; /* Adjust title size */
  }

  .text-content p {
    font-size: 0.9rem; /* Adjust paragraph size */
  }

  .signup-button {
    font-size: 0.85rem;
    padding: 10px 20px;
  }

  html, body {
    overflow-x: hidden;
  }
}

@media (max-width: 560px) {
  .middle-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    transform: none;
  }

  .text-content {
    text-align: center;
    padding: 0 15px;
  }

  .text-content h2 {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .text-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .signup-button {
    font-size: 0.95rem;
    padding: 10px 25px;
  }

  .image-content img {
    width: 80%;
    max-width: 260px;
    height: auto;
    transform: none;
  }

  html, body {
    overflow-x: hidden;
  }
}

@media (max-width: 700px) {
  .photo-container {
    flex: none;
    width: 300px !important;
    height: 600px !important;
  }

  .phone-frame {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
  }

  .slideshow {
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width: 580px) {
  .photo-album-section {
    flex-direction: column;
    align-items: center;
    text-align: left; /* Keep left-aligned if preferred */
    gap: 30px;
    padding-bottom: 150px;
  }

  .feature-text-container {
    order: 1;
    max-width: 100%;
  }

  .photo-container {
    order: 0; /* Phone moves above the text */
    margin-bottom: 20px;
  }
}
@media (max-width: 580px) {
  .feature-text-container {
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .text-slide {
    font-size: 1.4rem;
  }

  .feature-description {
    font-size: 1rem;
  }
}

#mc_embed_signup {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  box-sizing: border-box;
}
