/* ---------------------------------------------------
   RESET
--------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body, html {
    height: 100%;
}

/* PAGE FADE-IN */
body {
    opacity: 0;
    animation: fadeInPage 1s ease-in forwards;
}

@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------------------------------------------------
   HERO SECTION
--------------------------------------------------- */
.hero {
    height: 100vh;
    background-image: url('BluefinOfficeWaterford.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    color: white;
    text-shadow: 0px 0px 6px black;
}

/* HERO FADE + SLIDE UP ANIMATIONS */
.hero-content h1,
.hero-content p,
.cta-button {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeSlideUp 1.2s ease forwards;
}

.hero-content h1 { animation-delay: 0.2s; }
.hero-content p { animation-delay: 0.4s; }
.cta-button       { animation-delay: 0.6s; }

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO TEXT SIZE */
.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
}

/* Documentation Button */
.cta-button {
    background-color: #19b5e0;
    color: white;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.2s ease;
}

.cta-button:hover {
    background-color: #1298bd;
}

/* ---------------------------------------------------
   NAVBAR
--------------------------------------------------- */
.navbar {
    height: 60px;
    display: flex;
    justify-content: center;   /* Centers links */
    align-items: center;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    background: transparent;
    border-bottom: 1px solid black;
    z-index: 10;
}

/* NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 6px 4px;
    transition: opacity 0.2s ease;
    text-shadow: 0px 0px 4px black; /* White with outline */
}

.nav-links a:hover {
    opacity: 0.6;
}

/* ---------------------------------------------------
   DROPDOWNS (ADVANCED)
--------------------------------------------------- */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 35px;
    left: 0;

    min-width: 180px;
    list-style: none;
    background: rgba(255,255,255,0.95);
    border: 1px solid #ccc;
    border-radius: 4px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition: all 0.25s ease;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.dropdown-menu li a:hover {
    background: #19b5e0;
    color: white;
}

/* Hover animation trigger */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---------------------------------------------------
   CONTACT BUTTON (Right side)
--------------------------------------------------- */
.contact-button {
    position: absolute;
    right: 30px;

    text-decoration: none;
    color: white;
    background-color: #19b5e0;

    padding: 8px 18px;
    border-radius: 4px;
    font-size: 16px;

    text-shadow: 0 0 3px black;
    transition: 0.25s;
}

.contact-button:hover {
    background-color: #1298bd;
}

/* ---------------------------------------------------
   MOBILE RESPONSIVENESS + MENU
--------------------------------------------------- */
.mobile-menu-btn {
    display: none;
}

/* Mobile ≥ 900px */
@media (max-width: 900px) {

    /* Show hamburger icon */
    .mobile-menu-btn {
        display: block;
        position: absolute;
        left: 20px;

        background: none;
        border: none;
        cursor: pointer;

        font-size: 32px;
        color: white;
        text-shadow: 0px 0px 4px black;
    }

    /* Turn nav links into dropdown panel */
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;

        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;

        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(5px);
        border-bottom: 1px solid black;

        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    /* Activated panel */
    .nav-links.open {
        max-height: 600px;
    }

    /* Dropdown menus inside mobile menu */
    .dropdown-menu {
        position: relative;
        top: 0;
        width: 100%;
        border: none;
        background: rgba(255,255,255,0.9);
    }

    /* Remove the right-aligned contact button on small screens */
    .contact-button {
        display: none;
    }
}

/* Smaller screens */
@media (max-width: 600px) {
    .hero-content h1 { font-size: 34px; }
    .hero-content p { font-size: 17px; }
    .cta-button { font-size: 16px; }
}

/* HERO LOGO */
.hero-logo {
    width: 260px;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeSlideUp 1.2s ease forwards;
    animation-delay: 0.2s;

    /* Strong white glow */
    filter:
        drop-shadow(0 0 10px rgba(255, 255, 255, 1))
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.9))
        drop-shadow(0 0 35px rgba(255, 255, 255, 0.85))
        drop-shadow(0 0 55px rgba(255, 255, 255, 0.75));
}