/* Modern CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Custom fonts */
@font-face {
  font-family: "Rachel's Requiem";
  src: url("fonts/Rachels-Requiem-Regular.ttf") format('ttf');
       /* url("fonts/MyCustomFont.woff") format('woff'); */
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: "Mistral";
    src: url('fonts/MISTRAL.TTF');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Vivaldi";
    src: url('fonts/VIVALDII.TTF') format('ttf');
    font-weight: normal;
    font-style: normal;
}

h1, h2 {
    font-family: "Vivaldi";
    font-size: xxx-large;
}

p {
    font-family: "Rachel's Requiem";
    font-size: large;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



/* Background with fade-in */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-image: url("images/ves-background2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: fadeIn 0.5s ease-in;
    z-index: -1;
}

.fade-slide {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Active state when element is in viewport */
.fade-slide.active {
    opacity: 1;
    transform: translateX(0);
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    animation: fadeIn 0.5s ease-in;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

.header-link {
    font-family: "Rachel's Requiem";
    font-weight: bold; 
    font-size: 2.5rem;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.logo-container {
    text-align: center;
    animation: fadeIn 0.5s ease-in 0.3s both;
}

.logo {
    background-image: ("images/new-ves-logo.png");
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

/* Circular/Oval image containers with fade-away borders */

.img-circle {
    border-radius: 50%;
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1),
                0 0 0 40px rgba(255, 255, 255, 0.05),
                0 0 0 60px rgba(255, 255, 255, 0.02), 
                0 0 8px 8px white inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 500px; 
    height: 500px; 
    object-fit: cover;
}

.img-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.15),
                0 0 0 40px rgba(255, 255, 255, 0.08),
                0 0 0 60px rgba(255, 255, 255, 0.03);
}

/* Soft glow effect */
.img-glow {
    border-radius: 100%;
    box-shadow: 
    0 0 30px rgba(255, 255, 255, 0.3),
                0 0 60px rgba(255, 255, 255, 0.15),
                0 0 90px rgba(255, 255, 255, 0.05), 
                0 0 8px  rgba(0, 0, 0, 1) inset; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 800px; 
    /* max-height: auto;  */
    object-fit: cover;
}

.img-glow:hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4),
                0 0 80px rgba(255, 255, 255, 0.2),
                0 0 120px rgba(255, 255, 255, 0.1);
}

.square-glow {
    /* border-radius: 100%; */
    box-shadow: 
    0 0 30px rgba(255, 255, 255, 0.3),
                0 0 60px rgba(255, 255, 255, 0.15),
                0 0 90px rgba(255, 255, 255, 0.05), 
                0 0 8px  rgba(0, 0, 0, 1) inset; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* max-width: 800px;  */
    /* max-height: auto;  */
    object-fit: cover;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 20px 10px 20px 10px;
    color: #d9d9d9;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(10px);
    /* padding: 2rem; */
    border-radius: 10px;
    max-width: 1000px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tile {
    margin: 20px 10px 20px 10px;
    padding: 20px 10px 20px 10px;
}

.inline-content {
    display: flex;
    flex-flow: row;
    max-width: 800px;
}

.l-sidebar{ 
    max-width: 600px;
    margin-right: 40px;
}

.r-sidebar {
    min-width: 300px;   
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #0476D9;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.warning {
    font-size: xx-large;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2rem;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

footer a {
    color: #667eea;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        max-width: 250px;
    }
    
    .content {
        padding: 1.5rem;
    }

    .img-glow {
    }
}