/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    background: #000000; /* Updated Dark Blue */
    color: white;
    text-align: center;
    padding: 20px 0;
}

header h1 {
    margin: 0;
    font-size: 2em;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 20px;
    background: #f4f4f4; /* Light background for a cleaner look */
    color: #000000; /* Dark Blue Text */
    border-bottom: 5px solid #009688; /* Orange Accent */
}

.hero .btn {
    background: #000000; /* Dark Blue */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease;
}

.hero .btn:hover {
    background: #009688; /* Accent Orange for hover effect */
    color: white;
}

/* Featured Projects */
.featured-projects {
    padding: 40px 20px;
    text-align: center;
    background: white;
}

.project-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.project {
    background: #fff;
    border: 2px solid #000000;
    padding: 15px;
    width: 220px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.project:hover {
    transform: scale(1.05);
}

.project img {
    width: 100%;
    border-radius: 5px;
}

/* Portfolio */
.portfolio {
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.portfolio h2 {
    text-align: center;
    padding-bottom: 10px;
}

.portfolio-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.portfolio-item {
    background: white;
    padding: 20px;
    border: 2px solid #000000;
    width: 45%;
    text-align: center;
    border-radius: 8px;
    position: relative;
}

.portfolio-item iframe {
    width: 100%;
    height: 300px;
    border: none;
    max-width: 100%;
}

.fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #009688; /* teal Accent */
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    transition: 0.3s ease;
}

.fullscreen-btn:hover {
    background: #000000; /* Dark Blue Hover Effect */
}

/* Fullscreen Mode - Keep Content Centered */
:fullscreen .portfolio-item iframe {
    width: 80%;
    height: 80vh;
    margin: auto;
    display: block;
}

/* About Page with Headshot */
.about {
    padding: 40px 20px;
    background: #f4f4f4;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about h2 {
    color: #009688;
    text-align: center;
}

.about img {
    width: 150px; /* Headshot Size */
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 20px auto;
    display: block;
    border: 3px solid #009688; /* teal Accent */
}

/* Contact Page with Social Media Icons Inline */
.contact {
    text-align: center;
    padding: 40px 20px;
}

.contact a {
    color: #009688; /* Orange Accent */
    font-weight: bold;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

/* Make ILT accordion wider */
.accordion {
  max-width: 1000px;   /* wider area for ILT docs */
  margin: 20px auto;
  text-align: center;
}

.accordion-trigger {
  cursor: pointer;
  transition: transform 0.2s;
}
.accordion-trigger:hover {
  transform: scale(1.05);
}
.accordion-content {
  display: none;
  margin-top: 15px;
  text-align: left;
}

/* Show resources in a single row, scrollable if needed */
.resource-gallery {
  display: flex;
  flex-wrap: nowrap;    /* keep in one line */
  gap: 20px;
  overflow-x: auto;     /* allow sideways scroll if too many */
  padding: 10px 0;
}

.resource-item {
  flex: 0 0 250px;      /* fixed width per doc */
  text-align: center;
}

.resource-item span {
  font-size: 0.9rem;
}

.doc-preview {
  width: 100%;
  height: 300px;        /* taller previews */
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Optional: make portfolio item full width for ILT */
/* Keep default portfolio items at 45% */
.portfolio-item {
  width: 45%;
}

/* Make ONLY the ILT accordion span full width */
.portfolio-item:has(.accordion) {
  width: 100%;
}
.portfolio-item:has(.accordion) .accordion {
  max-width: 100%;
}



/* Footer */
footer {
    background: #000000;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}
