/* GetJuicy.love - Main Stylesheet */

/* Base CSS Reset and Variables */
:root {
    --primary: #25D366;         /* Green */
    --primary-light: #E8F5E9;
    --primary-dark: #1DA856;
    --secondary: #FF9E43;       /* Orange */
    --secondary-light: #FFF3E0;
    --secondary-dark: #F57C00;
    --text-dark: #212121;
    --text-light: #FFFFFF;
    --text-muted: #757575;
    --background: #FFFFFF;
    --background-alt: #F5F7FA;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --border-radius: 12px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.75rem;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

.accent {
    color: var(--secondary);
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* Animation for CTA button */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-xs) 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-svg {
    width: 180px;
    height: auto;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: var(--spacing-md);
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
#hero {
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 550px;
}

#hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-graphic {
    flex: 0 0 45%;
    max-width: 45%;
}

.drop-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.drop {
    position: absolute;
    border-radius: 50% 50% 50% 0;
    opacity: 0.1;
}

.drop1 {
    width: 300px;
    height: 300px;
    background-color: var(--primary);
    top: -100px;
    right: -50px;
    transform: rotate(45deg);
}

.drop2 {
    width: 200px;
    height: 200px;
    background-color: var(--secondary);
    bottom: -50px;
    left: 10%;
    transform: rotate(-30deg);
}

.drop3 {
    width: 150px;
    height: 150px;
    background-color: var(--primary-dark);
    top: 40%;
    right: 20%;
    transform: rotate(15deg);
}

/* Features Section */
#features {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background-color: var(--background);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-sm);
}

/* How It Works Section */
#how-it-works {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-alt);
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin: var(--spacing-lg) 0;
}

.step {
    flex: 0 0 30%;
    max-width: 30%;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto var(--spacing-sm);
}

#how-it-works .btn-secondary {
    margin: var(--spacing-md) auto 0;
    display: block;
    max-width: 250px;
}

/* Gallery Section */
#gallery {
    padding: var(--spacing-xl) 0;
}

.section-desc {
    text-align: center;
    margin-top: -15px;
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

/* Get Started (CTA) Section */
#get-started {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-alt);
}

#get-started .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-content {
    flex: 0 0 60%;
    max-width: 60%;
}

.cta-graphic {
    flex: 0 0 35%;
    max-width: 35%;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: var(--spacing-md);
}

.footer-links ul {
    display: flex;
}

.footer-links ul li {
    margin-left: var(--spacing-md);
}

.footer-links ul li a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 2rem;
    }

    .steps-container {
        flex-direction: column;
    }

    .step {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: var(--spacing-md);
    }

    #get-started .container {
        flex-direction: column;
    }

    .cta-content, .cta-graphic {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .cta-graphic {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--background);
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: var(--spacing-lg) 0;
    }

    nav ul li {
        margin: var(--spacing-sm) 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    #hero .container {
        flex-direction: column;
    }

    .hero-content, .hero-graphic {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-graphic {
        margin-top: var(--spacing-md);
        max-width: 80%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-copyright {
        margin-bottom: var(--spacing-sm);
    }

    .footer-links ul {
        justify-content: center;
    }

    .footer-links ul li {
        margin: 0 var(--spacing-xs);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
