/* Virtual Coworking Caf√© - Main CSS */

/* CSS Variables for Color Palette */
:root {
    --primary-purple: #9554c1;
    --primary-teal: #46cfcb;
    --primary-coral: #fc6c70;
    --primary-sage: #a4e5c6;
    --primary-cream: #e7dfd7;
    
    /* Light shades */
    --light-purple: #baa6d6;
    --light-teal: #87c6ca;
    --light-coral: #ffa1a7;
    --light-sage: #d7f7ee;
    --light-cream: #fff4dc;
    
    /* Dark shades */
    --dark-purple: #775ba5;
    --dark-teal: #2f95cc;
    --dark-coral: #ff754d;
    --dark-sage: #57b799;
    --dark-cream: #eacaa0;
    
    /* Additional colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #8c9094;
    --dark-gray: #323943;
    --black: #000000;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.56rem;
    color: var(--primary-purple);
}

h2 {
    font-size: 2rem;
    color: var(--primary-teal);
}

h3 {
    font-size: 1.51rem;
    color: var(--primary-coral);
}

h4 {
    font-size: 1.35rem;
    color: var(--primary-sage);
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.lead {
    font-size: 1.20rem;
    font-weight: 300;
    color: var(--medium-gray);
}

/* Header Styles */
.navbar-brand {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary-purple);
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--dark-purple);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-teal);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-cream) 0%, var(--light-sage) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--light-purple) 0%, transparent 70%);
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.55rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-top: 200px;
}

.hero-section .lead {
    font-size: 1.57rem;
    color: var(--dark-gray);
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 19px;
    box-shadow: 0 14px 30px rgba(165, 122, 210, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-17px);
    box-shadow: 0 24px 40px rgba(147, 106, 191, 0.15);
}

.feature-card i {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 23px;
    overflow: hidden;
    box-shadow: 0 18px 39px rgba(79, 219, 203, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 27px 50px rgba(85, 178, 187, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(45deg, var(--light-teal), var(--light-sage));
}

.service-content {
    padding: 1.5rem;
}

.service-content h4 {
    color: var(--primary-coral);
    margin-bottom: 0.91rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-content li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-sage);
}

.price {
    font-size: 1.58rem;
    font-weight: 700;
    color: var(--primary-purple);
    text-align: center;
    margin-top: 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(255, 107, 124, 0.10);
}

.form-control {
    border: 2px solid var(--light-cream);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 0.2rem rgba(66, 185, 191, 0.25);
    outline: none;
}

.form-check-input:checked {
    background-color: var(--primary-sage);
    border-color: var(--primary-sage);
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-coral), var(--primary-purple));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--dark-coral), var(--dark-purple));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(234, 85, 103, 0.30);
}

/* Sections */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--light-gray);
}

/* Resource Items for Additional Pages */
.resource-item, .feature-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(146, 206, 179, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.resource-item:hover, .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(148, 208, 174, 0.15);
}

.resource-item h4, .feature-item h4 {
    color: var(--primary-coral);
    margin-bottom: 0.82rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
}

footer h5 {
    color: var(--primary-cream);
    margin-bottom: 1rem;
}

footer p {
    color: var(--light-gray);
    margin-bottom: 0.66rem;
}

footer .list-unstyled li {
    margin-bottom: 0.62rem;
}

footer a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-teal);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(119, 82, 174, 0.20);
}

/* Space Page Specific */
#space {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-teal) 50%, var(--light-sage) 100%);
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#space h1 {
    font-size: 4rem;
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-teal), var(--primary-sage));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--dark-teal), var(--dark-sage));
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-coral);
    outline-offset: 2px;
}

/* Step numbers for process section */
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-coral), var(--primary-purple));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.62rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 15px rgba(255, 92, 85, 0.30);
}

/* Team member styling */
.team-member {
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(148, 103, 185, 0.20);
}

/* Blog post styling */
.feature-card:hover img {
    transform: scale(1.05);
}

/* Gallery images */
.gallery-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Blog post images */
.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Team member images consistent sizing */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
