/* 
   RiotOnRoad - Base Styles
   Inspired by Brandient's clean, bold visual approach
*/

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Basic Typography */
body {
    font-family: 'Space Mono', monospace;
    line-height: 1.6;
    color: #191919;
    background-color: #fff;
    font-size: 24px; /* Increased from 16px to 24px (50% larger) */
    letter-spacing: -0.01em;
}

/* Container for consistent spacing */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 0;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800; /* Extra Bold for Montserrat */
    letter-spacing: -0.02em;
    font-family: 'Montserrat', sans-serif;
}

h1 {
    font-size: 3.5rem;
    margin: 0;
}

h2 {
    font-size: 2.75rem;
    margin-top: 0;
    margin-bottom: 1rem; /* Reduced from 2rem to 1rem to decrease gap with service pills */
    text-transform: uppercase;
}

h3 {
    font-size: 1.8rem;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.5rem; /* This is now relative to the larger base font size */
    line-height: 1.8;
}

/* Sections */
section {
    padding: 00;
}

/* Header */
header {
    padding: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
}

.logo-container {
    flex: 1;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
}

.tagline-container {
    flex: 2;
    text-align: center;
}

.header-tagline {
    font-size: 1.8rem; /* Increased from 1.25rem to 2.5rem (2x size) */
    margin: 0;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.6;
}

.main-nav {
    flex: 1;
    text-align: right;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.main-nav li {
    margin-bottom: 0.5rem; /* Increased from 0.5rem to 1rem for better spacing with larger font */
}

.main-nav li:last-child {
    margin-bottom: 0;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    /*text-transform: uppercase;*/
    letter-spacing: 0.05em;
    font-size: 1.7rem; /* Increased from 0.85rem to 1.7rem (2x size) */
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #f0117d;
}

/* Hero Section */
.hero {
    text-align: center;
    color: #fff;
    position: relative;
    padding: 0;
}

.hero .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-container {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    width: 100%;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h2 {
    font-size: 3.5rem;
    max-width: 900px;
    margin: 0 auto;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-weight: 900; /* Black weight for extra impact */
}

/* Services Section */
.service-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0.75rem 0 2rem; /* Reduced top margin to bring pills closer to title while keeping bottom spacing */
    gap: 1rem;
}

.service {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid #000;
    border-radius: 50px;
    flex: 0 0 auto;
}

.service h3 {
    font-size: 1.125rem; /* Relative to the new body text size */
    margin: 0;
    font-weight: 700;
    font-family: 'Space Mono', monospace; /* Same as body text */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.services-description {
    font-size: 1.125rem; /* Relative to the new body text size */
    max-width: 800px;
    line-height: 1.8;
}

.motto {
    font-weight: bold;
    margin-top: 2rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Artists Section */
.artist-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    margin-top: 2rem;
}

.artist {
    margin-bottom: 0;
    padding: 2rem;
    border: 1px solid #ddd;
    text-align: left;
    transition: all 0.3s ease;
    background-color: #ffffff;
    height: 100%;
}

.artist-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.artist:hover {
    background-color: #f0117d;
    border-color: #f0117d;
}

.artist:hover .artist-info h3, 
.artist:hover .epk-link {
    color: #fff;
}

.artist-info {
    width: 100%;
}

.artist-info h3 {
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.epk-link {
    font-weight: 500;
    text-decoration: none;
    color: #222;
    transition: color 0.3s ease;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
}

/* Contact Form */

section.contact{
    margin-top: 8rem;
    padding: 4rem 0;
}

.contact{
    background-color: #191919;
    color: #fff;
}

.contact-form {
    max-width: 700px;
    margin: 3rem 0;
}

.form-group {
    margin-bottom: 2rem;
}

#form-status {
    margin-bottom: 2rem;
    display: none;
}

.success-message {
    background-color: rgba(0, 128, 0, 0.1);
    color: #fff;
    padding: 1rem;
    border-left: 4px solid #00c851;
}

.error-message {
    background-color: rgba(255, 0, 0, 0.1);
    color: #fff;
    padding: 1rem;
    border-left: 4px solid #ff3547;
}

label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    color: #fff;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 1px solid #fff;
    background-color: transparent;
    font-size: 1rem; /* Relative to the new body text size */
    font-family: 'Space Mono', monospace;
    transition: border-color 0.3s ease;
    color: #fff;
}

input:focus, textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.7);
}

.submit-btn {
    background: #191919;
    color: white;
    border: 1px solid #fff;
    padding: 1rem 2.5rem;
    cursor: pointer;
    font-size: 0.9rem; /* Relative to the new body text size */
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #f0117d;
    border-color: #f0117d;
}

/* Footer */
footer {
    background: #f0117d;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

footer p {
    font-size: 0.9rem; /* Relative to the new body text size */
    letter-spacing: 0.05em;
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 3rem;
    margin: 0;
}

.about-image-column {
    display: flex;
    align-items: flex-start;
}

.about-image {
    width: 100%;
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.founder-image {
    width: 100%;
    height: auto;
    display: block;
}

.about-content-column {
    display: flex;
    flex-direction: column;
}

.about-content {
    max-width: 800px;
    margin: 0;
}

.about-content h2 {
    margin-top: 0;
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-content .motto {
    font-weight: bold;
    font-size: 1.8rem;
    margin-top: 3rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    /* No longer needed artist-image styles removed */
}

@media (max-width: 992px) {
    .container.header-container {
        margin-top: 0;
        padding-top: 0;
    }
    h2 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo-container {
        flex: 1;
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .logo {
        max-width: 143px; /* Reduced by 50% for tablet */
        margin: 0;
    }
    
    .tagline-container {
        flex: 1;
        order: 1;
        text-align: right;
        margin-bottom: 1.5rem;
    }
    .header-tagline {
        font-size: 1.6rem; /* Adjusted from 2.5rem to 1.5rem for tablet */
    }
    
    .main-nav {
        flex: 0 0 100%;
        order: 2;
        text-align: center;
    }
    
    .main-nav ul {
        flex-direction: row;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0 1rem;
    }
    
    /* About page tablet adjustments - one column with image at top */
    .about-grid {
        grid-template-columns: 1fr;
        grid-gap: 2rem;
    }
    
    .about-image-column {
        order: 1; /* Image at top */
    }
    
    .about-content-column {
        order: 2; /* Content below */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 3rem 0;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .service-categories {
        margin: 1.5rem 0 1.5rem;
        gap: 0.8rem;
    }
    
    .service {
        padding: 0.4rem 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .service h3 {
        font-size: 0.9rem;
    }
    
    .hero .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .hero-container {
        padding-bottom: 75%; /* Adjusted aspect ratio for better viewing on mobile */
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .header-tagline {
        font-size: 2rem; /* Adjusted from 1.1rem to maintain proportion while still being larger */
    }
    
    /* Keep logo visible on mobile */
    .logo-container {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .logo {
        max-width: 143px;
        margin: 0 auto;
    }
    
    .main-nav ul {
        align-items: flex-start;
    }
    
    .tagline-container, .main-nav {
        flex: 0 0 100%;
        text-align: center;
        margin-top: 1rem;
    }
    
    .main-nav ul {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .main-nav li {
        margin: 0.5rem 1rem; /* Reduced horizontal spacing and added vertical spacing */
    }
    
    .nav-link {
        font-size: 1.3rem; /* Slightly smaller on mobile */
    }
    
    /* Artist styles for mobile */
    .artist {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .artist-info h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .epk-link {
        font-size: 0.9rem;
    }
    
    /* Convert grid to single column on mobile */
    .artist-list {
        grid-template-columns: 1fr;
        grid-gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    /* About page mobile adjustments - one column with image at top */
    .about-grid {
        grid-template-columns: 1fr;
        grid-gap: 2rem;
    }
    
    .about-image-column {
        order: 1; /* Keep image at top */
        margin-top: 0;
    }
    
    .about-content-column {
        order: 2; /* Content below */
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    /* Better form experience on mobile */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    input, textarea {
        padding: 0.8rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    body {
        font-size: 16px; /* Slightly smaller base font size for very small screens */
    }
    p{
        font-size: 1.2rem;
    }
    section{
        padding: 3rem 0 0;
    }
    .container {
        width: 94%; /* Larger side margins on very small screens */
        padding: 0rem 0;
    }
    
    .logo {
        max-width: 120px; /* Smaller logo on very small screens */
    }
    .header-container {
        padding-bottom: 0;
    }
    .tagline-container {
        margin-bottom: 0;
    }
    .header-tagline {
        font-size: 1.3rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .main-nav ul {
        padding: 0 0.5rem;
    }
    .main-nav li {
        margin: 0.5rem 0.5rem;
    }
    
    .artist {
        padding: 1rem;
    }
    
    .artist-info h3 {
        font-size: 1.4rem;
    }
    
    /* Further adjust about image for very small screens */
    .about-image-column {
        margin-top: 0;
        margin-bottom: 1.5rem;
    }
    
    .about-content .motto {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    section.contact{
        margin-top: 8rem;
        padding: 4rem 0;
    }
}
