/* --- 1. GLOBAL & RESET --- */
body { 
  margin: 0; 
  padding: 0; 
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-color); 
  color: var(--text-color);           
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: background-color 0.4s, color 0.4s; 
}


main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; 
}

/* --- 2. NAVIGATION & HEADER --- */
.overlay-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 30px;
    z-index: 100;
    box-sizing: border-box;
}

.site-title {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nav-text); 
    text-decoration: none;
}


.site-subtitle {
    margin: 5px 0 0 0; 
    font-size: 10px;    
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0.6;
    background-color: transparent;
    transition: color 0.4s ease, opacity 0.4s ease;
}

.top-nav {
    display: flex;
    gap: 15px;
}

.top-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative; 
    padding-bottom: 4px; 
    transition: color 0.3s ease;
}

.top-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--text-color);
    transition: width 0.3s ease; 
}

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

.top-nav a:hover {
    opacity: 0.7;
}
@media (max-width: 600px) {
    .overlay-header { flex-direction: column; gap: 15px; padding: 15px; align-items: center; }
    .logo-wrapper {align-items: center; text-align: center;}
    .top-nav { gap: 10px; justify-content: center; width: 100%; }
}

/* --- 3. CONTACT CONTAINER --- */
.container {
    display: flex;
    flex-direction: column;   
    justify-content: center;
    align-items: center;
    background-color: var(--box-color); 
    padding: 60px; 
    border-radius: 12px;
    width: fit-content;
    max-width: 90%;
    gap: 30px;
    text-align: center;
}

.contact-title {
    margin: 0;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-color);
    font-weight: normal;
}

.contact-email {
    margin: 0;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: lowercase;
    color: var(--text-color);
    font-weight: bold;
}

/* --- 4. ICON ROW --- */
.icons-row {
    display: flex;
    flex-direction: row;
    gap: 40px; 
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.contact img {
    width: 32px;
    height: auto;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s ease;
}

.contact img:hover {
    opacity: 0.6;
    animation: custom-bounce 1.2s ease forwards;
}

@media (max-width: 480px) {
    .container { padding: 40px 20px; }
    .contact-email { font-size: 14px; }
    .icons-row { gap: 25px; }
}

@keyframes custom-bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-8px); } 
  50%  { transform: translateY(-2px); } 
  70%  { transform: translateY(-5px); } 
  100% { transform: translateY(-3px); } 
}