/* 
 * GO Realty Capital Partners - Styles
 * Last updated: 2024-05-18 12:43 PM EST
 * Minimalist Front-end UI Design
 */

/* Variables */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --accent-color: #f5f5f5;
    --text-color: #333333;
    --border-color: #e5e7eb;
    --transition: all 0.3s ease;
    --white: #ffffff;
}

/* Fix viewport and scrolling issues */
html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
    max-width: 100%;
}

/* Global Styles */
body {
    font-family: 'Inter', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    background: var(--primary-color);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 50;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

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

.nav-links .btn {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links .btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    cursor: pointer;
    z-index: 100;
    padding: 0.5rem;
    margin-right: -0.5rem;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

/* Mobile menu animation */
.mobile-menu.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(to bottom, #fff, var(--accent-color));
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 0 1rem;
}

.feature {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* FAQ Styles */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--accent-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-answer.show {
    padding: 1.5rem;
    max-height: 500px;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin: 0;
    color: #666;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section.bg-light {
    background-color: var(--accent-color);
}

.section.bg-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.bullet {
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

.process-step {
    text-align: center;
}

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

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Add after contact details styles */

.contact-details a,
.contact-details p {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.contact-details a:hover,
.contact-details a:focus {
    opacity: 1;
}

/* Fix for mobile webkit auto-styling of phone numbers */
a[href^="tel"] {
    color: var(--white) !important;
    text-decoration: none !important;
    -webkit-text-fill-color: var(--white) !important;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* Form validation styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(255, 100, 100, 0.5);
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: rgba(100, 255, 100, 0.5);
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Thank You Page Styles */
.thank-you-section {
    padding-top: 160px;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
}

.thank-you-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.thank-you-section p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    margin-top: 2rem;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    overflow: hidden;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 0;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .nav-links a {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }

    .nav-links .btn {
        margin-top: 0.5rem;
        padding: 0.75rem;
        width: 100%;
        text-align: center;
    }

    /* Hero section mobile improvements */
    .hero {
        padding: 120px 1rem 60px;
    }

    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
        padding: 0 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-features {
        margin: 2rem -1rem;
        padding: 0 1rem;
    }

    .feature {
        margin: 0;
        width: 100%;
    }

    /* Services section mobile improvements */
    .services-grid {
        margin: 2rem -1rem;
        padding: 0 1rem;
    }

    .service-card {
        margin: 0;
        width: 100%;
    }

    /* Process section mobile improvements */
    .process-steps {
        margin: 2rem -1rem;
        padding: 0 1rem;
    }

    .process-step {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1rem;
        text-align: left;
        align-items: center;
    }

    .step-number {
        width: 48px;
        height: 48px;
        margin: 0;
    }

    /* Contact section mobile improvements */
    .contact-grid {
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
    }

    /* Footer mobile improvements */
    footer {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    .footer-info {
        max-width: none;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* Fix nav menu on mobile */
    .nav-links.active {
        width: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
    }

    /* Ensure sections don't create horizontal scroll */
    .section {
        width: 100%;
        overflow: hidden;
    }

    /* Fix any potential overflow issues */
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem;
    }
    
    .submit-button {
        height: 3.5rem; /* Larger touch target */
        font-size: 1.125rem;
    }
}

/* Add smooth animation for mobile menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional mobile improvements */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin: 0 0 1rem 0;
    }

    .section {
        padding: 3rem 0;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9375rem;
    }

    .contact-info h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    /* Ensure form elements don't overflow */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        margin-bottom: 0.5rem;
    }

    /* Fix button width and alignment */
    .submit-button {
        padding: 0.875rem;
        margin: 0.5rem 0;
    }
}

/* Improve touch targets for mobile */
@media (hover: none) {
    .btn,
    .nav-links a,
    .service-card,
    .faq-question {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .btn:active,
    .nav-links a:active,
    .service-card:active {
        transform: scale(0.98);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
} 