/*
Theme Name: Sannjeev Jha - Thought Leader
Theme URI: https://www.sannjeevjha.com
Author: Custom Theme
Author URI: https://www.sannjeevjha.com
Description: A premium black-themed WordPress template for thought leaders
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sannjeevjha
*/

/* ==========================================
   GOOGLE FONTS
========================================== */
@import url('https://fonts.googleapis.com/css2?family=League+Gothic&family=Arima:wght@300;400;500;600;700&display=swap');

/* ==========================================
   CSS RESET & BASE STYLES
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #1a1a1a;
    --color-cream: #F5E6D3;
    --color-magenta: #E91E8C;
    --color-orange: #FF6B35;
    --color-white: #ffffff;
    --font-heading: 'League Gothic', sans-serif;
    --font-body: 'Arima', serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==========================================
   TYPOGRAPHY
========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 2px;
}

h1 {
    font-size: clamp(4rem, 12vw, 10rem);
}

h2 {
    font-size: clamp(3rem, 8vw, 6rem);
}

h3 {
    font-size: clamp(2rem, 5vw, 4rem);
}

p, span {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    background: linear-gradient(90deg, #ff66c4, #ffde59);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 2px var(--color-cream);
    text-stroke: 2px var(--color-cream);
}

.outline-text-small {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--color-cream);
    text-stroke: 1.5px var(--color-cream);
}

.outline-text-inline {
    color: transparent;
    -webkit-text-stroke: 2px var(--color-cream);
    text-stroke: 2px var(--color-cream);
}

.solid-text {
    color: var(--color-cream);
}

.magenta-text {
    color: var(--color-magenta);
}

/* ==========================================
   LAYOUT CONTAINERS
========================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-column-layout.reverse {
    direction: rtl;
}

.two-column-layout.reverse > * {
    direction: ltr;
}

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

/* ==========================================
   HEADER
========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0px;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-cream);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.main-navigation a {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-cream);
    position: relative;
}

.main-navigation a:hover {
    color: var(--color-magenta);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-magenta);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-cream);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle .menu-icon {
    display: block;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active .menu-icon {
    transform: rotate(90deg);
}

/* ==========================================
   HERO SECTION
========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

/* Hide hero text on desktop */
.hero-text {
    display: none;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-subtitle {
    color: var(--color-cream);
    font-size: 1.2rem;
    max-width: 600px;
}

.hero-image {
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.scroll-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ==========================================
   SECTION STYLES
========================================== */
.section-title {
    margin-bottom: 1rem;
    color: var(--color-cream);
}

.section-subtitle {
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 4vw, 3rem);
}

.section-text {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.image-column img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0px 0px 10px 0px;
    border-radius: 18px;
}

.content-column {
    padding: 2rem;
}

.website-link {
    margin-top: 2rem;
}

.website-link a {
    color: var(--color-cream);
    font-size: 1rem;
    border-bottom: 2px solid var(--color-magenta);
    padding-bottom: 2px;
}

.website-link a:hover {
    color: var(--color-magenta);
}

/* ==========================================
   JOURNEY SECTION
========================================== */
.journey-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.profile-image {
    height: 300px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 1px 15px 1px;
    border-radius: 14px;
}

.journey-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-cream);
    margin-bottom: 1rem;
}

.journey-card p {
    font-size: 1rem;
    line-height: 1.8;
}

/* ==========================================
   QUOTE BOX
========================================== */
.quote-box {
    background: rgba(245, 230, 211, 0.05);
    padding: 2rem;
    border-left: 4px solid var(--color-orange);
    margin: 2rem 0;
    position: relative;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--color-orange);
    position: absolute;
    top: -1rem;
    right: 2rem;
    line-height: 1;
}

.quote-text {
    font-family: 'Arima', serif;
    font-size: 1.5rem;
    color: var(--color-orange);
    font-style: italic;
}

/* ==========================================
   SOCIAL LINKS
========================================== */
.social-links {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.social-icon img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.social-icon:hover img {
    transform: scale(1.1);
}

/* ==========================================
   FOOTER
========================================== */
.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(245, 230, 211, 0.2);
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about h3,
.footer-links h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-cream);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-cream);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--color-magenta);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 230, 211, 0.1);
    color: var(--color-cream);
    font-size: 0.9rem;
}

/* ==========================================
   RESPONSIVE DESIGN - TABLET (1024px and below)
========================================== */
@media (max-width: 1024px) {
    /* Show hero text on tablet */
    .hero-text {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .three-column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .journey-header {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    
    .profile-image {
        width: 350px;
        height: 350px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .content-column {
        padding: 1rem;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
}

/* ==========================================
   RESPONSIVE DESIGN - MOBILE (768px and below)
========================================== */
@media (max-width: 768px) {
    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Mobile Navigation - Hidden by default */
    .main-navigation {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        z-index: 1000;
        overflow-y: auto;
        padding: 2rem;
        animation: slideDown 0.3s ease;
    }
    
    /* Show menu when active */
    .main-navigation.active {
        display: flex !important;
        flex-direction: column;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid rgba(245, 230, 211, 0.1);
    }
    
    .main-navigation li a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.2rem;
        width: 100%;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Hero Section Mobile */
    .hero-text {
        display: block;
    }
    
    .hero-section {
        min-height: auto;
        padding-top: 5rem;
        padding-bottom: 3rem;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Typography Mobile */
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    .outline-text {
        -webkit-text-stroke: 1.5px var(--color-cream);
        text-stroke: 1.5px var(--color-cream);
    }
    
    /* Layout Mobile */
    .container {
        padding: 0 1.5rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .two-column-layout {
        gap: 2rem;
    }
    
    .three-column-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Journey Section Mobile */
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .journey-card h3 {
        font-size: 1.5rem;
    }
    
    /* Quote Box Mobile */
    .quote-box {
        padding: 1.5rem;
    }
    
    .quote-mark {
        font-size: 4rem;
        right: 1rem;
        top: -0.5rem;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
    
    /* Social Links Mobile */
    .social-icon img {
        width: 50px;
        height: 50px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .site-footer {
        padding: 3rem 0 1.5rem;
        margin-top: 4rem;
    }
    
    /* Scroll Arrow Mobile */
    .scroll-arrow {
        right: 1rem;
        bottom: 1rem;
    }
    
    .scroll-arrow svg {
        width: 30px;
        height: 30px;
    }
    
    /* Content Column Mobile */
    .content-column {
        padding: 0.5rem;
    }
}

/* ==========================================
   RESPONSIVE DESIGN - SMALL MOBILE (480px and below)
========================================== */
@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero-section {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
    
    .profile-image {
    width: 200px;
    height: 295px;
}
    
    .quote-box {
        padding: 1rem;
    }
    
    .quote-text {
        font-size: 1rem;
    }
    
    .social-icon img {
        width: 40px;
        height: 40px;
    }
    
    .website-link a {
        font-size: 0.9rem;
    }
}

/* ==========================================
   DESKTOP - Ensure Navigation is Visible
========================================== */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-navigation {
        display: flex !important;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
    }
    
    .main-navigation ul {
        display: flex;
        flex-direction: row;
        gap: 3rem;
    }
}

/* ==========================================
   ANIMATIONS
========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ==========================================
   UTILITIES
========================================== */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* ==========================================
   LANDSCAPE ORIENTATION FIX
========================================== */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}