/* --- Global Reset and Body Styling --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set up the body to be the full height of the viewport */
body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center;
    min-height: 100vh;
    font-family: Arial, sans-serif; 
    color: #fff; 
    text-align: center;
    position: relative; 
    overflow: hidden; 
    cursor: none; /* Hide default cursor */
}

/* --- Custom Cursor Styling (White Light Particle Effect) --- */
/* --- Custom Cursor Styling (White Light Particle Effect) --- */
/* --- Custom Cursor Styling --- */
body, a, button, .portfolio-button {
    cursor: none !important; /* Hide the default system cursor */
}

#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px; /* Adjust size for your pointer shape */
    height: 20px;
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    pointer-events: none; /* Allows clicks to pass through to elements beneath */
    z-index: 1000; /* Ensure it is on top of everything */
    transform: translate(-50%, -50%); /* Center the cursor element */
    transition: transform 0.1s ease-out, background-color 0.1s; /* Quick transition for hover effects */
}

/* Hover Effect: Scale and Fill on Interactive Elements */
a:hover ~ #custom-cursor,
.portfolio-button:hover ~ #custom-cursor {
    transform: translate(-50%, -50%) scale(2.5);
    background-color: rgba(255, 255, 255, 0.2);
}

/* --- Video Background Styling --- */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    overflow: hidden;
}

#bgVideo {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    filter: brightness(0.6); 
}

/* --- Main Content Styling --- */
.content {
    padding-top: 5vh; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    max-width: 90%;
    z-index: 1; 
}

.logo {
    /* Positioning for Top-Left Corner */
    position: absolute; 
    top: 10px;          
    left: 50px;         
    
    width: 120px; 
    height: auto;
    opacity: 0.9; 
    margin-bottom: 0; 
    z-index: 2; 

}

/* --- Typing Animation Effect --- */
.main-heading {
    /* Simulates Halvar Mittelschrift - Regular */
    font-size: 3.5rem; 
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* The blinking text cursor for the typing animation */
#typing-text.finished-typing {
    border-right: 4px solid #fff; /* White line to act as cursor */
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to { border-right-color: transparent }
    50% { border-right-color: #fff; }
}


.sub-heading {
    /* Simulates Halvar Mittelschrift - Light Slanted */
    font-size: 1.25rem; 
    font-style: italic;
    font-weight: 300;
    margin-bottom: 60px;
}

/* --- Portfolio Section Styling --- */
.portfolio-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-text {
    /* Simulates Halvar Mittelschrift - Light Slanted */
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 25px;

}

/* --- Portfolio Button Styling (Rounded with Shadow) --- */
.portfolio-button {
    /* Simulates Halvar Mittelschrift - ExtraBold */
    display: inline-block;
    padding: 15px 30px;
    
    background-color: #fff; /* White background */
    color: #000; /* Black text */
    
    border-radius: 8px; /* Rounded Corners */
    border: none;
    
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8); /* Shadow Effect */
    
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.portfolio-button:hover {
    background-color: #f0f0f0; 
    color: #000;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7); 
    transform: translateY(-3px); 
}

/* --- Footer/Contact Info Styling (Bottom-Left) --- */
.contact-info {
    position: fixed; 
    bottom: 40px;    
    right: 50px;     
    width: auto;     
    padding: 0;      
    
    font-family: Arial, sans-serif;
    font-style: normal;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
    z-index: 1;
    
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

/* Style for individual contact lines (container for icon + text) */
.contact-line {
    display: flex; 
    align-items: center; 
    margin-bottom: 8px;
    margin-right: 12px;
}
.contact-line img {
    /* ... other styles ... */
    margin-right: 12px; /* This is what creates the space after the icon */
}

/* Style for the icons */
.contact-line i {
    color: #fff;
    font-size: 1.1rem; 
    margin-right: 12px; 
    display: inline-block;
}

/* Style for the text */
.contact-line p {
    color: #fff;
    display: block; 
    margin: 0;
    padding: 0;
}