@import url("https://fonts.googleapis.com/css2?family=SUSE:wght@400;500;700&display=swap");


.highlight-nav { position: relative; display: inline-block; z-index: 1; font-size: inherit; line-height: inherit; color: #000000; }
.highlight-nav::after {
    content: ''; position: absolute; left: 0; bottom: 0.3em; width: 100%; height: 0.25em; z-index: -1; opacity: 0.8;
}
.highlight-nav-orange::after { background-color: #ffd902; }


/* Root variables */
:root {
    --header-height: 80px;
    --header-bg: #ffffff;
    --text-color: #000000;
    --process-blue: #00ADEF; 
}

/* Base body styles */
body {
	font-family: "SUSE", sans-serif; /* SUSE font */
	line-height: 1.5;
	margin: 0;
	padding-top: var(--header-height);
	overflow-x: hidden;
}

/* Hidden Checkbox Trigger */
.nav-trigger-input { display: none; }

/* Header Container */
header {
    height: var(--header-height);
    position: fixed; left: 0;
    top: 0;
    width: 100%;
    background-color: var(--header-bg);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 100;
    transition: height 0.3s ease;
}

/* GRID LAYOUT (Desktop) */
.header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 1. LEFT: LOGO */
.logo-link {
    display: block;
    line-height: 0;
    z-index: 102;
}

.logo-link img {
    height: 32px;
    width: auto;
    display: block;
}

/* 2. CENTER: NAV */
.main-nav {
    display: flex;
    justify-content: center;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

.menu li a {
    position: relative; 
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: inline-block;
    transition: color 0.3s ease;
}

/* MENU UNDERLINE ANIMATION & COLORS */
.menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    border-radius: 1.5px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}
.menu li a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-blue a::after { background-color: #00ADEF; }
.nav-pink a::after { background-color: #EC008C; }
.nav-yellow a::after { background-color: #FFF200; }

/* 
   MOBILE MENU EXTRAS 
   Hidden on desktop, shown inside drawer on mobile
*/
.mobile-menu-extras {
    display: none;
}

/* 3. RIGHT: ACTIONS CONTAINER (Desktop) */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}

/* Email Link */
.email-link {
    font-family: "Jost", sans-serif;
    text-decoration: none;
    color: #888888;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.email-link:hover { color: #000000; }

/* 
   --------------------------------------------------
   PERFECT SCALLOPED BUTTON ("Cookie/Stamp" Shape)
   --------------------------------------------------
*/
.contact-btn {
    font-family: "Jost", sans-serif;
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    
    background-color: var(--process-blue);
    
    /* 1. Sizing */
    padding: 12px 32px;
    display: inline-block;
    
    /* 2. Scallop Settings 
       Change --r to make bumps bigger (e.g. 10px) or smaller (e.g. 5px) 
    */
    --r: 8px; /* Radius of the scallop */
    --d: calc(var(--r) * 2); /* Diameter */
    
    /* 3. The Shape Mask */
    /* Layer 1: Solid rectangle in the middle (inset by the scallop size) */
    /* Layer 2: Repeating circles everywhere (the 'round' keyword fits them perfectly) */
    mask: 
        linear-gradient(#000 0 0) center / calc(100% - var(--d)) calc(100% - var(--d)) no-repeat,
        radial-gradient(circle closest-side, #000 99%, transparent) 0 0 / var(--d) var(--d) round;
    
    /* Webkit support for Chrome/Safari/Edge */
    -webkit-mask: 
        linear-gradient(#000 0 0) center / calc(100% - var(--d)) calc(100% - var(--d)) no-repeat,
        radial-gradient(circle closest-side, #000 99%, transparent) 0 0 / var(--d) var(--d) round;
    
    /* Animation */
    transition: transform 0.2s ease, filter 0.2s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* MOBILE TOGGLE */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 102;
    padding-left: 15px; /* Spacing from contact button */
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: #000;
    transition: 0.3s;
}

/* --------------------------- MOBILE RESPONSIVE STYLES */
@media (max-width: 900px) {
    .header {height: auto; }

    .body {padding-top: 125px;}

    .contact-btn {
        padding: 10px 24px;
        font-size: 0.85rem;
        --r: 7px; 
    }

    .header-content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 0;
    }

    /* Logo */
    .logo-link {
        order: 1;
        flex-grow: 1;
        padding: 1rem 1.5rem;
    }

    /* Burger */
    .menu-toggle {
        display: flex; /* Visible on mobile */
        order: 3;
        padding-right: 1.5rem;
        z-index: 102; /* Above drawer */
    }

    /* Desktop Actions (Unwrapped) */
    .header-actions {
        display: contents; 
    }

    /* Contact Button (Next to Burger) */
    .contact-btn {
        order: 2;
        padding: 14px 30px; 
        font-size: 0.85rem;
    }

    /* Email Banner (Bottom Row) */
    .email-link {
        order: 4;
        width: 100%;
        background-color: #f7f9fa;
        border-top: 1px solid rgba(0,0,0,0.05);
        border-bottom: 1px solid rgba(0,0,0,0.05);
        text-align: center;
        padding: 8px 0;
        margin-top: 5px;
        font-size: 1rem;
        color: #555;
    }

    /* 
       2. NAVIGATION DRAWER 
    */
    .main-nav {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: #ffffff;
        
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 140px; 
        align-items: center;
        
        /* Start Hidden */
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
        z-index: 99; 
    }

    /* JS ACTIVE STATE: Slide Down */
    .main-nav.active {
        transform: translateY(0);
    }

    .menu {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .menu li a { font-size: 1.5rem; }

    /* Mobile Extras */
    .mobile-menu-extras {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid #eee;
        width: 60%;
    }

    .mobile-drawer-btn {
        width: 100%;
        text-align: center;
        max-width: 250px;
        font-size: 1rem;
        padding: 12px 0;
    }

    .mobile-drawer-email {
        background: none;
        border: none;
        font-size: 1.1rem;
        color: #000;
        padding: 0;
        margin: 0;
    }
    
    /* 
       BURGER ANIMATION (JS ACTIVE STATE)
    */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}