/* ChatGPTree Styles - Fixed Mobile Centering - 2025-09-30 */

/* Critical box-sizing fix for mobile alignment */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Catamaran', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F1EFE6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #2E4032;
    background-image: url('images/header2.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

h1 {
    font-family: 'Simonetta', serif;
    font-size: 4rem;
    font-weight: 900;
    font-style: italic;
    margin: 0;
    color: #ffffff;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 15px rgba(255, 255, 255, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: glowPulse 4s infinite alternate;
}

@keyframes glowPulse {
    from {
        text-shadow: 
            0 0 5px rgba(255, 255, 255, 0.8),
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 15px rgba(255, 255, 255, 0.3),
            2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    to {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.9),
            0 0 20px rgba(255, 255, 255, 0.7),
            0 0 30px rgba(255, 255, 255, 0.5),
            2px 2px 4px rgba(0, 0, 0, 0.5);
    }
}

/* Consistent section heading size */
h2 {
    font-family: 'Simonetta', serif;
    font-size: 36px;
    font-weight: 900;
    font-style: italic;
    color: #2E4032;
    text-align: center;
    margin-top: 0;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.app-info {
    flex: 1;
    min-width: 300px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.app-info h2 {
    font-family: 'Simonetta', serif;
    font-size: 36px;
    font-weight: 900;
    font-style: italic;
    color: #2E4032;
    margin-bottom: 20px;
    text-align: center;
}

.hero-description {
    font-size: 18px;
    color: #333;
    margin: 15px auto;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
}

.platform-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 0 0;
    flex-wrap: wrap;
}

.feature-badge {
    background: #E8F5E9;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #4CAF50;
}

.feature-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.feature-badge i {
    font-size: 32px;
    color: #4CAF50;
}

.feature-badge span {
    font-size: 14px;
    font-weight: 600;
    color: #2E4032;
    text-align: center;
}

.perfect-for-title {
    font-family: 'Simonetta', serif;
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    color: #2E4032;
    margin: 40px 0 25px 0;
    text-align: center;
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.venue-card {
    background: #C8E6C9;
    padding: 25px 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);
}

.venue-card i {
    font-size: 40px;
    color: #2E7D32;
}

.venue-card span {
    font-size: 15px;
    font-weight: 600;
    color: #2E4032;
    line-height: 1.3;
}

.app-info ul {
    text-align: left;
}

.app-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    text-align: center;
}

img {
    max-width: 100%;
    max-height: 600px;
    height: auto;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

/* How It Works Section */
.how-it-works {
    max-width: 1200px;
    margin: 50px auto 60px auto;
    padding: 0 20px;
}

.how-it-works h2 {
    font-family: 'Simonetta', serif;
    font-size: 36px;
    font-weight: 900;
    font-style: italic;
    color: #2E4032;
    text-align: center;
    margin-bottom: 50px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #E8F5E9;
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease;
}

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

.step-number {
    display: none;
}

.step-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #C8E6C9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.step-image i {
    font-size: 64px;
    color: #2E7D32;
    transition: transform 0.4s ease;
}

/* Hover effect - desktop only */
@media (hover: hover) {
    .step:hover .step-image {
        transform: scale(1.08);
        box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
    }
}

/* QR Code - Pulse animation - always active */
.step:nth-child(1) .step-image i {
    animation: qrPulse 2s ease-in-out infinite;
}

@keyframes qrPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Graduation Cap - Float animation - always active */
.step:nth-child(2) .step-image i {
    animation: capFloat 3s ease-in-out infinite;
}

@keyframes capFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Sliders - Wiggle animation - always active */
.step:nth-child(3) .step-image i {
    animation: sliderWiggle 2.5s ease-in-out infinite;
}

@keyframes sliderWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-family: 'IM Fell DW Pica', serif;
    font-size: 24px;
    color: #2E4032;
    margin-bottom: 10px;
}

.step-content p {
    font-family: 'Catamaran', sans-serif;
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
}

/* CTA Buttons Section */
.cta-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.cta-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: auto;
    margin: 0;
}

.cta-button:hover {
    background-color: #45a049;
}

.cta-button i {
    margin: 0 5px;
}

/* Demo Section Styles */
.demo-section {
    max-width: 1200px;
    margin: 60px auto 40px auto;
    padding: 0 20px;
}

.demo-container {
    background: #E8F5E9;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.demo-container h2 {
    font-family: 'Simonetta', serif;
    font-size: 36px;
    font-weight: 900;
    font-style: italic;
    color: #2E4032;
    margin-bottom: 20px;
    text-align: center;
}

.demo-container p {
    font-family: 'Catamaran', sans-serif;
    font-size: 18px;
    color: #333333;
    margin-bottom: 30px;
    text-align: center;
    max-width: 700px;
}

.demo-iframe {
    width: 375px;
    height: 700px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin: 0 auto;
    display: block;
    background: #F1EFE6;
}

.infographic-container {
    width: 100%;
    height: 100vh;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.infographic {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    transform: scale(1.2);
}

.zoom-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(46, 64, 50, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    z-index: 2;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2em;
    background: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox:target {
    display: block;
}

.lightbox figure {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
}

.lightbox img {
    max-height: 98vh;
    max-width: 98vw;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox .close {
    position: fixed;
    z-index: 999;
    top: 1em;
    right: 1em;
    width: 40px;
    height: 40px;
    text-decoration: none;
    border-radius: 50%;
    background: #2E4032;
}

.lightbox .close::after {
    content: "×";
    position: absolute;
    color: white;
    font-size: 30px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

footer {
    background-color: #2E4032;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Contact Form Styles */
.contact-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact-page h2 {
    font-family: 'Simonetta', serif;
    font-size: 36px;
    font-weight: 900;
    font-style: italic;
    color: #2E4032;
    text-align: center;
    margin-bottom: 25px;
}

.contact-intro {
    text-align: center;
    font-size: 20px;
    color: #333;
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.15);
    border: 3px solid #4CAF50;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-family: 'Catamaran', sans-serif;
    font-weight: 700;
    color: #2E4032;
    margin-bottom: 10px;
    font-size: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 3px solid #4CAF50;
    border-radius: 12px;
    font-family: 'Catamaran', sans-serif;
    font-size: 17px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E7D32;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-button {
    width: 100%;
    padding: 20px 40px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Catamaran', sans-serif;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.submit-button:hover {
    background: linear-gradient(135deg, #45a049 0%, #388E3C 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
}

.submit-button:disabled {
    background: linear-gradient(135deg, #9E9E9E 0%, #757575 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-note {
    text-align: center;
    font-size: 15px;
    color: #2E4032;
    margin-top: 20px;
    font-style: italic;
    font-weight: 600;
}

/* Feature Selection Cards */
.feature-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.feature-select-card {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    border: 3px solid #C8E6C9;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    user-select: none;
}

.feature-select-card:hover {
    transform: translateY(-3px);
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.feature-select-card.selected {
    background: #4CAF50;
    border-color: #2E7D32;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.feature-select-card i {
    font-size: 32px;
    color: #4CAF50;
    transition: color 0.3s ease;
}

.feature-select-card.selected i {
    color: white;
}

.feature-select-card span {
    font-size: 14px;
    font-weight: 600;
    color: #2E4032;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.feature-select-card.selected span {
    color: white;
}

.contact-info {
    margin-top: 40px;
    text-align: center;
    padding: 30px;
    background: #E8F5E9;
    border-radius: 15px;
}

.contact-info h3 {
    font-family: 'Simonetta', serif;
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    color: #2E4032;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 16px;
    margin: 10px 0;
    color: #333;
}

.contact-info a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info i {
    margin-right: 8px;
    color: #4CAF50;
}

@media (max-width: 768px) {
    .contact-page {
        margin: 40px auto;
    }

    .contact-page h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .contact-intro {
        font-size: 17px;
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .contact-form {
        padding: 30px 25px;
        border-width: 2px;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .form-group label {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
        border-width: 2px;
    }

    .submit-button {
        font-size: 18px;
        padding: 16px 32px;
    }

    .form-note {
        font-size: 14px;
    }
}

.nav-toggle {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background-color: #2E4032;
    border: 1px solid white;
    border-radius: 6px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 6px 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-toggle:hover {
    transform: scale(1.1);
}

.modal-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(46, 64, 50, 0.95);
    z-index: 999;
    transition: left 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-menu.active {
    left: 0;
}

.modal-menu-content {
    text-align: center;
}

.modal-menu a {
    display: block;
    color: white;
    font-size: 24px;
    text-decoration: none;
    padding: 20px;
    margin: 10px 0;
    font-family: 'Simonetta', serif;
    transition: transform 0.3s ease;
}

.modal-menu a:hover {
    transform: scale(1.1);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    main {
        flex-direction: column;
        padding: 1rem 0;
        align-items: center;
    }
    
    .container {
        padding: 10px;
    }
    
    .app-info, .app-image {
        padding: 1rem;
        max-width: 100%;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 28px;
    }

    .app-info h2,
    .how-it-works h2,
    .demo-container h2 {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
        padding: 0 15px;
        margin: 15px auto;
    }

    .platform-features {
        gap: 15px;
        padding: 0 15px;
        justify-content: center;
    }

    .feature-badge {
        min-width: 100px;
        padding: 12px 15px;
    }

    .feature-badge i {
        font-size: 28px;
    }

    .feature-badge span {
        font-size: 13px;
    }

    .perfect-for-title {
        font-size: 28px;
        margin: 30px 0 20px 0;
        padding: 0 15px;
    }

    .venue-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
        margin: 30px auto;
    }

    .venue-card {
        padding: 20px 15px;
        margin: 0 auto;
        max-width: 100%;
    }

    .venue-card i {
        font-size: 36px;
    }

    .venue-card span {
        font-size: 14px;
    }

    /* Stack CTA buttons on mobile */
    .cta-section {
        padding: 0 15px;
    }

    .cta-buttons-container {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin: 10px auto;
    }
    
    .demo-section {
        padding: 0;
        width: 100%;
        margin: 40px 0;
    }

    .demo-container {
        width: 100%;
        padding: 30px 15px;
        overflow: hidden;
        margin: 0 auto;
    }

    .demo-container h2 {
        padding: 0 15px;
    }

    .demo-container p {
        padding: 0 15px;
        margin: 15px auto 30px auto;
    }

    .demo-iframe {
        width: 100%;
        max-width: 340px;
        height: 650px;
        transform: none;
        margin: 0 auto;
    }

    .how-it-works {
        padding: 0 15px;
    }

    .step {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        margin: 0 auto;
        gap: 15px;
    }

    .step-image {
        width: 100px;
        height: 100px;
    }

    .step-image i {
        font-size: 40px;
    }
    
    .lightbox {
        padding: 1em;
    }
    
    .infographic-wrapper img {
        object-fit: contain;
        padding: 10px;
    }
    
    .infographic-section h2 {
        font-size: 1.2rem;
        padding: 8px 15px;
        width: 80%;
    }
    
    .zoom-hint {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .infographic {
        transform: scale(1);
    }
}

/* For tablets */
@media (max-width: 1024px) {
    .infographic {
        transform: scale(1.1);
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .infographic {
        transform: scale(0.9);
    }
    
    .container {
        padding: 10px 5px;
    }
    
    .hero-description,
    .platform-features,
    .perfect-for-title,
    .venue-grid {
        padding-left: 10px;
        padding-right: 10px;
    }
}
