/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-image: url('backgroundimage.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Custom styles for BSA Troop 485 */
.troop-header {
    background-color: #003f79; /* Dark blue - common BSA color */
}

.troop-nav {
    background-color: #f0f0f0; /* Light gray for nav */
}

.troop-footer {
    background-color: #333; /* Dark gray for footer */
    color: white;
}

.content-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #0062cc; /* BSA blue */
    color: white;
}

.btn-primary:hover {
    background-color: #004a99;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.section-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    margin-bottom: 1.5rem; /* mb-6 */
    color: #003f79; /* Dark blue */
    border-bottom: 6px solid #0062cc;
    padding-bottom: 0.5rem;
}

/* Mobile Menu */
.mobile-menu-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 98, 204, 0.5); /* Focus ring */
}

/* Active navigation item */
.nav-active {
    background-color: #0062cc;
    color: white !important;
}

.nav-active:hover {
    background-color: #004a99;
    color: white !important;
}

/* Google Calendar responsive embed */
.calendar-container {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}

.calendar-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Google Drive responsive embed */
.drive-container {
    position: relative;
    padding-bottom: 60%;
    height: 0;
    overflow: hidden;
    margin-bottom: 1rem;
}

.drive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Contact form styles */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #0062cc;
    box-shadow: 0 0 0 2px rgba(0, 98, 204, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .calendar-container {
        padding-bottom: 100%;
    }
}
