/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Background elements */
.background-clouds {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    opacity: 0.7;
    animation: float 20s infinite ease-in-out;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
}

.cloud-1 {
    width: 100px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cloud-1::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud-1::after {
    width: 60px;
    height: 20px;
    top: -10px;
    right: 10px;
}

.cloud-2 {
    width: 80px;
    height: 30px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.cloud-2::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 15px;
}

.cloud-2::after {
    width: 50px;
    height: 15px;
    top: -5px;
    right: 15px;
}

.cloud-3 {
    width: 120px;
    height: 50px;
    top: 10%;
    right: 20%;
    animation-delay: -10s;
}

.cloud-3::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 20px;
}

.cloud-3::after {
    width: 70px;
    height: 25px;
    top: -15px;
    right: 20px;
}

.cloud-4 {
    width: 90px;
    height: 35px;
    top: 70%;
    left: 5%;
    animation-delay: -15s;
}

.cloud-4::before {
    width: 45px;
    height: 45px;
    top: -22px;
    left: 12px;
}

.cloud-4::after {
    width: 55px;
    height: 18px;
    top: -8px;
    right: 12px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-5px);
    }
    75% {
        transform: translateY(-30px) translateX(15px);
    }
}

/* Main content */
.main-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.name {
    font-size: 4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.name:hover {
    color: #4a90e2;
    transform: scale(1.50);
}

.role {
    font-size: 2rem;
    font-weight: 400;
    color: #4a90e2;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Contact buttons */
.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 150px;
}

.contact-btn.primary {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.contact-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, #357abd 0%, #2968a3 100%);
}

.contact-btn.secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #4a90e2;
    border: 2px solid #4a90e2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-btn.secondary:hover {
    background: #4a90e2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
    }
    
    .role {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .content-wrapper {
        padding: 2rem;
        margin: 1rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .background-text span {
        font-size: 1rem;
    }
    
    .about-section {
        padding: 2rem 1rem;
    }
    
    .about-section h3 {
        font-size: 2rem;
    }
    
    .skills {
        gap: 0.5rem;
    }
    
    .skill-item {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }
    
    .role {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .content-wrapper {
        padding: 1.5rem;
    }
    
    .cloud {
        display: none;
    }
}

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

/* Selection styling */
::selection {
    background: rgba(74, 144, 226, 0.3);
    color: #2c3e50;
}

::-moz-selection {
    background: rgba(74, 144, 226, 0.3);
    color: #2c3e50;
}