/*
 * Steet Angeles Website Styles
 *
 * This stylesheet defines the look and feel of the Steet Angeles web site. It
 * follows a gold/black/rainbow colour scheme inspired by urban art and
 * creativity. Elements are designed to be responsive and accessible on both
 * desktop and mobile devices. Feel free to adjust the variables below to
 * customise the colour palette.
 */

/* Colour palette */
:root {
    --black: #0a0a23;
    --dark: #1a1a2e;
    --gold: #d4af37;
    --text-light: #f5f5f5;
    --text-dark: #333;
    /* Rainbow gradient stops */
    --rainbow-gradient: linear-gradient(45deg,
        #ff005a,
        #ff8a00,
        #ffd500,
        #2af598,
        #00c6ff,
        #845ec2
    );
}

/* Base styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* Sacred geometry background for About page */
body.about-page {
    position: relative;
    /* Dark base color remains; pattern will overlay via pseudo-element */
}

body.about-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/sacred-geometry.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Header and Navigation */
header {
    background-color: var(--black);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

/* Logo container with icons */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* Header icons flanking the logo */
/*
 * The header icons are simple image tags with transparent backgrounds. To
 * ensure they scale consistently and sit flush against the dark header
 * background without any borders or boxes, we set their size and
 * object-fit. The images themselves (lion-lineart2.png and
 * angel-lineart2.png) have transparent backgrounds and golden line art.
 */
.header-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: inline-block;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
}

.nav-links li a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--gold);
}

/* Mobile navigation toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle div {
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
}

/* Hero section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-light);
    background-image: var(--rainbow-gradient);
    background-size: 400% 400%;
    animation: gradientAnimation 20s ease infinite;
    position: relative;
}

/* Removed geometric overlays from hero section to place icons only in header */

@keyframes gradientAnimation {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--gold);
    color: var(--black);
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    background-color: #b59b2c;
}

/* Branch section on home page */
.branches {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.branches h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

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

.branch-card {
    background-color: var(--black);
    border-radius: 8px;
    padding: 2rem 1rem;
    color: var(--text-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.branch-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.branch-card h3 {
    margin-bottom: 0.5rem;
}

.branch-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.branch-card a {
    margin-top: 1rem;
    display: inline-block;
    color: var(--gold);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.branch-card a:hover {
    border-color: var(--gold);
}

/* About page */
.about {
    padding: 4rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Gallery page */
.gallery {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Blog page */
.blog {
    padding: 4rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
}

.blog h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gold);
}

.blog-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

.blog-section {
    margin-bottom: 3rem;
}

.blog-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

.blog-post {
    background-color: var(--black);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.blog-post h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.post-meta {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 0.75rem;
}

.blog-post p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    color: var(--gold);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.read-more:hover {
    border-color: var(--gold);
}

.gallery h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--gold);
}

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

.gallery-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    height: 0;
    padding-bottom: 66%;
    position: relative;
}

.gallery-grid img.loaded {
    height: auto;
    padding-bottom: 0;
}

/* Mystic services page */
.mystic {
    padding: 4rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mystic h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.mystic-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

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

.service-card {
    background-color: var(--black);
    border-radius: 8px;
    padding: 2rem 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--gold);
}

.service-card h3 {
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.service-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.upload-section {
    margin-top: 3rem;
    text-align: center;
}

.upload-section input[type="file"] {
    margin-top: 1rem;
    padding: 0.5rem;
    color: var(--text-light);
}

.upload-preview {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Contact page */
.contact {
    padding: 4rem 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--gold);
}

.contact p {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    background-color: var(--dark);
    border: 1px solid #333;
    border-radius: 4px;
    color: var(--text-light);
    font-size: 1rem;
    resize: vertical;
}

.contact-form button {
    align-self: flex-start;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    background-color: #004d40;
    color: #b2fef7;
    border: 1px solid #00796b;
}

/* Footer */
.footer {
    background-color: var(--black);
    padding: 1rem 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 64px;
        right: -100%;
        width: 200px;
        height: calc(100vh - 64px);
        flex-direction: column;
        background-color: var(--black);
        padding: 1rem;
        gap: 1rem;
        transition: right 0.3s ease;
    }
    .nav-links.open {
        right: 0;
    }
    .menu-toggle {
        display: flex;
    }
}