/* 
  Studio Speaks Official Website Styles 
  Theme: Dark & Premium (inspired by BeerBiceps)
*/

:root {
    --bg-dark: #0a0a0c;
    --bg-gradient: #0d0d10;
    --bg-card: #151518;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent: #e5b324; /* Premium Gold/Yellow */
    --accent-hover: #c49615;
    --glass-bg: rgba(21, 21, 24, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
}

body.light-mode {
    --bg-dark: #f5f5f7;
    --bg-gradient: #ececf1;
    --bg-card: #ffffff;
    --text-main: #1d1d1f;
    --text-muted: #6e6e73;
    --accent: #d49500;
    --accent-hover: #b37e00;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

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

.highlight {
    color: var(--accent);
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Typography */
h1.title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 20px rgba(229, 179, 36, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.navbar .btn-primary {
    padding: 0.6rem 1.5rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
    animation: fadeUp 1s ease forwards;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: fadeLeft 1s ease forwards;
}

.hero-image {
    max-width: 80%;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: 0;
}

/* Sections General */
.podcast-section, .products-section, .about, .latest-content, .newsletter {
    padding: 8rem 5%;
}

.dark-bg {
    background: var(--bg-card);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.section-header.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Horizontal Scroll for Podcast */
.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 2.5rem;
    padding-bottom: 2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-dark);
}

.horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}
.horizontal-scroll::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: 10px;
}
.horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.podcast-card {
    min-width: 350px;
    flex-shrink: 0;
}

.center-btn {
    text-align: center;
    margin-top: 2rem;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.products-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.products-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    font-weight: 500;
}

.course-mockup {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.course-mockup:hover .mockup-img {
    transform: scale(1.05);
}

/* Latest Content */
.section-header:not(.center) {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.view-all {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* In horizontal scroll, override grid */
.horizontal-scroll {
    display: flex;
}

.card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(229, 179, 36, 0.2);
}

.card-content {
    padding: 2rem;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(229, 179, 36, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* About Section */
.about {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-gradient) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.stat-item p {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin: 0;
}

/* Newsletter */
.newsletter {
    text-align: center;
    background: linear-gradient(0deg, var(--bg-dark) 0%, var(--bg-gradient) 100%);
}

.newsletter h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--accent);
}

/* Footer */
footer {
    padding: 4rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-content p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a:hover {
    color: var(--accent);
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-btns { justify-content: center; }
    .description { margin: 0 auto 2.5rem; }
    .hero-image-wrapper { margin-top: 4rem; }
    .about-grid, .products-grid { grid-template-columns: 1fr; }
    .stats { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .navbar .btn-primary { display: none; }
    .section-header:not(.center) { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .newsletter-form { flex-direction: column; }
    .footer-content { flex-direction: column; text-align: center; }
}
