/*
Theme Name: Ican's Theme
Description: Portfolio Theme
Version: 1.0
Author: Ican Naci, Laura Soot
*/

@font-face {
    font-family: 'Bauhaus 93';
    src: url('/wp-content/themes/ADR-1/fonts/BAUHS93.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Fallback fonts */
.logo-text, .section h1 {
    font-family: 'Bauhaus 93', 'Orbitron', 'Arial Black', Impact, sans-serif;
}

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

body {
    font-family: sans-serif;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.left-panel {
    width: 300px;
    background-color: white;
    display: flex;
    flex-direction: column;
    position: relative;
}

.logo-section {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
  font-size: clamp(60px, 8vw, 110px);
  color: #e4c3e5;
  transform: rotate(-90deg);
  white-space: nowrap;
  font-weight: normal;
  letter-spacing: clamp(5px, 1vw, 10px);
  font-family: 'Bauhaus 93', sans-serif;
  
  /* Additional responsive properties */
  transform-origin: center center;
  display: inline-block;
  min-width: max-content;
  
  /* Container adjustments for rotated text */
  margin: 0;
  padding: 0;
}

/* Media queries for fine-tuning */
@media screen and (max-width: 768px) {
  .logo-text {
    font-size: clamp(40px, 10vw, 80px);
    letter-spacing: clamp(3px, 1.5vw, 8px);
  }
}

@media screen and (max-width: 480px) {
  .logo-text {
    font-size: clamp(30px, 12vw, 60px);
    letter-spacing: clamp(2px, 2vw, 6px);
  }
}

/* For very large screens */
@media screen and (min-width: 1920px) {
  .logo-text {
    font-size: clamp(110px, 6vw, 150px);
    letter-spacing: clamp(10px, 0.8vw, 15px);
  }
}

.nav-section {
    position: absolute;
    top: 50px;
    right: 40px;
    z-index: 10;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 8px;
    font-size: 16px;
}

.nav-menu a {
    color: #d38ed5;
    text-decoration: underline;
    font-family: sans-serif;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #e4c3e5;
    transform: translateX(5px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.bottom-section {
    position: absolute;
    bottom: 40px;
    left: 120px;
    right: 40px;
    color: #d38ed5;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.bottom-section .email {
    color: #d38ed5;
    text-decoration: underline;
    display: block;
    margin-top: 10px;
}

.main-sections {
    flex: 1;
    display: flex;
    height: 100vh;
}

.section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.section:hover {
    text-decoration: none;
    color: inherit;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.section:hover::before {
    opacity: 0.6;
}

.section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    opacity: 0;
    z-index: 3;
    transform: translateX(-100%);
    transition: all 0.6s ease;
}

.section:hover::after {
    opacity: 1;
    transform: translateX(100%);
}

.books {
    background: linear-gradient(135deg, #688ff4 0%, #4a7bc8 50%, #2e5cb8 100%);
}

.about {
    background: linear-gradient(135deg, #e4c3e5 0%, #d8a8db 50%, #c890d1 100%);
}

.articles {
    background: linear-gradient(135deg, #82e6c2 0%, #65d4a8 50%, #4bc28e 100%);
}

.section h1 {
    font-size: 48px;
    color: white;
    font-weight: normal;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
    font-family: 'Bauhaus 93', sans-serif;
    transition: all 0.3s ease;
}

.section:hover h1 {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* Contact Page Pink Stroke */
.contact-page-menu {
    border-right: 4px solid #e4c3e5;
}

/* Contact Page Styles */
.email-hover {
    color: #e4c3e5;
    text-decoration: none;
    transition: all 0.3s ease;
}

.email-hover:hover {
    color: #d38ed5;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(228, 195, 229, 0.3);
}

.social-icons {
    display: flex;
    gap: 30px;
    align-items: center;
}

.social-icon {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: #e4c3e5;
    transform: translateY(-3px) scale(1.2);
}

.social-icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

/* Contact Page Styles */

.contact-link {
    color: #e4c3e5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #d38ed5;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding: 12px 20px;
    border: 2px solid #e4c3e5;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.social-link:hover {
    color: white;
    background: #e4c3e5;
    transform: translateY(-2px);
}

.social-link svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.credits {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .contact-content {
        padding: 30px 20px;
        height: auto;
    }
    
    .contact-page-menu {
        border-right: none;
        border-bottom: 4px solid #e4c3e5;
    }
    
    .social-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-link {
        justify-content: center;
    }
}
.about-content {
    flex: 1;
    background-color: white;
    padding: 60px 80px;
    overflow-y: auto;
    height: 100vh;
}

.content-wrapper {
    max-width: 800px;
    line-height: 1.6;
}

.about-content h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    font-family: sans-serif;
}

.about-content h2.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 60px 0 40px 0;
    font-family: sans-serif;
    border-bottom: none;
}

.about-content h2 {
    border-bottom: none;
}

.content-text {
    margin-bottom: 40px;
}

.content-text p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-family: sans-serif;
    line-height: 1.7;
}

.current-page {
    font-weight: bold;
}

/* About Page Pink Stroke */
.about-page-menu {
    border-right: 4px solid #e4c3e5;
}

/* Articles Page Pink Stroke */
.articles-page-menu {
    border-right: 4px solid #e4c3e5;
}

/* Books Page Pink Stroke */
.books-page-menu {
    border-right: 4px solid #e4c3e5;
}

/* Books Page Styles */
.books-content {
    flex: 1;
    background-color: white;
    padding: 60px 80px;
    overflow-y: auto;
    height: 100vh;
}

.books-content h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    font-family: sans-serif;
}

.book-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e4c3e5;
    display: inline-block;
    font-family: sans-serif;
}

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

.book-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.book-item-link:hover {
    text-decoration: none;
    color: inherit;
}

.book-item {
    background: #f5f5f5;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    height: 100%;
}

.book-item:hover {
    background: #f0e6f1;
}

.book-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.book-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.book-year {
    font-weight: 500;
}

.book-publisher {
    color: #e4c3e5;
    font-weight: 500;
}

.book-description {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 15px;
    height: 4.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.book-link {
    color: #e4c3e5;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.book-link:hover {
    color: #d38ed5;
    text-decoration: underline;
}

/* Articles Page Styles */
.articles-content {
    flex: 1;
    background-color: white;
    padding: 60px 80px;
    overflow-y: auto;
    height: 100vh;
}

.articles-content h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    font-family: sans-serif;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.article-item {
    background: #f5f5f5;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.article-item:hover {
    background: #f0e6f1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.article-date {
    font-weight: 500;
}

.article-source {
    color: #e4c3e5;
    font-weight: 500;
}

.article-title {
    margin-bottom: 15px;
    height: 2.8em;
    overflow: hidden;
}

.article-title a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title a:hover {
    color: #e4c3e5;
}

.article-excerpt {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    height: 4.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }
    
    .left-panel {
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: 15px 20px;
        position: relative;
    }
    
    .logo-section {
        position: static;
        width: auto;
        flex: none;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .logo-text {
        transform: rotate(0deg);
        font-size: 28px;
        letter-spacing: 2px;
        color: #e4c3e5;
        writing-mode: horizontal-tb;
    }
    
    .nav-section {
        position: static;
        top: auto;
        right: auto;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .nav-menu {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .nav-menu li {
        margin-bottom: 0;
    }
    
    .nav-menu a {
        font-size: 16px;
        padding: 5px 10px;
    }
    
    .bottom-section {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 0;
        font-size: 12px;
        text-align: center;
        line-height: 1.4;
    }
    
    .main-sections {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 200px);
        display: flex;
    }
    
    .section {
        flex: 1;
        min-height: 150px;
        margin-bottom: 2px;
    }
    
    .section h1 {
        font-size: 32px;
    }
    
    /* About Page Mobile */
    .about-content {
        padding: 30px 20px;
        height: auto;
    }
    
    .about-content h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .about-content h2.section-title {
        font-size: 24px;
        margin: 40px 0 20px 0;
    }
    
    .content-text p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .about-page-menu {
        border-right: none;
        border-bottom: 4px solid #e4c3e5;
    }
    
    /* Articles Page Mobile */
    .articles-content {
        padding: 30px 20px;
        height: auto;
    }
    
    .articles-content h1 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .article-item {
        padding: 20px;
        margin: 0;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 15px;
    }
    
    .article-title {
        height: auto;
        margin-bottom: 12px;
    }
    
    .article-title a {
        font-size: 16px;
        line-height: 1.3;
        -webkit-line-clamp: 3;
    }
    
    .article-excerpt {
        font-size: 14px;
        height: auto;
        -webkit-line-clamp: 4;
    }
    
    .articles-page-menu {
        border-right: none;
        border-bottom: 4px solid #e4c3e5;
    }
    
    /* Books Page Mobile */
    .books-content {
        padding: 30px 20px;
        height: auto;
    }
    
    .books-content h1 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .book-section {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .book-item {
        padding: 20px;
    }
    
    .book-title {
        font-size: 16px;
    }
    
    .book-meta {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 12px;
    }
    
    .book-description {
        font-size: 14px;
        height: auto;
        -webkit-line-clamp: 4;
    }
    
    .books-page-menu {
        border-right: none;
        border-bottom: 4px solid #e4c3e5;
    }
}

/* Single Post Styles */
.post-content {
    flex: 1;
    background-color: white;
    padding: 60px 80px;
    overflow-y: auto;
    height: 100vh;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.back-link {
    color: #e4c3e5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #d38ed5;
}

.post-date {
    color: #666;
    font-size: 14px;
}

.post-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: sans-serif;
}

.post-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-source {
    color: #82e6c2;
    font-weight: 500;
    font-size: 14px;
}

.post-text {
    color: #333;
    line-height: 1.7;
    font-size: 16px;
}

.post-text p {
    margin-bottom: 20px;
}

.post-text h2, .post-text h3 {
    color: #333;
    margin: 30px 0 15px 0;
}

.post-text ul, .post-text ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-text blockquote {
    border-left: 4px solid #e4c3e5;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

/* Mobile Post Styles */
@media (max-width: 768px) {
    .post-content {
        padding: 30px 20px;
        height: auto;
    }
    
    .post-title {
        font-size: 24px;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .post-text {
        font-size: 15px;
    }
}

/* Screenplay Styles */
.screenplay-content {
    flex: 1;
    background-color: white;
    padding: 60px 80px;
    overflow-y: auto;
    height: 100vh;
}

.screenplay-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
}

.screenplay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-family: sans-serif;
}

.screenplay-title-page {
    text-align: center;
    margin-bottom: 60px;
    page-break-after: always;
}

.screenplay-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

.screenplay-meta {
    margin-top: 40px;
}

.screenplay-author {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
}

.screenplay-date-written {
    font-size: 14px;
    color: #666;
    font-family: 'Courier New', monospace;
}

.screenplay-text {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.8;
    color: #333;
}

/* Screenplay formatting elements */
.scene-header {
    font-weight: bold;
    text-transform: uppercase;
    margin: 20px 0 10px 0;
    color: #333;
}

.character-name {
    font-weight: bold;
    text-transform: uppercase;
    margin: 15px 0 5px 0;
    text-align: center;
    color: #333;
}

.dialogue {
    margin: 0 0 10px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.parenthetical {
    font-style: italic;
    margin: 5px 0;
    text-align: center;
    color: #666;
}

.action {
    margin: 10px 0;
    text-align: left;
    color: #333;
}

/* Mobile Screenplay Styles */
@media (max-width: 768px) {
    .screenplay-content {
        padding: 30px 20px;
        height: auto;
    }
    
    .screenplay-wrapper {
        max-width: 100%;
    }
    
    .screenplay-title {
        font-size: 18px;
    }
    
    .screenplay-text {
        font-size: 11px;
    }
    
    .screenplay-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .dialogue {
        max-width: 100%;
        padding: 0 20px;
    }
}