/*
Theme Name: Transcantábrico Gran Lujo
Theme URI: https://www.eltranscantabricotrain.com
Author: Transcantábrico Team
Author URI: https://www.eltranscantabricotrain.com
Description: Elegant luxury train website theme designed for Elementor. Features sophisticated navy and gold design with full booking orientation.
Version: 1.0.0
Requires at least: 5.8
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: transcantabrico
Tags: luxury, travel, train, booking, elementor, custom-colors, custom-menu, featured-images, full-width-template, theme-options, translation-ready

This theme, like WordPress, is licensed under the GPL.
*/

:root {
    /* Color Palette - Elegant Navy & Gold */
    --primary-navy: #0A2540;
    --secondary-navy: #1A3A52;
    --accent-gold: #D4AF37;
    --light-gold: #F4E4C1;
    --cream: #F8F6F3;
    --warm-white: #FEFDFB;
    --text-dark: #1C1C1C;
    --text-gray: #5A5A5A;
    --border-light: #E8E6E3;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 8rem 0;
    --container-padding: 0 2rem;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--warm-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--warm-white);
    text-decoration: none;
}

.logo-symbol {
    font-size: 2rem;
    color: var(--accent-gold);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    font-weight: 600;
    color: var(--accent-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

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

.nav-cta {
    padding: 0.75rem 2rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 2px;
    text-decoration: none;
    display: inline-block;
}

.nav-cta:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-fast);
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.sticky {
    /* Styles for sticky posts */
}

.bypostauthor {
    /* Styles for post author */
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--cream);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: var(--primary-navy);
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Elementor Compatibility */
.elementor-section {
    position: relative;
}

.elementor-widget-wrap {
    position: relative;
}

/* Custom Button Styles for Elementor */
.btn {
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 2px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.btn-primary:hover {
    background: var(--light-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--warm-white);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

/* Section Styling */
section {
    padding: var(--section-padding);
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 1.5rem auto 0;
    font-weight: 300;
}

/* Image Placeholders and Styling */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-frame {
    position: relative;
    padding: 2rem;
    background: var(--warm-white);
    border: 1px solid var(--border-light);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--accent-gold);
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scrollAnimation {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

@keyframes ripple {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Print Styles */
@media print {
    .nav,
    .nav-toggle,
    button,
    .btn {
        display: none;
    }
}
/* Footer Styles */
.site-footer {
    background: var(--primary-navy);
    color: var(--warm-white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column .widget-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li a {
    color: var(--light-cream);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}
