/* Custom CSS for Effie Makri Landing Page */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Lora:wght@400;500;600&display=swap');

:root {
    --primary-color: #4CA6A8;
    --secondary-color: #D4A5A5;
    --accent-color: #CFE7F0;
    --text-dark: #2E2E2E;
    --text-light: #666666;
    --background-light: #F7F7F7;
    --cool-grey: #DDE0E4;
    --off-white: #FAFAFA;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #4CA6A8 0%, #6BB6B8 50%, #8CC6C8 100%);
    --gradient-subtle: linear-gradient(135deg, #D4A5A5 0%, #E4B5B5 50%, #F4C5C5 100%);
    --gradient-blue: linear-gradient(135deg, #CFE7F0 0%, #DFF1F8 50%, #EFFBFF 100%);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lora', serif;
    
    /* Spacing */
    --section-spacing: 5rem;
    --content-spacing: 2rem;
    --element-spacing: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 400;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: var(--element-spacing);
}

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 600;
}

h3 {
    font-weight: 500;
}

p {
    margin-bottom: var(--element-spacing);
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 24px rgba(46, 46, 46, 0.08);
    transition: all 0.3s ease;
    padding: 1rem 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color) !important;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

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

/* Hero Section */
.hero-section {
    /* Multiple fallback options for background */
    background-color: #FAFAFA;
    background-image: 
        linear-gradient(135deg, rgba(76, 166, 168, 0.1) 0%, rgba(212, 165, 165, 0.1) 100%),
        url('./assets/images/hero-bg.svg'),
        url('assets/images/hero-bg.svg'),
        url('../images/hero-bg.svg'),
        url('hero-bg.svg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--section-spacing) 0;
    z-index: 1;
}

/* Fallback gradient if image doesn't load */
.hero-section.no-image {
    background: linear-gradient(135deg, #CFE7F0 0%, #F7F7F7 30%, #D4A5A5 70%, #4CA6A8 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(76, 166, 168, 0.1), rgba(212, 165, 165, 0.1));
    backdrop-filter: blur(0.5px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: var(--content-spacing);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}

.hero-content .lead {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    color: var(--text-dark);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn {
    font-family: var(--font-heading);
    margin: 0.5rem 0;
    padding: 1rem 2.5rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
}

.hero-buttons .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 166, 168, 0.3);
}

.hero-buttons .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.8);
}

.hero-buttons .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 166, 168, 0.3);
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--section-spacing);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 1.5rem auto;
    border-radius: 2px;
}

/* About Section */
#about, #bio, #services {
    padding: var(--section-spacing) 0;
    position: relative;
    z-index: 2;
    background-color: var(--white);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.education-timeline {
    background: var(--background-light);
    padding: var(--content-spacing);
    border-radius: 12px;
    margin: var(--content-spacing) 0;
    border: 1px solid var(--cool-grey);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--element-spacing);
    font-family: var(--font-body);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item i {
    color: var(--primary-color);
    margin-right: var(--element-spacing);
    font-size: 1.2rem;
    width: 20px;
}

.highlight-text {
    background: var(--gradient-blue);
    padding: var(--content-spacing);
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 12px 12px 0;
    font-size: 1.1rem;
    font-style: italic;
    margin: var(--content-spacing) 0;
}

.blockquote {
    background: var(--accent-color);
    color: var(--text-dark);
    padding: var(--content-spacing);
    border-radius: 12px;
    margin-top: 3rem;
    box-shadow: 0 8px 32px rgba(207, 231, 240, 0.4);
}

.blockquote p {
    font-size: 1.2rem;
    font-style: italic;
    margin: 0;
}

/* Services Section */
#services {
    background-color: var(--off-white);
    position: relative;
    z-index: 2;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(46, 46, 46, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--primary-color);
    margin-bottom: var(--content-spacing);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(46, 46, 46, 0.12);
}

.service-icon {
    background: var(--gradient);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(76, 166, 168, 0.25);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-list li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Bio Section */
.bio-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(46, 46, 46, 0.06);
    border-left: 4px solid var(--secondary-color);
}

.bio-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: var(--content-spacing);
    line-height: 1.6;
}

/* Connect Section */
#connect {
    background: var(--gradient) !important;
    padding: var(--section-spacing) 0;
    position: relative;
    z-index: 2;
}

#connect h2 {
    font-family: var(--font-heading);
    color: white;
    margin-bottom: 1.5rem;
}

#connect .lead {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.connect-buttons .btn {
    font-family: var(--font-heading);
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.connect-buttons .btn i {
    margin-right: 0.5rem;
}

.connect-buttons .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 165, 165, 0.4);
}

.connect-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--text-dark) !important;
    padding: 2rem 0;
}

footer p {
    font-family: var(--font-body);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-spacing: 3rem;
        --content-spacing: 1.5rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: var(--content-spacing);
    }
    
    .connect-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .education-timeline,
    .bio-content,
    .highlight-text {
        padding: 1.5rem;
    }
}

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

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

::-webkit-scrollbar-track {
    background: var(--cool-grey);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}