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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
    background: linear-gradient(180deg, #63c4ea 0%, #4384ba 50%, #1c398a 100%);
    min-height: 100vh;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: 0 4%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 22px;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer {
    background-color: #1c398a; 
    color: white;
    padding: 15px 20px;
    text-align: center;     
    font-size: 1rem;
    width: 100%;          
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    z-index: 1000;           
    position: static;       
}

.footer a {
    color: #bde6f8;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.copyright {
    padding-top: 6px;
}

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

/* Main Content */
.main-content {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated Waves Background */
.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 200%;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100'%3E%3Cpath d='M0,50 C100,20 200,80 300,50 C400,20 500,80 600,50 C700,20 800,80 900,50 C1000,20 1100,80 1200,50 L1200,100 L0,100 Z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E") repeat-x;
    transform: translateX(-50%);
    animation: wave-animation 20s linear infinite;
}

.wave:nth-child(2) {
    animation-duration: 15s;
    opacity: 0.7;
    bottom: 10px;
}

.wave:nth-child(3) {
    animation-duration: 25s;
    opacity: 0.5;
    bottom: 20px;
}

@keyframes wave-animation {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1200px;
    }
}

/* Center Photo */
.center-photo {
    position: relative;
    z-index: 10;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.center-photo img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Floating Icebergs */
.iceberg {
    position: absolute;
    background: linear-gradient(135deg, #ffffff 0%, #e6f3ff 50%, #b3d9ff 100%);
    border-radius: 50px;
    padding: 20px 30px;
    color: #2c3e50;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.iceberg:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #d6ebff 100%);
}

.iceberg-about {
    top: 42%;
    left: 15%;
    animation: float-left 12s ease-in-out infinite;
}

.iceberg-portfolio {
    top: 47%;
    right: 15%;
    animation: float-right 15s ease-in-out infinite;
}

@keyframes float-left {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(2deg);
    }
    50% {
        transform: translateY(0px) translateX(20px) rotate(0deg);
    }
    75% {
        transform: translateY(20px) translateX(10px) rotate(-2deg);
    }
}

@keyframes float-right {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(20px) translateX(-10px) rotate(-2deg);
    }
    50% {
        transform: translateY(0px) translateX(-20px) rotate(0deg);
    }
    75% {
        transform: translateY(-20px) translateX(-10px) rotate(2deg);
    }
}

/* Snowfall Effect */
.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 1em;
    z-index: 2;
    pointer-events: none;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }
    .center-photo img {
        width: 250px;
        height: 300px;
    }
    .iceberg-about {
        left: 5%;
        top: 20%;
    }
    .iceberg-portfolio {
        right: 5%;
        top: 60%;
    }
}
