/* Custom Styles for Hanaoka Music */

:root {
  --primary-brown: #3e2723;
  --secondary-brown: #5d4037;
  --accent-amber: #ff8f00;
  --light-bg: #efebe9;
  --text-dark: #2c2c2c;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: #fafafa;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
}

.brand-logo {
  font-family: 'Merriweather', serif !important;
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.6);
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  color: white;
  width: 100%;
}

.hero-section h1 {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  color: white !important;
}

.hero-overlay p {
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* Cards */
.card {
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.card-title i.material-icons {
  font-size: 1.4rem;
  vertical-align: middle;
  margin-right: 8px;
}

/* Content sections */
main {
  min-height: 60vh;
}

.flow-text {
  line-height: 1.8;
}

p {
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

/* Links */
a {
  transition: color 0.3s ease;
}

main a:not(.btn) {
  color: var(--accent-amber);
  text-decoration: underline;
}

main a:not(.btn):hover {
  color: var(--secondary-brown);
}

/* Buttons */
.btn, .btn-large {
  border-radius: 6px;
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.mt-20 {
  margin-top: 20px;
}

/* Material Icons in headings */
h2 i.material-icons, h3 i.material-icons {
  vertical-align: middle;
  font-size: 1.8rem;
  margin-right: 12px;
}

/* Image styling */
.responsive-img {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.responsive-img:hover {
  transform: scale(1.02);
}

/* Footer */
.page-footer {
  padding-top: 40px;
}

.page-footer h5 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.page-footer ul {
  margin-top: 10px;
}

.page-footer ul li {
  margin-bottom: 8px;
}

/* Navigation */
nav {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

nav ul a {
  font-weight: 500;
  transition: background-color 0.3s ease;
}

nav ul a:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Composition pages specific styles */
.composition-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.composition-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(62, 39, 35, 0.6), rgba(62, 39, 35, 0.6));
}

.composition-hero-content {
  position: relative;
  z-index: 1;
}

/* List styling */
ul:not(.browser-default):not(.sidenav) {
  padding-left: 0;
}

ul:not(.browser-default):not(.sidenav) li {
  list-style-type: none;
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}

ul:not(.browser-default):not(.sidenav) li:before {
  content: '♪';
  position: absolute;
  left: 0;
  color: var(--accent-amber);
  font-size: 1.2rem;
  font-weight: bold;
}

/* Strong tags */
strong {
  color: var(--secondary-brown);
  font-weight: 600;
}

/* Responsive adjustments */
@media only screen and (max-width: 600px) {
  .hero-section {
    min-height: 350px;
  }

  .hero-overlay {
    padding: 40px 0;
  }

  .hero-section h1 {
    font-size: 2rem !important;
  }

  .hero-section .flow-text {
    font-size: 1.1rem !important;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* About page specific */
.about-portrait {
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Contact page */
.contact-info {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 8px;
  margin-top: 20px;
}

/* Materialize overrides for brown theme */
.brown-text.text-darken-3 {
  color: #3e2723 !important;
}

.amber-text.text-darken-2 {
  color: #ff8f00 !important;
}

.brown.lighten-5 {
  background-color: #efebe9 !important;
}

/* Utility classes */
.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-justify {
  text-align: justify;
}
