/*
 Theme Name:   Avada Child
 Theme URI:    http://theme-fusion.com/avada/
 Description:  Avada Child Theme optimized for author website
 Author:       Your Name
 Author URI:   http://yourwebsite.com
 Template:     Avada
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  avada-child
*/

/* Import parent theme styles */
@import url("../Avada/style.css");

/* Custom CSS for author website */
:root {
  --primary-color: #1a1a1a;
  --secondary-color: #c5a47e;
  --text-color: #333333;
  --light-text: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #121212;
  --accent-color: #d4af37;
}

/* Global styles */
body {
  font-family: 'Playfair Display', serif;
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Header customizations */
.fusion-header {
  background-color: transparent !important;
  border-bottom: none !important;
}

.fusion-main-menu > ul > li > a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
}

/* Hero section styles */
.hero-section {
  height: 100vh;
  min-height: 700px;
  position: relative;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 60px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--light-text);
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 72px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 40px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* Book feature section */
.book-feature {
  padding: 100px 0;
  background-color: var(--background-light);
}

.book-cover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  max-width: 100%;
  height: auto;
}

.book-cover:hover {
  transform: translateY(-10px);
}

.book-details {
  padding: 30px;
}

.book-title {
  font-size: 42px;
  margin-bottom: 20px;
}

.book-description {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* CTA buttons */
.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--accent-color);
  color: var(--light-text) !important;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  margin-right: 15px;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color) !important;
}

.cta-button-outline:hover {
  background-color: var(--accent-color);
  color: var(--light-text) !important;
}

/* About section */
.about-section {
  padding: 100px 0;
  background-color: var(--background-dark);
  color: var(--light-text);
}

.author-image {
  border-radius: 50%;
  max-width: 300px;
  margin: 0 auto 40px;
  display: block;
  border: 5px solid var(--accent-color);
}

/* News/Blog section */
.news-item {
  margin-bottom: 40px;
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-date {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.news-title {
  font-size: 24px;
  margin-bottom: 15px;
}

/* Newsletter section */
.newsletter-section {
  background-color: var(--secondary-color);
  padding: 80px 0;
  text-align: center;
  color: var(--light-text);
}

.newsletter-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  width: 70%;
  padding: 15px;
  border: none;
  font-family: 'Montserrat', sans-serif;
}

.newsletter-button {
  width: 30%;
  padding: 15px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}

/* Footer customizations */
.fusion-footer {
  background-color: var(--primary-color) !important;
  color: var(--light-text);
  text-align: center;
  padding: 60px 0;
}

.social-icons {
  margin-bottom: 30px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}