/*
Theme Name: lightning sonica music
Author: Daniel
Version: 1.0
*/

/*

               #191618; | #5a2cff;    | #b58fff
color scheme: grey tone | purple dark | lighter purple

*/
/* ---------- Reset ---------- */
* {
    box-sizing: border-box;
}



html, body {
  overflow-x: hidden;
  height:100%;
  margin:0;
}

h2{
    font-weight: 800;
}

h1,h2 {
    color:#b58fff;
    text-transform: uppercase;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: transparent;
    color: #eaeaf0;
    line-height: 1.6;
    background-image:
        url("images/waveform_bg.webp"),
        repeating-linear-gradient(
            45deg,
            rgba(90, 44, 255, 0.25) 0,
            rgba(90, 44, 255, 0.25) 2px,
            transparent 2px,
            transparent 12px
        );
    background-blend-mode: overlay;

    background-repeat: no-repeat, repeat;
    background-position: center top, center;
    background-size: 100% auto, auto;
}

main {
    flex: 1 0 auto;
}
.square {
    width: 30px;           /* adjust size as needed */
    height: 30px;
    background-color: #5a2cff;
}

/* ---------- Layout ---------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
    background: linear-gradient(to bottom, #191618, #000000);
    border: 4px solid #5a2cff;

    border-radius: 14px;
    box-shadow: 0 0 15px rgba(128, 0, 255, 0.7);
}

.section-divider {
    width: 60px;               /* width of the rectangle */
    height: 6px;               /* thickness */
    background-color: #5a2cff; 
    margin: 40px auto;         /* vertical spacing + centered */
    border-radius: 3px;        /* slightly rounded edges */
}


/* Header container using flex */
.site-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #191618;
    border-bottom: 4px solid #5a2cff;
    overflow: hidden;
    padding-top: 27px;
    padding-bottom: 27px;
}

.site-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("images/waveform_header.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75% auto;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.site-header > * {
    position: relative;
    z-index: 1;
}



.header-right {
    display: flex;
    align-items: center;
    gap: 20px; /* space between nav and icons */
}

.header-nav a {
    color: #b58fff;
    text-decoration: none;
    font-weight: 600;
}

.header-nav a:hover {
    text-decoration: underline;
}

/* Header title */
.full-width-header-text h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin: 0;
    /* background: linear-gradient(to top, #ffffff, #b58fff); */
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    /* text-shadow: 0 0 10px rgba(181, 143, 255, 0.7); */
}

/* Social icons container */
.social-icons {
    display: flex;
    gap: 15px;
}

/* Social images */
.social-icons img {
    width: 32px;
    height: 32px;
    cursor: pointer;
}



footer {
    position: relative;        /* needed for ::before */
    flex-shrink: 0;
    padding: 20px;
    background-color: #191618; /* fallback if image fails */
    color: #ffffff;
    text-align: center;
    overflow: hidden;          /* contain pseudo-element */
}

footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("images/waveform_header.webp"); /* same waveform as header */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.3;              /* control transparency */
    z-index: 0;                /* behind footer content */
    pointer-events: none;
}

footer > * {
    position: relative;
    z-index: 1;                /* above the waveform */
}

.site-footer {
    position: relative;       /* required for ::before */
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #222;
    background-color: #191618;
    overflow: hidden;         /* keeps pseudo-element contained */
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("images/waveform_header.webp"); /* same image as header */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;   /* adjust zoom if needed */
    opacity: 0.3;             /* adjust transparency */
    z-index: 0;
    pointer-events: none;     /* allows clicking links above */
}

.site-footer > * {
    position: relative;
    z-index: 1;               /* content above the waveform */
}

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: #9d7cff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.hero {
  width: 100vw;           /* full viewport width */
  margin-left: calc(-50vw + 50%); /* neutralize container centering */
  padding: 6rem 0 4rem;
  display: flex;
  justify-content: center;
  text-align: center;
  background: url('images/hero.webp') center/cover no-repeat;
  color: #fff;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.8;
}


/* ---------- Music Section ---------- */
.music {
    padding: 4rem 0;
    background-color: transparent;
    width:75%;
}

.soundcloud-embed {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
}


.audio-services {
  padding: 4rem 1.5rem;
  background: #191618;
  color: #f5f5f5;
}

.audio-services__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.audio-services__media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.audio-services__content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.audio-services__content p {
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.audio-services__note {
  font-size: 0.9rem;
  opacity: 0.7;
  font-style: italic;
}

.waveform-section {
  padding: 2rem 1rem;
  background: transparent;  
  display: flex;
  justify-content: center;
  align-items: center;
}

.waveform-section__inner img {
  width: 100%;
  max-width: 800px;  
  height: auto;
  border-radius: 8px; /* optional */
  box-shadow: 0 4px 12px rgba(0,0,0,0.4); /* subtle depth */
}


.pattern-gallery {
  display: flex;                   /* enable flexbox */
  justify-content: center;         /* center the whole row */
  align-items: center;             /* vertical alignment */
  gap: 40px;                       /* space between each image */
  margin: 40px 0; 
  background: linear-gradient(to bottom, #191618, #000000);
}

.pattern-item img {
  width: 100%;
  max-width: 250px;                /* controls size of images */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}




.shadow-header {
    text-shadow: 2px 2px 16px rgba(0, 0, 0, 0.5); /* x-offset, y-offset, blur, color */
}


.contact-section {
    background-color: #000000;
    padding: 80px 20px;
    width: 100%;
    margin-bottom: 80px;
}

/* NEW: wrapper for form + image */
.contact-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.contact-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    background: linear-gradient(to top, #ffffff, #b58fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
    padding-left: 20px;
}

.contact-form {
    max-width: 600px;
    margin-left: 20px;
    flex: 1;
}

.contact-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* form groups */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.form-group label {
    color: #cbb6ff;
    margin-bottom: 6px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    background: #05000c;
    border: 1px solid rgba(181, 143, 255, 0.35);
    color: #ffffff;
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 6px;
    outline: none;
    transition: border 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #b58fff;
    box-shadow: 0 0 12px rgba(181, 143, 255, 0.45);
}

.contact-button {
    background: linear-gradient(135deg, #5a2cff, #b58fff);
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 28px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(181, 143, 255, 0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(181, 143, 255, 0.8);
}



.blog-archive, .blog-post {
    max-width: 900px;
    margin: 80px auto;
    padding: 30px;
}

.blog-card {
    margin-bottom: 40px;
    border-bottom: 2px solid #5a2cff; /* subtle purple divider */
    padding-bottom: 20px;
}

.blog-card h2 a {
    color: #b58fff; /* gradient-inspired link */
    text-decoration: none;
}

.header-nav a + a::before {
    content: "|";
    margin: 0 10px;
    color: #b58fff;
}
.row-layout {
    display: flex;
    align-items: center;       /* vertically centers items */
    justify-content: center;   /* optional: centers the row horizontally */
    background: none;
    gap: 20px;                 /* space between squares and section */
}

.page-content > * {
  max-width: 1100px;
  margin-inline: auto;
  padding: 4rem 1.5rem;
}

.page-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: -1;
}

/* Mobile */
@media (max-width: 768px) {
  .audio-services__inner {
    grid-template-columns: 1fr;
  }


    .full-width-header-text h1 {
        font-size: 2rem;
    }

  .contact-section {
    flex-direction: column;
  }
  .contact-image {
    display: none !important;
  }

	.site-header {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 34px 16px;

	}

	.social-icons img{
      display: none;
    
	}

	.hero > .container {
      max-width: 90%;        /* shrink text container relative to screen width */
      font-size: 1.2rem;     /* smaller text for readability */
      padding: 0 10px;   
	}

  .container {
    padding: 0.75rem;
    border-radius: 10px;
  }
  .site-header {
    min-height: 72px;
  }  
	
	
}
