/* Alici Sol - Musician Website Styles */

* {
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --accent-light: #ff6b88;
    --text-light: #f1f1f1;
    --text-dark: #333;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: var(--text-dark);
}

/* Header Styles */
header {
    background: var(--bg-gradient);
    color: var(--text-light);
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin: 0;
    font-weight: 300;
    letter-spacing: 8px;
    background: linear-gradient(45deg, var(--text-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header p {
    margin: 10px 0 0 0;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    letter-spacing: 2px;
    opacity: 0.9;
    font-weight: 300;
}

/* Navigation Styles */
nav {
    background-color: var(--secondary-color);
    padding: 0;
    margin: 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 100px;
}

nav a {
    display: inline-block;
    padding: 15px 25px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
    background-color: rgba(233, 69, 96, 0.1);
    border-bottom-color: var(--accent-color);
    color: var(--accent-light);
}

/* Main Content */
main {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    min-height: calc(100vh - 300px);
}

.content-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* Typography */
h1 {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin: 0 0 20px 0;
    font-weight: 300;
    letter-spacing: 2px;
}

h2 {
    color: var(--primary-color);
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin: 30px 0 15px 0;
    font-weight: 400;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

h3 {
    color: var(--secondary-color);
    font-size: clamp(1.2rem, 3.5vw, 1.4rem);
    margin: 20px 0 10px 0;
    font-weight: 500;
}

p,
li {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    line-height: 1.8;
    color: #555;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

ul {
    padding-left: 25px;
}

li {
    margin-bottom: 12px;
}

/* Images */
img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Ensure images with inline max-width styles also scale down on mobile */
img[style*="max-width"] {
    max-width: 100% !important;
    width: auto;
    height: auto;
}

/* Content with Image Layout */
.content-with-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-with-image img {
    margin: 0 auto;
}

/* Iframe Containers */
iframe {
    display: block;
    border-style: none;
    max-width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.embed-container {
    max-width: 100%;
    margin: 30px auto;
}

.embed-container iframe {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Dividers */
hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    width: 90%;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-gradient);
    color: var(--text-light);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    opacity: 0.9;
    color: var(--text-light);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

td {
    text-align: left;
    vertical-align: top;
    padding: 5px;
}

/* Tablet Adjustments */
@media (max-width: 768px) {
    main {
        padding: 30px 15px;
    }

    .content-section {
        padding: 30px 20px;
    }

    nav a {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    h2 {
        margin-top: 20px;
    }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    body {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    header {
        padding: 15px 10px;
    }

    header h1 {
        letter-spacing: 4px;
    }

    main {
        padding: 20px 10px;
    }

    .content-section {
        padding: 20px 15px;
        border-radius: 0;
    }

    nav a {
        display: block;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 3px solid transparent;
    }

    nav a:hover,
    nav a.active {
        border-bottom-color: rgba(255, 255, 255, 0.1);
        border-left-color: var(--accent-color);
    }

    ul {
        padding-left: 20px;
    }

    li {
        margin-bottom: 10px;
    }

    hr {
        margin: 20px auto;
    }

    footer {
        padding: 10px 5px;
        margin-top: 10px;
    }
}