/*
Theme Name: Antares Flavor
Theme URI: https://antaresmagazine.com
Author: Antares Editorial
Description: A luxury editorial magazine theme built on Tailwind CSS with Playfair Display and Inter typography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: antares-flavor
Tags: news, magazine, blog, grid-layout, custom-menu, custom-logo, featured-images
*/

/* =========================================================
   Base & Typography
   ========================================================= */

body {
    font-family: 'Inter', sans-serif;
    color: #111111;
    background-color: #ffffff;
}

.serif-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* =========================================================
   Hero Overlay
   ========================================================= */
.hero-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* =========================================================
   Image Hover Scale Effect
   ========================================================= */
.hover-effect {
    overflow: hidden;
}
.hover-effect img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
}
.hover-effect:hover img {
    transform: scale(1.05);
}

/* =========================================================
   Section Title
   ========================================================= */
.section-title {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.625rem;
    font-weight: 700;
    color: #9ca3af;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

/* =========================================================
   Navigation Menus
   ========================================================= */
.antares-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.antares-nav-menu li {
    margin: 0;
    padding: 0;
}

.antares-nav-menu a {
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: inherit;
    transition: opacity 0.2s;
}

.antares-nav-menu a:hover {
    opacity: 0.5;
}

.footer-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-menu li {
    margin-bottom: 0.75rem;
}

.footer-nav-menu a {
    text-decoration: none;
    font-size: 0.75rem;
    color: #6b7280;
    transition: color 0.2s;
}

.footer-nav-menu a:hover {
    color: #111111;
}

/* =========================================================
   Mobile Menu
   ========================================================= */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 85vw;
    max-width: 360px;
    height: 100vh;
    background: #ffffff;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    padding: 2rem;
}

.mobile-menu-panel.active {
    transform: translateX(0);
}

.mobile-menu-panel .antares-nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.mobile-menu-panel .antares-nav-menu a {
    font-size: 0.875rem;
}

/* =========================================================
   Single Post Content
   ========================================================= */
.single-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    font-weight: 300;
    color: #374151;
}

.single-content p {
    margin-bottom: 1.75rem;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #111111;
}

.single-content h2 { font-size: 1.75rem; }
.single-content h3 { font-size: 1.375rem; }
.single-content h4 { font-size: 1.125rem; }

.single-content blockquote {
    border-left: 2px solid #111111;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.25rem;
    color: #111111;
}

.single-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: inherit;
}

.single-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

/* =========================================================
   Screen Reader Text
   ========================================================= */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* =========================================================
   WordPress Core: Alignment & Captions
   ========================================================= */
.wp-caption { max-width: 100%; }
.wp-caption-text {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.5rem;
    font-style: italic;
}
.alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
