/* Main CSS File for StoryAI Template */

/* Color Palette Variables */
:root {
    --primary-color: #7452d3;
    --primary-light: #9392ff;
    --primary-dark: #5743c6;
    --secondary-color: #5cb8e6;
    --secondary-light: #74f9f6;
    --secondary-dark: #0094ee;
    --accent-color: #e96aab;
    --accent-light: #ffb36b;
    --accent-dark: #f84994;
    --success-color: #00b08e;
    --success-light: #55eec5;
    --warning-color: #e8a84f;
    --warning-light: #ffed7e;
    --dark-color: #1b1d1d;
    --light-color: #d5cffe;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #ffffff;
    --gray-300: #f1f4f7;
    --gray-400: #c2cbd8;
    --gray-500: #bbbcbc;
    --gray-600: #5e676f;
    --gray-700: #575f66;
    --gray-800: #272a2b;
    --gray-900: #191a1b;
}

/* Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
}

h2 {
    font-size: 2rem;
    color: var(--dark-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

h4 {
    font-size: 1.25rem;
    color: var(--gray-800);
}

h5 {
    font-size: 1.1rem;
    color: var(--gray-800);
}

h6 {
    font-size: 1rem;
    color: var(--gray-700);
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(98, 89, 211, 0.25);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: var(--white);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    border-radius: 1rem 1rem 0 0;
    height: 200px;
    object-fit: cover;
}

/* Process Steps */
.process-step .step-number {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Timeline Items */
.timeline-item h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Team Section */
.team img {
    border: 4px solid var(--light-color);
    transition: all 0.3s ease;
}

.team img:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Contact Form */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(114, 90, 235, 0.25);
}

.contact-info i {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--gray-500);
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Gallery */
#gallery img {
    transition: all 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(45, 49, 54, 0.95);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-light);
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Background Utilities */
.bg-light {
    background-color: var(--gray-100);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
}

/* Focus Styles */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

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

.border-primary {
    border-color: var(--primary-color);
}

/* Custom Spacing */
.mb-6 {
    margin-bottom: 4rem;
}

.pt-6 {
    padding-top: 4rem;
}

.pb-6 {
    padding-bottom: 4rem;
} 

.hero-section h1 {
    padding-top: 225px;
}


/* Team Social Links - Glass Style */
.team-social-links {
    margin-top: 22px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.3);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 0.5);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.3);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 0.5);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.3);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 0.5);
}

.x-link {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 0.5);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
