:root {
    --primary-color: #2c3e50;
    --secondary-color: #2f729f;
    --text-color: #2c3e50;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --border-radius: 10px;
    --transition-speed: 0.3s;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-overflow-scrolling: touch;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 100dvh;
    background: url('background_1.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    margin: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.8) 95%,
        rgba(255, 255, 255, 1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 70%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeIn 1s ease-in;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
    border-radius: 3rem;
    box-shadow: 0px 0px 30px 5px rgba(255, 255, 255, 1);
    margin-bottom: 4rem;
}

/* Profile Container */
.profile-container {
    margin-bottom: 2rem;
    padding: 1rem;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 3px solid var(--secondary-color);
    transition: transform var(--transition-speed);
}

.profile-photo:hover {
    transform: scale(1.05);
}

.signature {
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: transform var(--transition-speed), background-color var(--transition-speed);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-links a {
    font-size: 3rem;
    color: var(--primary-color);
    transition: transform var(--transition-speed), background-color var(--transition-speed);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* CV Section Styles */
.cv-section {
    width: 100%;
    background: var(--card-background);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem 0 4rem 0;
    position: relative;
    flex-shrink: 0; /* Prevent shrinking */
}

.cv-section ul {
    margin-left: 0;
    padding-left: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    margin-bottom: 3rem;
}

h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

ul {
    list-style-position: inside;
    margin-left: 1rem;
}

/* Skills Grid */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: transform var(--transition-speed);
}

.skill-tag:hover {
    transform: translateY(-2px);
}

/* Download Button */
.cv-download {
    text-align: center;
    margin-top: 3rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: transform var(--transition-speed), background-color var(--transition-speed);
}

.download-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-content {
        width: 90%;
        padding: 1.5rem;
        border-radius: 2rem;
        margin: 1rem auto 5rem auto;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
        margin-bottom: 1.5rem;
    }

    .signature {
        max-width: 120px;
    }

    .social-links a {
        font-size: 2rem;
    }

    .contact-info {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    .scroll-up, .scroll-down {
        bottom: 1rem;
    }

    .scroll-up-button, .scroll-down-button {
        width: 40px;
        height: 40px;
    }

    .scroll-up-button i, .scroll-down-button i {
        font-size: 1.5rem;
    }

    .skills-grid {
        gap: 0.5rem;
    }

    .skill-tag {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0.5rem 0;
    }

    .hero-content {
        width: 95%;
        padding: 1rem;
        border-radius: 1.5rem;
        margin: 0.5rem auto;
    }

    .profile-container {
        margin-bottom: 1.5rem;
        padding: 0.5rem;
    }

    .profile-photo {
        width: 180px;
        height: 180px;
        margin-bottom: 1rem;
    }

    .signature {
        max-width: 100px;
    }

    .social-links a {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    .contact-info {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
}

/* Scroll Down Button */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
    cursor: pointer;
}

.scroll-down-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-down-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Scroll Up Button */
.scroll-up {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed);
    z-index: 1000;
    cursor: pointer;
}

.scroll-up.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-up-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-up-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
} 