/* Custom styles */

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

/* Header styles */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(5px);
}

/* Logo dot animation */
.logo-dot {
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Mobile menu animation */
#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 50;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 2rem 2rem 5rem 2rem;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    overflow-y: auto;
}

#mobile-menu.show {
    opacity: 1;
    display: flex;
}

.menu-open {
    overflow: hidden;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.mobile-menu-footer {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu-link {
    font-size: 1.5rem;
    font-weight: 300;
    color: white;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity 0.3s ease;
}

.mobile-menu-close:hover {
    opacity: 0.8;
}

.mobile-social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.mobile-social-link {
    color: white;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

.mobile-social-link:hover {
    opacity: 1;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero section animations */
.hero-animate {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Custom button styles */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
}

.btn-hover-effect::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.btn-hover-effect:hover::after {
    left: 100%;
}

/* Custom input focus styles */
.custom-input:focus {
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.2);
}

/* Custom link underline animation */
.link-underline {
    position: relative;
}

.link-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}

/* Navigation link hover effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Thoughts Page Styles */
.thoughts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.thought-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.thought-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.thought-card:hover .thought-card-image {
    transform: scale(1.1);
}

.thought-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7) 60%, transparent);
    padding: 2rem;
    color: white;
}

.thought-card-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.25rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.thought-card-arrow {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    border-radius: 9999px;
    padding: 0.5rem;
    opacity: 0;
    transform: translateX(-1rem);
    transition: all 0.3s ease;
}

.thought-card:hover .thought-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Tab Styles */
.tab-container {
    display: inline-flex;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 0.25rem;
}

.tab-button {
    padding: 0.5rem 2rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-button.active {
    background-color: #5B7CAF;
    color: white;
}

.tab-button:not(.active) {
    color: #4B5563;
}

.tab-button:not(.active):hover {
    color: #1F2937;
}

/* Responsive typography */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
    h2 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .thoughts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .thoughts-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-container {
        flex-direction: column;
        border-radius: 0.5rem;
    }
    
    .tab-button {
        width: 100%;
        text-align: center;
        border-radius: 0.375rem;
    }
}

/* Global Styles */
body {
    font-family: 'Manrope', sans-serif;
}

/* Header Styles */
.header-blur {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

/* Team Page Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-member {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #f8fafc;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
}

.team-member-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.team-member-info {
    padding: 1.5rem;
    text-align: center;
}

.team-member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #424242;
    margin-bottom: 0.5rem;
}

.team-member-role {
    font-size: 0.875rem;
    color: #5B7CAF;
    font-weight: 600;
    text-transform: uppercase;
}

.team-member-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: white;
    border-radius: 50%;
    padding: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.team-member:hover .team-member-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Hero Section */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background-color: #f8fafc;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #424242;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #5B7CAF;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Responsive Styles */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Hide scrollbar but keep functionality */
.overflow-x-auto {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.overflow-x-auto::-webkit-scrollbar {
    display: none;
}

/* Line clamp for article descriptions */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
} 