/* 
 * Got Ya Pops! Coming Soon Page Styles
 * Based on the original GotYa Pops brand colors and styling
 */

/* CSS Variables matching GotYa Pops brand */
:root {
    --primary-color: #FF1493; /* deeppink */
    --secondary-color: #f0f8ff; /* light blue background */
    --white-color: #FFFFFF;
    --dark-color: #111111;
    --grey-color: #d0d1d1;
    --text-color: #717275;
    --success-color: #28a745;
    
    --body-font-family: 'Inter', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    --font-weight-black: 900;
}

/* Dark Mode Variables - Auto-detected from browser preference */
@media (prefers-color-scheme: dark) {
    :root {
        --secondary-color: #111111; /* Dark background */
        --white-color: #FFFFFF; /* Keep white for cards */
        --text-color: #FFFFFF; /* White text for dark mode */
        --grey-color: #d0d1d1; /* Keep grey for borders */
        --dark-color: #FFFFFF; /* Invert for headings */
        --card-bg-color: #222222; /* Specific dark card background */
    }
}

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

body {
    font-family: var(--body-font-family);
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

html {
    /* Allow natural scrolling */
}

/* Coming Soon Container */
.coming-soon-container {
    min-height: 100vh; /* Allow scrolling on mobile */
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white-color) 100%);
    position: relative;
}

/* Animated Background Bubbles */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 15; /* Higher z-index to appear on top of content */
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), rgba(255, 20, 147, 0.3));
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

.bubble-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.bubble-3 {
    width: 60px;
    height: 60px;
    top: 10%;
    right: 25%;
    animation-delay: 4s;
}

.bubble-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.bubble-5 {
    width: 140px;
    height: 140px;
    top: 40%;
    left: 60%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 5; /* Lower z-index so bubbles appear on top */
    padding: 1rem 0;
}

/* Logo and Branding */
.logo-container {
    text-align: center;
}

.logo {
    max-width: 350px; /* Much bigger - increased from 300px */
    width: 90%; /* Responsive sizing */
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3)); /* Stronger shadow */
}

.slogan-container {
    text-align: center;
}

.slogan {
    max-width: 400px; /* Increased from 350px */
    width: 80%;
    height: auto;
}

/* Typography */
.coming-soon-title {
    font-size: 2.5rem; /* Reduced to fit viewport */
    font-weight: var(--font-weight-black);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideInFromTop 1s ease-out;
}

.description {
    font-size: 1rem; /* Slightly reduced */
    color: var(--text-color);
    text-align: center;
    line-height: 1.6;
    animation: slideInFromBottom 1s ease-out 0.3s both;
}

.lead {
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

/* Features List */
.features {
    max-width: 500px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem; /* Reduced spacing */
    font-weight: var(--font-weight-normal);
    animation: slideInFromLeft 1s ease-out 0.6s both;
}

.feature-item i {
    color: var(--success-color);
    margin-right: 0.8rem;
    font-size: 1.1rem; /* Slightly smaller */
}

.feature-item:nth-child(2) { animation-delay: 0.7s; }
.feature-item:nth-child(3) { animation-delay: 0.8s; }
.feature-item:nth-child(4) { animation-delay: 0.9s; }

/* Email Signup Section */
.email-signup-section {
    background: var(--white-color);
    padding: 1.5rem; /* Reduced padding */
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 1rem auto; /* Reduced margin */
    animation: slideInFromBottom 1s ease-out 1s both;
    position: relative !important;
    z-index: 9996 !important; /* High z-index for email section */
    pointer-events: auto !important; /* Ensure section accepts clicks */
}

.signup-title {
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    font-size: 1.2rem; /* Slightly smaller */
    position: relative;
    z-index: 5; /* Same as card, so bubbles float over title too */
}

.signup-form {
    position: relative !important;
    z-index: 9997 !important; /* Much higher than everything else */
    pointer-events: auto !important; /* Ensure form accepts clicks */
}

.signup-form .input-group {
    max-width: 400px;
    margin: 0 auto;
    position: relative !important;
    z-index: 9998 !important; /* Very high z-index for input group */
    pointer-events: auto !important; /* Ensure input group accepts clicks */
}

.signup-form .form-control {
    border: 2px solid var(--grey-color);
    border-radius: 10px 0 0 10px;
    padding: 0.7rem 1rem; /* Slightly reduced padding */
    font-size: 0.9rem; /* Slightly smaller */
    position: relative !important;
    z-index: 9999 !important; /* Absolutely highest z-index - force above everything! */
    background: var(--white-color) !important; /* Ensure background is solid */
    pointer-events: auto !important; /* Force pointer events to work */
    cursor: text !important; /* Ensure cursor shows text input */
}

.signup-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 20, 147, 0.25);
    z-index: 130; /* Absolute highest z-index when focused */
}

.signup-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0 10px 10px 0;
    padding: 0.7rem 1.2rem; /* Slightly reduced padding */
    font-weight: var(--font-weight-bold);
    transition: all 0.3s ease;
    font-size: 0.9rem; /* Slightly smaller */
    position: relative;
    z-index: 120; /* Same as input field - very high */
}

.signup-form .btn-primary:hover {
    background-color: #e91e63;
    border-color: #e91e63;
    transform: translateY(-2px);
}

/* Contact Info */
.contact-info {
    text-align: center;
    animation: slideInFromBottom 1s ease-out 1.4s both;
}

.contact-text {
    color: var(--text-color);
    font-size: 0.85rem; /* Smaller text */
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
}

.contact-link:hover {
    color: #e91e63;
    text-decoration: underline;
}

/* Hero Image */
.hero-image-container {
    text-align: center;
    animation: slideInFromRight 1s ease-out 0.5s both;
    position: relative;
    z-index: 5; /* Lower z-index so bubbles appear on top */
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Remove footer to save space */
.coming-soon-footer {
    display: none;
}

/* Allow scrolling on mobile */
.min-vh-100 {
    min-height: 100vh !important;
}

/* Mobile scrolling optimization */
@media (max-width: 768px) {
    .min-vh-100 {
        min-height: auto !important; /* Allow natural content height */
    }
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

/* Animations */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px); /* Reduced distance */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px); /* Reduced distance */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px); /* Reduced distance */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px); /* Reduced distance */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Responsive Design for ALL Devices */

/* Large tablets and small laptops (992px and down) */
@media (max-width: 992px) {
    .coming-soon-title {
        font-size: 2.2rem;
    }
    
    .logo {
        max-width: 420px;
        width: 85%;
    }
    
    .slogan {
        max-width: 340px;
        width: 75%;
    }
    
    .description {
        font-size: 1.05rem;
        padding: 0 1rem;
    }
    
    .email-signup-section {
        margin: 1.5rem auto;
        max-width: 500px;
    }
    
    .hero-image {
        max-width: 95%;
    }
}

/* Tablets (768px and down) */
@media (max-width: 768px) {
    /* Improved vertical spacing */
    .coming-soon-container {
        padding: 1rem 0;
        min-height: auto; /* Allow natural height on mobile */
    }
    
    /* Mobile column order - logo/content first, then image */
    .col-lg-6.order-lg-1.order-2 {
        order: 1 !important; /* Logo and content on top */
    }
    
    .col-lg-6.order-lg-2.order-1 {
        order: 2 !important; /* Image and form on bottom */
    }
    
    .coming-soon-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .content-wrapper {
        padding: 1rem 0;
    }
    
    /* Better mobile layout */
    .container-fluid {
        padding: 0 1rem;
    }
    
    /* Logo and slogan adjustments */
    .logo {
        max-width: 320px;
        width: 90%;
    }
    
    .slogan {
        max-width: 260px;
        width: 85%;
    }
    
    .logo-container,
    .slogan-container {
        margin-bottom: 1.5rem;
    }
    
    /* Improved text readability */
    .description {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0 1.5rem;
        text-align: center;
    }
    
    .lead {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    /* Feature items mobile optimization */
    .features {
        padding: 0 1rem;
        margin-top: 1.5rem;
    }
    
    .feature-item {
        margin-bottom: 0.8rem;
        font-size: 0.95rem;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }
    
    .feature-item i {
        font-size: 1.3rem;
        margin-right: 1rem;
    }
    
    /* Email signup mobile optimization */
    .email-signup-section {
        padding: 1.5rem;
        margin: 2rem auto 1rem;
        max-width: 450px;
        width: 95%;
    }
    
    .signup-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    /* Better mobile form */
    .signup-form .input-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .signup-form .form-control {
        border-radius: 12px;
        padding: 1rem;
        font-size: 1rem;
        border: 2px solid var(--grey-color);
        width: 100%;
        margin-bottom: 0;
    }
    
    .signup-form .btn-primary {
        border-radius: 12px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: var(--font-weight-bold);
        width: 100%;
        margin-bottom: 0;
        min-height: 48px; /* Better touch target */
    }
    
    /* Image spacing - more space above image on mobile */
    .hero-image-container.mb-5 {
        margin-top: 2rem !important;
        margin-bottom: 2.5rem !important;
    }
    
    .hero-image {
        max-width: 100%;
        border-radius: 15px;
    }
    
    /* Contact info */
    .contact-info {
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
    
    .contact-text {
        font-size: 0.95rem;
    }
}

/* Small tablets and large phones (576px and down) */
@media (max-width: 576px) {
    /* More compact layout with proper mobile spacing */
    .coming-soon-container {
        padding: 0.5rem 0 2rem 0; /* Bottom padding for scroll space */
    }
    
    .coming-soon-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
        line-height: 1.3;
    }
    
    /* Hide bubbles for performance */
    .bubble {
        display: none;
    }
    
    /* Smaller logo for small screens */
    .logo {
        max-width: 280px;
        width: 95%;
    }
    
    .slogan {
        max-width: 230px;
        width: 90%;
    }
    
    .logo-container,
    .slogan-container {
        margin-bottom: 1rem;
    }
    
    /* Compact text */
    .description {
        font-size: 0.95rem;
        padding: 0 1rem;
        line-height: 1.6;
    }
    
    .lead {
        font-size: 1.05rem;
    }
    
    /* Compact features */
    .features {
        margin-top: 1rem;
        padding: 0 0.5rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
        padding: 0.4rem;
        margin-bottom: 0.6rem;
    }
    
    .feature-item i {
        font-size: 1.2rem;
        margin-right: 0.8rem;
    }
    
    /* Compact email form */
    .email-signup-section {
        padding: 1.2rem;
        margin: 1.5rem auto 1rem;
        width: 98%;
    }
    
    .signup-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    /* Improved touch targets */
    .signup-form .form-control {
        padding: 0.9rem;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    .signup-form .btn-primary {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    /* Compact spacing */
    .content-wrapper {
        padding: 0.5rem 0 1.5rem 0;
    }
    
    .hero-image-container.mb-5 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .contact-text {
        font-size: 0.9rem;
    }
}

/* Very small phones (480px and down) */
@media (max-width: 480px) {
    .coming-soon-container {
        padding: 0.5rem 0 2rem 0;
    }
    
    .coming-soon-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .logo {
        max-width: 250px;
    }
    
    .slogan {
        max-width: 200px;
    }
    
    .description {
        font-size: 0.9rem;
        padding: 0 0.8rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
    }
    
    .email-signup-section {
        padding: 1rem;
        width: 100%;
        margin: 1rem auto;
        border-radius: 10px;
    }
    
    .signup-title {
        font-size: 1.1rem;
    }
}

/* Landscape orientation optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .coming-soon-container {
        padding: 0.5rem 0;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .slogan {
        max-width: 180px;
    }
    
    .logo-container,
    .slogan-container {
        margin-bottom: 0.5rem;
    }
    
    .coming-soon-title {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .description {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .features {
        margin-top: 0.5rem;
    }
    
    .feature-item {
        margin-bottom: 0.3rem;
        font-size: 0.8rem;
        padding: 0.3rem;
    }
    
    .email-signup-section {
        padding: 0.8rem;
        margin: 0.8rem auto;
    }
    
    .hero-image-container.mb-5 {
        margin-bottom: 1rem !important;
    }
}

/* Dark Mode Specific Styles */
@media (prefers-color-scheme: dark) {
    /* Enhanced dark background with gradient */
    .coming-soon-container {
        background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
    }
    
    /* Dark mode bubble styling */
    .bubble {
        background: linear-gradient(45deg, var(--primary-color), rgba(255, 20, 147, 0.4));
        opacity: 0.7;
    }
    
    /* Dark mode text styling */
    .description p {
        color: var(--text-color);
    }
    
    .lead {
        color: var(--text-color);
    }
    
    /* Contact link styling for dark mode */
    .contact-text {
        color: var(--grey-color);
    }
    
    /* Form text styling */
    .form-text {
        color: var(--grey-color) !important;
    }
    
    /* Email card styling for dark mode */
    .email-signup-section {
        background: #222222 !important; /* Actual dark background for the card */
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    }
    
    .signup-title {
        color: var(--text-color) !important; /* White title text */
    }
    
    /* Smaller black shadows for dark mode */
    .hero-image {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }
    
    .logo {
        filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.2));
    }
    
    /* Toast styling for dark mode */
    .toast {
        background-color: #222222 !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8) !important;
    }
    
    .toast-header {
        background-color: #333333 !important;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .toast-header strong {
        color: #ffffff !important;
    }
    
    .toast-header .text-success {
        color: #28a745 !important; /* Keep success green visible */
    }
    
    .toast-body {
        background-color: #222222 !important;
        color: #ffffff !important;
    }
    
    .toast .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%) !important;
        opacity: 0.8 !important;
    }
    
    .toast .btn-close:hover {
        opacity: 1 !important;
    }
    
    /* Dark mode mobile optimizations */
    @media (max-width: 768px) {
        .feature-item {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .email-signup-section {
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .signup-form .form-control {
            background: rgba(255, 255, 255, 0.95);
            color: var(--dark-color);
        }
        
        .signup-form .form-control:focus {
            background: var(--white-color);
            color: var(--dark-color);
        }
    }
}

/* Touch and Accessibility Improvements */
.signup-form .form-control:focus,
.signup-form .btn-primary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.signup-form .btn-primary:active {
    transform: translateY(1px);
}

.contact-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Improve text selection on mobile */
::selection {
    background-color: var(--primary-color);
    color: var(--white-color);
}

::-moz-selection {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Better scrolling on mobile */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent zoom on input focus (iOS) */
@media screen and (max-width: 768px) {
    .signup-form .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
} 