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

:root {
    --dark-blue: #002B5B;
    --light-blue: #0E86D4;
}

@font-face {
    font-family: 'Mona Sans';
    src: url('font/MonaSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Mona Sans';
    src: url('font/MonaSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Mona Sans';
    src: url('font/MonaSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Mona Sans';
    src: url('font/MonaSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Mona Sans';
    src: url('font/MonaSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

body {
    font-family: 'Mona Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--dark-blue);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-size: 16px;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 15px 0;
}

/* Header Section - Mobile First */
.site-header {
    width: 100%;
    padding: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 20;
    position: absolute;
    top: 0;
    left: 0;
}

.logo-container {
    max-width: 100px;
    margin-left: 15px;
}

.logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Content Section - Mobile First */
.content {
    text-align: left;
    z-index: 10;
    padding: 1.5rem;
    max-width: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 43, 91, 0.4);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    /* box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2); */
    /* border: 1px solid rgba(14, 134, 212, 0.2); */
}

.main-title {
    font-size: 2.2rem;
    line-height: 1.1;
    font-weight: 700;
    margin: 0;
    position: relative;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); */
    letter-spacing: 2px;
    color: #f5f5f7;
    transform: translateX(-5px);
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--light-blue);
    animation: pulseLine 2s infinite;
}

.progress-info {
    align-self: flex-end;
    max-width: 85%;
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0.6rem 0;
    overflow: hidden;
    position: relative;
}

.progress {
    width: 0;
    height: 100%;
    background: var(--light-blue);
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: width 1s ease;
    animation: progressAnim 8s ease-in-out alternate infinite;
    box-shadow: 0 0 5px var(--light-blue);
}

.progress-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-align: right;
}

.return-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0.3rem 0 0 0;
    text-align: right;
}

/* Crane Animation - Mobile First */
.construction-site {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 60%;
    width: 200px;
    z-index: 1;
    transform: scale(0.6);
}

.crane {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: bottom center;
    animation: craneSway 8s ease-in-out alternate infinite;
}

.crane-tower {
    width: 18px;
    height: 180px;
    background-color: var(--light-blue);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.crane-arm {
    width: 180px;
    height: 10px;
    background-color: var(--light-blue);
    position: absolute;
    top: 10px;
    left: -80px;
    z-index: 3;
}

.crane-weight {
    width: 35px;
    height: 35px;
    background-color: #ccc;
    border-radius: 5px;
    position: absolute;
    top: -13px;
    left: -80px;
    z-index: 4;
}

.crane-cabin {
    width: 25px;
    height: 25px;
    background-color: #f7f7f7;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.crane-cable {
    width: 2px;
    height: 70px;
    background-color: #ccc;
    position: absolute;
    top: 20px;
    left: 40px;
    z-index: 4;
    animation: cableMove 5s ease-in-out infinite;
}

.crane-hook {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-top: none;
    border-radius: 0 0 50% 50%;
    position: absolute;
    top: 90px;
    left: 32px;
    z-index: 6;
    animation: hookMove 5s ease-in-out infinite;
}

/* Tools Animation - Mobile First */
.tools {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 1rem;
    position: relative;
    background: rgba(0, 43, 91, 0.4);
    padding: 1rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(14, 134, 212, 0.2);
    align-self: flex-start;
}

.tool {
    font-size: 18px;
    color: var(--light-blue);
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hammer {
    animation: toolBounce 1.5s ease-in-out infinite;
}

.wrench {
    animation: toolSpin 3s linear infinite;
    animation-delay: 0.5s;
}

.pencil {
    animation: toolWiggle 2s ease infinite;
    animation-delay: 0.3s;
}

/* Bubbles Animation - Mobile First */
.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background-color: rgba(14, 134, 212, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(14, 134, 212, 0.3);
    transition: transform 0.3s ease-out, background-color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
    transform-origin: center;
    bottom: -50px;
    animation: bubblesRise 15s infinite ease-in;
    /* Add subtle glass effect */
    backdrop-filter: blur(1px);
    will-change: transform;
}

.bubble.interactive {
    animation-play-state: paused;
    z-index: 100;
    /* Add subtle shadow while being dragged */
    box-shadow: 0 0 15px rgba(14, 134, 212, 0.4),
                inset 0 0 8px rgba(255, 255, 255, 0.1);
}

.bubble:hover {
    background-color: rgba(14, 134, 212, 0.3);
    z-index: 5;
    box-shadow: 0 0 15px rgba(14, 134, 212, 0.5),
                inset 0 0 8px rgba(255, 255, 255, 0.2);
}

.bubble:active {
    transform: scale(1.1);
    background-color: rgba(14, 134, 212, 0.4);
}

/* Bubble particle effects */
.bubble-particle {
    pointer-events: none;
    opacity: 0.8;
    mix-blend-mode: screen;
    will-change: transform, opacity;
}

/* Initial bubbles with varied properties */
.bubble:nth-child(1) {
    width: 30px;
    height: 30px;
    left: 10%;
    animation-duration: 12s;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(14, 134, 212, 0.1) 70%);
}

.bubble:nth-child(2) {
    width: 45px;
    height: 45px;
    left: 20%;
    animation-duration: 16s;
    animation-delay: 1s;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15), rgba(14, 134, 212, 0.15) 65%);
}

.bubble:nth-child(3) {
    width: 20px;
    height: 20px;
    left: 35%;
    animation-duration: 10s;
    animation-delay: 3s;
    border-width: 2px;
}

.bubble:nth-child(4) {
    width: 40px;
    height: 40px;
    left: 50%;
    animation-duration: 18s;
    animation-delay: 6s;
    background-color: rgba(14, 134, 212, 0.15);
}

.bubble:nth-child(5) {
    width: 25px;
    height: 25px;
    left: 65%;
    animation-duration: 14s;
    animation-delay: 2s;
    background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.2), rgba(14, 134, 212, 0.05) 70%);
}

.bubble:nth-child(6) {
    width: 35px;
    height: 35px;
    left: 75%;
    animation-duration: 13s;
    animation-delay: 5s;
    border-color: rgba(14, 134, 212, 0.4);
}

.bubble:nth-child(7) {
    width: 20px;
    height: 20px;
    left: 85%;
    animation-duration: 11s;
    animation-delay: 4s;
    background-color: rgba(0, 150, 255, 0.1);
}

.bubble:nth-child(8) {
    width: 45px;
    height: 45px;
    left: 92%;
    animation-duration: 17s;
    animation-delay: 7s;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(14, 134, 212, 0.1) 75%);
}

/* Footer Styles - Mobile First */
.site-footer {
    width: 100%;
    padding: 15px;
    background: rgba(0, 43, 91, 0.8);
    backdrop-filter: blur(5px);
    z-index: 20;
    position: absolute;
    bottom: 0;
    left: 0;
    border-top: 1px solid rgba(14, 134, 212, 0.5);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    font-size: 0.8rem;
    opacity: 0.8;
    text-align: center;
}

.social-media {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    display: flex;
    width: 25px;
    height: 25px;
    transition: all 0.3s ease;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon:hover img {
    filter: brightness(1) invert(0) drop-shadow(0 0 5px var(--light-blue));
}

/* Keyframes Animations */
@keyframes bubblesRise {
    0% {
        transform: translateY(0) rotate(0);
        opacity: 0.3;
    }
    10% {
        opacity: 0.5;
        transform: translateY(-100px) translateX(-10px) rotate(20deg);
    }
    25% {
        transform: translateY(-250px) translateX(15px) rotate(90deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-500px) translateX(-15px) rotate(180deg);
    }
    75% {
        transform: translateY(-750px) translateX(10px) rotate(270deg);
        opacity: 0.4;
    }
    100% {
        transform: translateY(-1000px) translateX(0) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0% { 
        opacity: 0.8; 
        transform: scale(0.98);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.02);
    }
    100% { 
        opacity: 0.8; 
        transform: scale(0.98);
    }
}

@keyframes pulseLine {
    0% { 
        opacity: 0.6;
        width: 60px;
    }
    50% { 
        opacity: 1;
        width: 80px;
    }
    100% { 
        opacity: 0.6;
        width: 60px;
    }
}

@keyframes progressAnim {
    0% { width: 10%; }
    25% { width: 30%; }
    50% { width: 45%; }
    75% { width: 60%; }
    100% { width: 75%; }
}

@keyframes craneSway {
    0% { transform: translateX(-50%) rotate(-1deg); }
    100% { transform: translateX(-50%) rotate(1deg); }
}

@keyframes cableMove {
    0%, 100% { height: 70px; top: 20px; }
    50% { height: 100px; top: 20px; }
}

@keyframes hookMove {
    0%, 100% { top: 90px; }
    50% { top: 120px; }
}

@keyframes toolBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes toolSpin {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

@keyframes toolWiggle {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

/* Tablet Styles (Media Queries) */
@media (min-width: 481px) {
    .content {
        padding: 2rem 5%;
    }
    
    .main-title {
        font-size: 3rem;
        transform: translateX(-8px);
    }
    
    .main-title::after {
        width: 80px;
        height: 4px;
        bottom: -12px;
    }
    
    .title-container {
        gap: 2rem;
    }
    
    .progress-bar {
        height: 8px;
    }
    
    .progress-text {
        font-size: 0.9rem;
    }
    
    .return-date {
        font-size: 0.85rem;
    }
    
    .tool {
        font-size: 20px;
    }
    
    @keyframes pulseLine {
        0% { 
            opacity: 0.6;
            width: 80px;
        }
        50% { 
            opacity: 1;
            width: 120px;
        }
        100% { 
            opacity: 0.6;
            width: 80px;
        }
    }
}

/* Desktop Styles (Media Queries) */
@media (min-width: 769px) {
    .content {
        padding: 3rem 10%;
    }
    
    .title-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
        padding: 2rem;
    }
    
    .main-title {
        font-size: 3.5rem;
        flex: 1;
        margin-bottom: 0;
        transform: translateX(-10px);
    }
    
    .progress-info {
        flex: 0 0 40%;
        align-self: center;
    }
    
    .main-title::after {
        width: 100px;
        height: 5px;
    }
    
    .progress-bar {
        height: 10px;
        border-radius: 5px;
    }
    
    .progress {
        border-radius: 5px;
    }
    
    .progress-text {
        font-size: 1rem;
    }
    
    .return-date {
        font-size: 0.9rem;
    }
    
    .tool {
        font-size: 22px;
        padding: 10px;
    }
      .tools {
        margin-top: 1.5rem;
        gap: 25px;
        padding: 1.2rem;
    }
    
    @keyframes pulseLine {
        0% { 
            opacity: 0.6;
            width: 100px;
        }
        50% { 
            opacity: 1;
            width: 150px;
        }
        100% { 
            opacity: 0.6;
            width: 100px;
        }
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .content {
        padding: 3.5rem 15%;
    }
    
    .main-title {
        font-size: 4rem;
    }
    
    .progress-info {
        flex: 0 0 35%;
    }
    
    .tool {
        font-size: 24px;
        padding: 12px;
    }
}
