* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.navbar {
    background-color: #228B22;
    color: white;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo h2 {
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #90EE90;
}

.nav-menu a[href="profile.php"] {
    background-color: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #228B22;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-container {
        justify-content: space-between;
    }
}

.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.journal-entry {
    background: white;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.journal-entry h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.journal-meta {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.journal-images {
    margin: 1rem 0;
}

.journal-images img {
    max-width: 100%;
    height: auto;
    margin: 0.5rem;
    border-radius: 4px;
}

.pagination {
    text-align: center;
    margin: 2rem 0;
}

.pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #2980b9;
}

.pagination .current {
    background-color: #e74c3c;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.photo-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.photo-item img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.photo-caption {
    padding: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.meetings-list {
    margin: 2rem 0;
}

.meeting-item {
    background: white;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.meeting-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.meeting-date {
    font-size: 1.1rem;
    font-weight: bold;
    color: #228B22;
    margin-bottom: 0.5rem;
}

.meeting-time {
    font-size: 1rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.meeting-description {
    color: #7f8c8d;
    line-height: 1.6;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: #000000;
    color: white;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.hero-content {
    text-align: right;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
}

.hero-logo {
    text-align: left;
}

.hero-logo {
    display: flex;
    align-items: center;
}

.hero-logo img {
    width: auto;
    height: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-logo {
        text-align: center;
    }
}

.alternating-content {
    margin-bottom: 3rem;
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.content-row.reverse {
    direction: rtl;
}

.content-row.reverse > * {
    direction: ltr;
}

.content-block {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.content-block h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .content-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-row.reverse {
        direction: ltr;
    }
}

.image-placeholder {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5px;
}

.image-placeholder:has(img[src*="MishawakaPractice.jpg"]) {
    height: 300px;
}

.image-placeholder:has(img[src*="TeamPhoto.jpg"]) {
    height: 300px;
}

.image-placeholder img[src*="TeamPhoto.jpg"] {
    object-fit: contain;
}

.image-placeholder:has(img[src*="2024RobotBuild.jpg"]) {
    height: 300px;
}

.image-placeholder img[src*="2024RobotBuild.jpg"] {
    object-fit: contain;
}

.image-placeholder img[src*="MishawakaPractice.jpg"] {
    object-fit: contain;
}

.image-placeholder:has(img[src*="FTCDecode.png"]) {
    height: auto;
    min-height: 100%;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.image-placeholder img[src*="FTCDecode.png"] {
    object-fit: contain;
    background-color: white;
}

.placeholder-text {
    color: #7f8c8d;
    font-style: italic;
}

/* Profile Page Styles */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-container h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.profile-section {
    background: white;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.profile-section h2 {
    color: #228B22;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #228B22;
    padding-bottom: 0.5rem;
}

.profile-section h3 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-item label {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.info-item span {
    color: #555;
    padding: 0.25rem 0;
}

.parent-list, .children-list {
    margin-top: 1rem;
}

.parent-card, .child-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border-left: 4px solid #228B22;
}

.child-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .profile-container {
        padding: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-section {
        padding: 1rem;
    }
}

/* Profile Form Styles - Match existing site forms */
.profile-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-container h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.profile-form input, .profile-form select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.profile-form button {
    width: 100%;
    padding: 0.75rem;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 1rem;
}

.profile-form button:hover {
    background-color: #c0392b;
}

.cancel-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #95a5a6;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.cancel-btn:hover {
    background-color: #7f8c8d;
}

.success {
    background-color: #27ae60;
    color: white;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}