/* Chop Chewy Website Styles */

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    color: #333;
    overflow-x: hidden;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

section {
    padding: 40px 15px;
}

h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 25px;
    color: #4d6a57; /* Sage green */
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #4d6a57, #739081); /* Sage green gradient */
    color: white;
    padding: 15px 0;
    min-height: 90vh; /* Reduced height */
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: fixed; /* Always fixed */
    top: 0;
    left: 0;
    right: 0;
    background: #4d6a57;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 10;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
}

.nav-links a {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: white;
    bottom: -3px;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

/* Remove the .scrolled class styles since we're always fixed */
.scrolled {
    /* Remove this style block or comment it out */
    /* These styles are no longer needed */
}

/* Keep the keyframes for potential other animations */
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    flex: 1;
    margin-top: 60px; /* Add top margin to account for fixed header */
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-height: 500px;
    border-radius: 10px;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 15px;
}

.download-buttons img {
    height: 45px;
    transition: transform 0.3s ease;
}

.download-buttons img:hover {
    transform: scale(1.05);
}

/* Features Section */
.features {
    background-color: #f9f9f9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf1ee; /* Light sage */
    border-radius: 50%;
}

.feature-icon img {
    width: 35px;
    height: 35px;
}

.feature-card h3 {
    color: #4d6a57; /* Sage green */
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
    padding: 50px 15px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    color: #4d6a57;
    font-size: 1.8rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #edf1ee;
}

.author-info h4 {
    font-size: 1.1rem;
    color: #4d6a57;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 0.85rem;
    color: #888;
}

/* App Showcase Section - New Carousel Style */
.app-showcase {
    background: linear-gradient(135deg, #4d6a57, #739081); /* Sage green gradient */
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.app-showcase h2 {
    color: white; /* Making the "Experience the App" heading white */
}

.app-carousel {
    max-width: 1000px;
    margin: 0 auto 40px;
    position: relative;
    padding: 20px 0;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.prev-btn, .next-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.prev-btn i, .next-btn i {
    font-size: 1rem;
}

.app-screen-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 480px;
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.app-screen-item {
    position: absolute;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-screen-item .app-screen {
    height: 420px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.screen-label {
    margin-top: 15px;
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.9;
}

.app-screen-item.left {
    transform: translateX(-50%) scale(0.8);
    z-index: 1;
    opacity: 0.7;
}

.app-screen-item.center {
    transform: translateX(0) scale(1);
    z-index: 2;
    opacity: 1;
}

.app-screen-item.right {
    transform: translateX(50%) scale(0.8);
    z-index: 1;
    opacity: 0.7;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.carousel-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.carousel-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.carousel-btn.active {
    color: white;
}

/* App Features Compact Section */
.app-features-compact {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.app-features-compact h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.app-features-compact p {
    text-align: center;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
    opacity: 0.9;
}

.feature-columns {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-list-compact {
    min-width: 220px;
}

.feature-list-compact li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    text-align: left;
}

.feature-list-compact li:before {
    content: "✓";
    margin-right: 10px;
    font-weight: bold;
}

/* Download Section */
.download {
    background-color: #f9f9f9;
    text-align: center;
    padding: 50px 20px;
}

.download-content {
    max-width: 700px;
    margin: 0 auto;
}

.download-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #666;
}

.download .download-buttons {
    justify-content: center;
}

/* Footer */
footer {
    background-color: #324636; /* Darker sage */
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 10px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.8;
    font-size: 0.9rem;
}

.contact-button {
    display: inline-block;
    background: #4d6a57; /* Sage green */
    color: white;
    padding: 8px 18px;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: background 0.3s;
    font-size: 0.9rem;
}

.contact-button:hover {
    background: #5d7d68; /* Lighter sage */
}

.social-media {
    display: flex;
    gap: 12px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s;
}

.social-media a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .hero {
        flex-direction: column;
        padding: 20px;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
    }

    .app-showcase {
        padding: 40px 15px;
    }

    .feature-list {
        display: inline-block;
        text-align: left;
    }
    
    .app-screen-item.left {
        transform: translateX(-35%) scale(0.8);
    }
    
    .app-screen-item.right {
        transform: translateX(35%) scale(0.8);
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    section {
        padding: 40px 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 15px;
        top: 20px;
    }

    nav {
        flex-direction: column;
        padding: 15px;
    }

    .logo {
        margin-bottom: 5px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: #4d6a57;
        height: 100vh;
        width: 70%;
        text-align: center;
        padding: 80px 0;
        z-index: 9;
        transition: right 0.3s ease;
        gap: 25px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-links ul, .footer-contact {
        text-align: center;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .download-content p {
        font-size: 1rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .app-screen-container {
        height: 420px;
    }
    
    .app-screen-item .app-screen {
        height: 350px;
    }
    
    .app-screen-item.left, 
    .app-screen-item.right {
        display: none;
    }
    
    .app-screen-item.center {
        position: relative;
    }
    
    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        width: 85%;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .app-screen-item .app-screen {
        height: 300px;
    }
    
    .prev-btn, .next-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-card, .testimonial-card {
    animation: fadeIn 0.5s ease-out forwards;
}

.feature-card:nth-child(2), .testimonial-card:nth-child(2) {
    animation-delay: 0.15s;
}

.feature-card:nth-child(3), .testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.45s;
}

/* Animation classes for intersection observer */
.feature-card, .testimonial-card, .app-screen-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate {
    opacity: 1;
    transform: translateY(0);
}