/*
Theme Name: TripTalk
Theme URI: https://triptalk.in
Author: Excerpia
Author URI: https://excerpia.com/
Description: A modern travel website theme with glassmorphism design, perfect for TripTalk travel blog and adventure stories. Features include responsive design, blog functionality with load more, FAQ sections, table of contents, and mobile optimization.
Version: 2.0.1
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: triptalk
Tags: travel, blog, two-columns, custom-menu, custom-logo, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready

TripTalk WordPress Theme, Copyright 2026 Excerpia
TripTalk is distributed under the terms of the GNU GPL
*/

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background: #f8f9fa;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul, ol {
    list-style-position: inside;
}

/* ==========================================================================
   Animated Background Pattern
   ========================================================================== */

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 0, 0, 0.03) 0%, transparent 50%);
    -webkit-animation: patternMove 20s ease-in-out infinite;
    -moz-animation: patternMove 20s ease-in-out infinite;
    animation: patternMove 20s ease-in-out infinite;
}

@-webkit-keyframes patternMove {
    0%, 100% { -webkit-transform: translate(0, 0); transform: translate(0, 0); }
    50% { -webkit-transform: translate(50px, 50px); transform: translate(50px, 50px); }
}

@keyframes patternMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

/* Floating Blobs */
.floating-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    -webkit-filter: blur(60px);
    opacity: 0.4;
    -webkit-animation: float 20s ease-in-out infinite;
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

.blob-1 {
    top: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.blob-2 {
    top: 60%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #ff6b35 0%, #ffa07a 100%);
    -webkit-animation-delay: 5s;
    animation-delay: 5s;
}

.blob-3 {
    bottom: 10%;
    left: 50%;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
}

@-webkit-keyframes float {
    0%, 100% {
        -webkit-transform: translate(0, 0) scale(1);
        transform: translate(0, 0) scale(1);
    }
    33% {
        -webkit-transform: translate(50px, -50px) scale(1.1);
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        -webkit-transform: translate(-50px, 50px) scale(0.9);
        transform: translate(-50px, 50px) scale(0.9);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* ==========================================================================
   Glassmorphism Header
   ========================================================================== */

header.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    -webkit-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1.2rem 2rem;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

header.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    -webkit-box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.site-header nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.logo-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    max-width: 150px;
    width: 120px;
    height: auto;
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    border-radius: 12px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 1.8rem;
    -webkit-box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    transition: transform 0.3s;
}

.logo-container:hover .logo-icon {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

/* Logo Image Styles - Prevents distortion on page load */
.site-logo {
    width: 120px !important;
    height: auto !important;
    max-width: 120px !important;
    display: block !important;
    object-fit: contain !important;
    transition: transform 0.3s;
}

.logo-container:hover .site-logo {
    transform: scale(1.05);
}

/* Hide logo text */
.logo-text {
    display: none !important;
}

.logo-text {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #212529;
    letter-spacing: 1px;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    transition: color 0.3s;
}

.logo-container:hover .logo {
    color: #ff6b35;
}

.logo-subtitle {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #6c757d;
    display: block;
    margin-top: -3px;
    font-weight: 500;
}

.nav-links {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    gap: 2.5rem;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #495057;
    font-size: 0.95rem;
    font-weight: 500;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #ff8c61);
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #ff6b35;
}

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

.cta-button {
    padding: 12px 28px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    color: white !important;
    border-radius: 25px;
    font-weight: 600;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

.menu-toggle {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #495057;
    border-radius: 2px;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    transition: 0.3s;
}

/* ==========================================================================
   WordPress Classes
   ========================================================================== */

.wp-block-image {
    margin: 2rem 0;
}

.wp-block-image img {
    border-radius: 15px;
}

.wp-block-quote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(255, 107, 53, 0.05);
    border-left: 4px solid #ff6b35;
    border-radius: 10px;
    font-style: italic;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */

.scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ff6b35;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 1.5rem;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 999;
    -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.scroll-top:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    color: white;
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
}

.scroll-top.visible {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Large Desktop & TV (1920px and up) */
@media (min-width: 1920px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 4rem;
    }
}

/* Desktop (1441px - 1919px) */
@media (min-width: 1441px) and (max-width: 1919px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

/* Laptop (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    header.site-header {
        width: 92%;
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .blob-1, .blob-2, .blob-3 {
        width: 300px;
        height: 300px;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    /* Tablet Logo Size */
    .logo-container {
        width: 100px;
        max-width: 100px;
    }
    
    .site-logo {
        width: 100px !important;
        height: auto !important;
        max-width: 100px !important;
    }
}

/* Mobile & Tablet Portrait (max-width: 768px) */
@media (max-width: 768px) {
    header.site-header {
        width: 90%;
        padding: 1rem 1.5rem;
        top: 10px;
    }

    .nav-links {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 90%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 2rem;
        -webkit-transition: left 0.3s;
        -moz-transition: left 0.3s;
        transition: left 0.3s;
        border-radius: 20px;
        -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        margin-left: 5%;
        -webkit-box-align: flex-start;
        -webkit-align-items: flex-start;
        -moz-box-align: flex-start;
        -ms-flex-align: flex-start;
        align-items: flex-start;
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
    }
    
    /* Mobile Logo Size */
    .logo-container {
        width: 90px;
        max-width: 90px;
    }
    
    .site-logo {
        width: 90px !important;
        height: auto !important;
        max-width: 90px !important;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
    }
    
    .blob-1, .blob-2, .blob-3 {
        width: 250px;
        height: 250px;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    header.site-header {
        padding: 0.8rem 1rem;
    }
    
    /* Small Mobile Logo Size */
    .logo-container {
        width: 80px;
        max-width: 80px;
    }
    
    .site-logo {
        width: 80px !important;
        height: auto !important;
        max-width: 80px !important;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo-subtitle {
        font-size: 0.55rem;
    }
}

/* Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    header.site-header {
        width: 95%;
        padding: 0.8rem;
    }
    
    /* Extra Small Mobile Logo Size */
    .logo-container {
        width: 70px;
        max-width: 70px;
        gap: 10px;
    }
    
    .site-logo {
        width: 70px !important;
        height: auto !important;
        max-width: 70px !important;
    }
}
}