/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-image: url('images/dawn.jpg');
    background-size: contain;          /* fits entirely */
    background-repeat: no-repeat;      /* avoid tiling */
    background-position: center center;
    background-attachment: fixed;
    background-color: #000;            /* fills empty space */
    color: #fff;
}

/* Navbar standard flow */
.navbar {
    position: relative;       /* no fixed */
    width: 100%;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 1em 0;
}

/* Push body content below navbar */
body {
    padding-top: 0;           /* reset if previous fixed padding */
}

.hero,
.page-header,
.media-section,
.pub-section,
.bio-section,
.contact-section {
    margin-top: 0;           /* content starts below navbar naturally */
}

/* Navbar links layout */
.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;          /* allows wrapping on small screens */
    gap: 1em;
    padding: 0;
}

.navbar li {
    margin: 0;
}

.navbar a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: color 0.3s, transform 0.2s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2em;
}

.hero h1 {
    font-size: 3rem;
    color: #0000ff;
    text-shadow: none;
    margin-bottom: 0.5em;
}

.hero p {
    font-size: 1.3rem;
    color: #2208c9;
    text-shadow: none;
}

/* Flying Objects */

.flying-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.flying-object {
    position: absolute;
    width: 160px;      /* adjust size per object */
    height: auto;
    cursor: grab;
    pointer-events: auto;
    transform-origin: center;
    user-select: none;
}

.flying-object:active {
    cursor: grabbing;
}

.trail {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

#mirrored-object {
    transform: scaleX(-1); /* horizontal mirror (left-right) */
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5em;
    background: rgba(20, 20, 20, 0.9);
    box-shadow: 0 -2px 15px rgba(0,0,0,0.5);
    font-size: 0.9rem;
}





.page-header {
    text-align: center;
    padding: 60px 20px 20px;
    color: #2208c9;
}

.media-section {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #2208c9;
}

.media-item h2 {
    margin-bottom: 10px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.media-desc {
    margin-top: 15px;
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.9;
}

.pub-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #2208c9;
}

.pub-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pub-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.pub-title {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.pub-author,
.pub-journal,
.pub-year {
  font-size: 1rem;
  opacity: 0.9;
  margin: 3px 0;
}

.pub-desc {
  margin-top: 12px;
  line-height: 1.6;
  opacity: 0.9;
}


.pub-cover {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.bio-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    color: #2208c9;
}

.bio-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.bio-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.bio-text {
    max-width: 700px;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
}

.contact-section {
    max-width: 600px;
    margin: 100px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    color: #2208c9;
    text-align: left;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0000ff;
    text-shadow: none;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: #2208c9;
    font-size: 1rem;
    outline: none;
    transition: background 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(255,255,255,0.2);
}

.sparkle-btn {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #ffdd00, #f39c12);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.sparkle-btn:hover {
    background: linear-gradient(90deg, #ffe44d, #ffb733);
}

/* Sparkles */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    pointer-events: none;
    animation: sparkle-move 0.6s ease-out forwards;
    opacity: 0.8;
}

/* Construction image */
.constr {
    width: 250px;
    height: 250px;
}


@keyframes sparkle-move {
    from { transform: translate(0, 0) scale(1); opacity: 1; }
    to { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}


/* Mobile Navbar (fixed vertical, compact) */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5em;
    }

    .navbar a {
        font-size: 0.9rem;
    }

        .constr {
        width: 120px;   /* smaller on mobile */
        height: 120px;
    }

}






















