/* --- Color Palette & Font Styles --- */
:root {
    --primary-color: #2c3e50; /* Dark Slate Blue */
    --secondary-color: #f8f9fa; /* Off-White */
    --accent-color: #f39c12; /* Vibrant Orange */
    --text-color-dark: #343a40; /* Dark Grey */
    --text-color-light: #ffffff; /* White */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
}

body.contact-bg {
    background-image: url('bin/banner-000.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

/* --- Header & Footer Styles --- */
header {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid var(--accent-color);
}
.header-content { flex-grow: 1; }
header h1 {
    margin: 0 0 1rem 0;
    font-size: 2.5rem;
    font-weight: 300;
    text-align: left;
}
footer {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: center;
    padding: 1.5rem;
}


/* --- Navigation Styles --- */
nav { text-align: left; }
nav ul { list-style-type: none; padding: 0; margin: 0; }
nav ul li { display: inline-block; margin-right: 10px; margin-bottom: 5px; }
nav ul li a {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
nav ul li a:hover {
    background-color: #d35400;
    color: var(--text-color-light);
    transform: translateY(-2px);
}


/* --- Main Content --- */
main {
    padding: 20px;
    min-height: 70vh;
    max-width: 1600px;
    margin: 0 auto;
}

/* --- IMAGE GALLERY STYLES --- */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.gallery-item {
    background-color: #fff;
    border: 10px solid #222;
    padding: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    flex-basis: calc((75% - 90px) / 4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
}
.gallery-item:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.4);
}
.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


.about {
    margin-bottom: 40px;
    text-align: center;
}
.about h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
}
.bottom-links-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.section-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.link-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.link-label-underneath {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-color-dark);
}
.link-box {
    position: relative;
    display: block;
    width: 350px;
    height: 350px;
    border-radius: 0;
    border: 3px solid #333;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.link-box:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.link-box-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.link-box:hover .link-box-image {
    transform: scale(1.1);
}
.link-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--text-color-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.link-box:hover .link-box-overlay {
    opacity: 1;
}
.link-box-desc {
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
    font-style: italic;
}

footer .contact-info {
    color: var(--text-color-light);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 1rem;
}
.social-links a {
    display: inline-block;
    transition: transform 0.2s ease;
}
.social-links a:hover {
    transform: scale(1.15);
}
.social-links img {
    width: 35px;
    height: 35px;
    margin: 5px;
    border-radius: 50%;
    border: 2px solid #ccc;
    vertical-align: middle;
}


/* --- Other Page & Form Styles --- */
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { padding: 12px; border: 1px solid #ddd; text-align: left; }
.contact-form { max-width: 600px; margin: 20px auto; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; }
.form-group input, .form-group textarea { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; }
.contact-form button { background-color: var(--primary-color); color: var(--text-color-light); padding: 10px 15px; border: none; cursor: pointer; font-size: 1rem; }
.contact-form button:hover { background-color: var(--accent-color); }

.video-placeholder {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}
.video-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* --- Responsive Design --- */
@media (max-width: 900px) {
    .gallery-item {
        flex-basis: calc((100% - 60px) / 3);
    }
}

@media (max-width: 768px) {
    header { flex-direction: column; text-align: center; }
    header h1, nav { text-align: center; }
    .logo { height: 100px; width: 100px; }
    header h1 { font-size: 2rem; }
    .bottom-links-contact { flex-direction: column; align-items: center; }
}
@media (max-width: 600px) {
    .gallery-item {
        flex-basis: calc((100% - 30px) / 2);
    }
}
@media (max-width: 480px) {
    nav ul li { display: block; margin: 8px auto; }
    nav ul li a { display: block; }
    .gallery-item {
        flex-basis: 100%;
    }
}

/* --- Homepage Gallery Override Styles --- */
.gallery-asymmetrical .gallery-item {
    aspect-ratio: auto;
}
.gallery-asymmetrical .gallery-item img {
    aspect-ratio: auto;
}

/* --- Videography Page Gallery Styles --- */
.video-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}
.video-frame {
    border: 10px solid #222;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    flex-basis: calc((100% - 60px) / 3);
    aspect-ratio: 16 / 9;
    padding: 15px;
    background-color: #fff;
}

/* --- : Contact Page Specific Styles --- */
.contact-bg main {
    color: var(--text-color-light);
}
.contact-bg .contact-form {
    background-color: rgba(255, 255, 255, 0.9); 
    padding: 20px;
    border-radius: 5px;
}
.contact-bg .form-group label {
    color: var(--text-color-dark);
}