/*
 Theme Name: Tour in Barca
 Theme URI: https://example.com/tour-in-barca
 Author: Tour in Barca Team
 Author URI: https://example.com
 Description: Tema WordPress per tour in barca in Sardegna e Lago di Como.
 Version: 1.3.0
 Requires at least: 6.0
 Requires PHP: 8.1
 Text Domain: tour-in-barca
*/

/* ======================
   RESET BASE
   ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

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

.screen-reader-text:focus {
    clip: auto !important;
    display: block;
    height: auto;
    left: 5px;
    top: 5px;
    width: auto;
    z-index: 100000;
    padding: 15px 20px;
    background: #fff;
    border: 2px solid #00a8ff;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    position: absolute;
    left: 6px;
    top: 7px;
    z-index: 999999;
    padding: 8px 16px;
    background-color: #f1f1f1;
    color: #21759b;
    text-decoration: none;
    border-radius: 3px;
}

/* ======================
   TYPOGRAPHY
   ====================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: #00a8ff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #0088dd;
}

/* ======================
   LAYOUT
   ====================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================
   BUTTONS
   ====================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #00a8ff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn:hover {
    background: #0088dd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 255, 0.3);
    color: white;
}

/* ======================
   CALENDAR ACCESSIBILITY
   ====================== */
.calendar-day {
    background: none;
    border: 1px solid #e0e0e0;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-day:focus {
    outline: 2px solid #00a8ff;
    outline-offset: 2px;
    z-index: 1;
}

.calendar-day[aria-pressed="true"] {
    background: #00a8ff;
    color: white;
}

/* ======================
   PEOPLE SELECTOR ACCESSIBILITY
   ====================== */
.people-option:focus {
    outline: 2px solid #00a8ff;
    outline-offset: 2px;
}
