body {
    font-family: "Alegreya Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    
}

body::before {
    content: '';
    position: absolute;
    /* Change from fixed to absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 102%;

    background-color: transparent;
    opacity: 1;
    /* Ensure full opacity so the transparency effect works */
    background-image: linear-gradient(0deg, white 60%, transparent 40%);
    background-size: 6px 6px;

    mix-blend-mode: overlay;
    /* Keep the blend mode */
    pointer-events: none;
    z-index: 2;
    /* Ensure it is above the background image */
}

.container {
	position: relative;
	z-index: 3;
}

input {
	font-weight: 700;
}

img.thumbnail {
	max-width: 100px;
}

figcaption {
	width: 100px;
	position: relative;
	z-index:98;
	line-height: 1em;
	padding-top:10px;
	min-height: 35px;
	
}

a.magnify {
	position: relative;
	top: 30px;
	left: 70px;
	z-index:99;
}

img.magnify {
	border:none !important;
	}

img.magnified {
	border:none !important;
	margin:0px;
	padding:0px;
	}	
	
.bs-callout h4.agenda {
	margin-top:20px;
	}	
	
.invite-text {
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 2.25em;
    margin-left: 10%;
    margin-right: 10%;
    }
.invite-card {
    padding: 20px;
    border-radius: 0;
    border: none;
    background-color: #fff;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.08),
        0 2px 2px rgba(0,0,0,0.08),
        0 4px 4px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.invite-card:hover {
    box-shadow: 
        0 2px 2px rgba(0,0,0,0.08),
        0 4px 4px rgba(0,0,0,0.08),
        0 8px 8px rgba(0,0,0,0.08);
}

.info-card {
    padding: 20px;
    border-radius: 0;
    border: none;
    background-color: #fff;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.08),
        0 2px 2px rgba(0,0,0,0.08),
        0 4px 4px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    margin-bottom: 20px;
}

.info-card:hover {
    box-shadow: 
        0 2px 2px rgba(0,0,0,0.08),
        0 4px 4px rgba(0,0,0,0.08),
        0 8px 8px rgba(0,0,0,0.08);
}

.info-card h3 {
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FF8200;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 130, 0, 0.2);
}

.info-card p, .info-card li {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #34495e;
}

/* RSVP Form Styles */

/* Add subtle drop shadow to all cards */
.card {
    border-radius: 0;
    border: none;
    background-color: #fff;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.08),
        0 2px 2px rgba(0,0,0,0.08),
        0 4px 4px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.card:hover {
    box-shadow: 
        0 2px 2px rgba(0,0,0,0.08),
        0 4px 4px rgba(0,0,0,0.08),
        0 8px 8px rgba(0,0,0,0.08);
}

/* Typography styles */
.card-header, .card-header.comments-header,
.card-header.events-header {
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

label, .fw-bold, .form-check-label {
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: 500;
    color: #2c3e50;
}

/* Page title styling */
h2 {
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

/* Form group spacing */
.form-group {
    margin-bottom: 1.5rem;
}

/* Custom styles for buttons and checkboxes */
.btn-outline-secondary {
    background-color: #f8f9fa;
    border: none;
    color: #6c757d;
    min-width: 60px;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
}

.btn-check:checked + .btn-outline-secondary {
    background-color: #0d6efd;
    border: none;
    color: white;
}

.btn-outline-secondary:hover:not(.active) {
    background-color: #e9ecef;
    border: none;
    color: #6c757d;
}

/* Custom styles for checkbox and radio containers */
.checkbox-container {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease-in-out;
}

.checkbox-container:hover {
    background-color: #e9ecef;
}

.form-check-input:checked ~ .checkbox-container,
.form-check-input:checked + label + .checkbox-container {
    background-color: #e7f0ff;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Custom checkbox/radio layout */
.custom-checkbox-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.custom-checkbox-wrapper .form-check-input {
    margin-right: 0.5rem;
}

/* Form validation styles */
.form-check-label {
    margin-bottom: 0;
}

/* Custom validation styles for optional fields */
.needs-validation-empty .form-control:valid:placeholder-shown,
.needs-validation-empty .form-select:valid:placeholder-shown,
.needs-validation-empty textarea.form-control:valid {
    border-color: #dee2e6;
    background-image: none;
}

.needs-validation-empty.was-validated .form-control:valid:placeholder-shown,
.needs-validation-empty.was-validated .form-select:valid:placeholder-shown,
.needs-validation-empty.was-validated textarea.form-control:valid:not(:focus) {
    border-color: #dee2e6;
    background-image: none;
}

/* Glyphicons support */
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../fonts/bootstrap/glyphicons-halflings-regular.eot');
    src: url('../fonts/bootstrap/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/bootstrap/glyphicons-halflings-regular.woff') format('woff'),
         url('../fonts/bootstrap/glyphicons-halflings-regular.ttf') format('truetype'),
         url('../fonts/bootstrap/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.glyphicon-plus:before { content: "\2b"; }
.glyphicon-remove:before { content: "\e014"; }

.btn .glyphicon {
    vertical-align: middle;
}

.card-header button.btn-secondary {
    font-family: 'Alegreya Sans', sans-serif;
}

/* Shirt preview styles */
.shirt-preview-disabled {
    filter: grayscale(100%);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.card-footer .form-check {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-footer .checkbox-label-group {
    display: flex;
    align-items: center;
}

.card-footer .invalid-feedback {
    text-align: center;
    margin-top: 0.25rem;
    display: none;
}

.was-validated .card-footer .form-check .invalid-feedback {
    display: block;
}

.was-validated .card-footer .form-check input:invalid ~ .invalid-feedback {
    display: block;
}

/* Modal vertical centering */
.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 60px);
}

.modal-content {
    width: 100%;
}

/* Schedule styles */
.schedule-day {
    margin-bottom: 1.5rem;
}

.schedule-day h5 {
    color: #FF8200;
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 500;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    border: 1px solid rgba(255, 130, 0, 0.2);
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-list li {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.schedule-list li:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Remove custom link styling to use default link style */
.schedule-list li a {
    color: inherit;
    text-decoration: underline;
}

.schedule-list li a:hover {
    color: inherit;
}

/* Parking icon styles */
.parking-icon {
    color: #666;
    text-decoration: none !important;
    font-size: 0.9em;
    margin-left: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.parking-icon:hover {
    opacity: 1;
    text-decoration: none !important;
}

.image-card {
    margin-bottom: 2rem;
}

.image-card .card-body {
    padding: 1.5rem;
}

.image-card h3 {
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FF8200;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 130, 0, 0.2);
}

.image-card .card-img-top {
    position: relative;
    cursor: pointer;
}

.image-card .card-img-top::after {
    content: "View Full Size Image";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Alegreya Sans SC', sans-serif;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-card .card-img-top:hover::after {
    opacity: 1;
}

.image-card .image-link {
    position: relative;
    display: block;
    cursor: pointer;
}

.image-card .image-link::after {
    content: "View Full Size Image";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Alegreya Sans SC', sans-serif;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-card .image-link:hover::after {
    opacity: 1;
}

/* Event Photos Carousel Styles */
.event-photos-carousel {
    border-radius: 0;
    overflow: hidden;
}

.event-photos-carousel .carousel-item {
    height: 600px;
    background-color: #000;
}

.event-photos-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-photos-carousel .carousel-control-prev,
.event-photos-carousel .carousel-control-next {
    width: 5%;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.3);
}
