@charset "UTF-8";
/* CSS Document */

/* Base Resets and Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;

    padding-top: 100px; /* Prevents layout content from hiding beneath the fixed navbar */
}



.site-wrapper {
    width: 100%;             /* Stretches to full width on mobile phones */
    max-width: 1000px;       /* Prevents content from stretching too wide on desktops */
    margin: 0px auto;          /* Crucial: Centers the wrapper horizontally on the screen */
    padding: 0px 2px;         /* Creates a safety padding so content never hits the screen edge */
    box-sizing: border-box;  /* Ensures padding is included in the width calculation */
}

.site-wrapper2 {
    width: 100%;             /* Stretches to full width on mobile phones */
    max-width: 1100px;       /* Prevents content from stretching too wide on desktops */
    margin: 2px auto;          /* Crucial: Centers the wrapper horizontally on the screen */
    padding: 0px 20px;         /* Creates a safety padding so content never hits the screen edge */
    box-sizing: border-box;  /* Ensures padding is included in the width calculation */
}


/* Navbar Container Styling */
.navbar {
    background-color: #111;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	border-radius: 8px
}

/* Pushes Logo to Left, Wrapper to Right */
.nav-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 20px;
	box-sizing: border-box;
}

.nav-logo {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Forces right-side grouping and establishes a structural coordinate space */
.nav-right-wrapper {
    position: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Interactive Hamburger Button Customization */
.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    z-index: 1001;
    outline: none;
}

/* Core Burger Lines CSS */
.burger-icon, .burger-icon::before, .burger-icon::after {
    background: #fff;
    display: block;
    height: 3px;
    width: 24px;
    position: relative;
    transition: background 0.25s ease, transform 0.25s ease, top 0.25s ease;
}

.burger-icon::before, .burger-icon::after {
    content: '';
    position: absolute;
    left: 0;
}
.burger-icon::before { top: 7px; }
.burger-icon::after { top: -7px; }


.burger-vector {
    display: block;
    width: 24px;   
    height: auto;  
    transition: transform 0.25s ease;
}

/* 🚨 NEW: This handles the rotation effect specifically on the new image element */
.menu-button.active .burger-vector {
    transform: rotate(90deg);
}
/* 
   The Invisible Floating Menu Layout 
   Configured to remain completely hidden and non-interactable by default.
*/
.nav-menu {
    list-style: none;
    position: absolute;
    top: 45px;       /* Drops down neatly below the bar */
    left: 0;        /* Flush layout alignment on the right edge */
    width: 220px;    /* Elegant fixed width block */
    background-color: #111;
    border-radius: 6px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    
    /* Absolute state of invisibility */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s;
}

/* Activated State triggered seamlessly by JavaScript classes */
.nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Individual Link Formatting */
.nav-item {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    text-align: right; /* Text text snaps clean to the right */
    font-size: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-item:hover {
    background-color: #222;
    color: #00bcd4; /* Smooth accent color hover transition */
}

/* Smooth Morph Animations transforming burger lines into a clear 'X' close button */
.menu-button.active .burger-icon { 
    background: transparent; 
}
.menu-button.active .burger-icon::before { 
    transform: rotate(-45deg); 
    top: 0; 
}
.menu-button.active .burger-icon::after { 
    transform: rotate(45deg); 
    top: 0; 
}

/* Demo Content Window Area Placement */
.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    color: #333;
}

/* --- SUBMENU CONFIGURATION --- */

/* Establish relative positioning for the parent list item */
.has-submenu {
    position: relative;
}

/* Style to indicate a dropdown exists (adds a small down arrow) */
.dropdown-toggle::after {
    content: ' ▾';
    font-size: 0.8rem;
    vertical-align: middle;
    color: #00bcd4; /* Matches your cyan accent color */
}

/* 
   Invisible Submenu Base State
   Uses max-height and opacity together for a clean slide-and-fade animation.
*/
.submenu {
    list-style: none;
    background-color: #1a1a1a; /* Slightly lighter than the navbar for contrast */
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s;
}

/* Individual Submenu Link Formatting */
.submenu-item {
    display: block;
    color: #cccccc;
    text-decoration: none;
    padding: 10px 30px; /* Indented slightly more to the right */
    text-align: right;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.submenu-item:hover {
    background-color: #2a2a2a;
    color: #ffffff;
}

/* 
   THE ACTIVATION TRIGGER:
   When the user hovers over the parent item, reveal the submenu!
*/
.has-submenu:hover 

.submenu {
    max-height: 150px; /* Give it enough height to fit your sub-links */
    opacity: 1;
    visibility: visible;
}

  /* 1. Force the hamburger button to show up */
  .hamburger, .menu-toggle {
    display: block !important;
  }

  /* 2. Hide the normal desktop text links row */
  .nav-links, .desktop-menu {
    display: none !important;
  }


h1 {
	font-size: 1.1em;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}
h2 {
	font-size: 1.0em;
	margin-top: 5px;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}

hr {margin-top: 10px;
margin-bottom: 10px;
}

a {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #999;
}

a:hover {color:#f9dd64;
}

a:active { text-decoration:none;
color:#006;}


.dates {
	color: #666;
	text-align: left;
	font-weight:500;
	margin-bottom:5px;
}

#area2 { background:#fff; color:#333; font:bold 12pt "Trebuchet MS";padding:0 13px;display:block; margin:1px; border-radius: 8px; }


.logo {
	margin-left: 60px;
	margin-bottom: 1px;
	padding: 60px 0px 10px 0px;
	display: block;
	z-index: 1010;
}

.background {
	background-image:url(tile2.jpg);
}



#design {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: x-small;color: #69C;text-align: left;
	margin: 10px 0px 30px 10px;
	

}
#design a {text-decoration:none;color: #69C;}

