/* =================================================================== */
/* "WHAT TIME IS IT IN GREECE" TOOL - FULL STYLESHEET                  */
/* By [AI Assistant]                                                   */
/* All styles are scoped under .greece-time-tool-container             */
/* for safe WordPress integration.                                     */
/* =================================================================== */

/* --- Main Container & Variables --- */
.greece-time-tool-container {
    --gtt-day-start: #2980b9; /* Bright Blue */
    --gtt-day-end: #6dd5fa;   /* Sky Blue */
    --gtt-night-start: #0f2027; /* Dark Grey Blue */
    --gtt-night-end: #203a43;  /* Deeper Grey Blue */
    --gtt-accent-gold: #FFD700;
    --gtt-text-light: #f0f0f0;
    --gtt-card-bg: rgba(255, 255, 255, 0.1);
    
    font-family: 'Roboto', sans-serif;
    color: var(--gtt-text-light);
    max-width: auto;
    margin: 2rem auto;
    padding: 2.5rem;
    border-radius: 20px;
    background-image: linear-gradient(45deg, var(--gtt-day-start), var(--gtt-day-end));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    transition: background-image 1s ease-in-out;
}

/* --- Day/Night Mode Transition --- */
.greece-time-tool-container.gtt-night-mode {
    background-image: linear-gradient(45deg, var(--gtt-night-start), var(--gtt-night-end));
}

/* --- Header --- */
.gtt-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.gtt-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.gtt-live-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.2);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.gtt-live-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ff4d4d;
    border-radius: 50%;
    margin-right: 6px;
    animation: gtt-pulse 1.5s infinite;
}

@keyframes gtt-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

/* --- Main Content - Clock Section --- */
.gtt-main-content {
    /* This class is used for logical separation in HTML but may not need specific styles */
}

.gtt-clock-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.gtt-analog-clock {
    width: 200px;
    height: 200px;
    border: 5px solid var(--gtt-accent-gold);
    background-color: var(--gtt-card-bg);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.2), inset 0 0 15px rgba(0,0,0,0.3);
}

.gtt-hand {
    position: absolute;
    width: 50%;
    height: 6px;
    background: var(--gtt-text-light);
    top: 50%;
    transform-origin: 100%;
    transform: rotate(90deg);
    transition: transform 0.2s cubic-bezier(0.4, 2.08, 0.55, 0.44);
    border-radius: 3px;
}

.gtt-hour-hand {
    width: 30%;
    left: 20%;
    background-color: var(--gtt-accent-gold);
    height: 8px;
}

.gtt-minute-hand {
    width: 45%;
    left: 5%;
    height: 6px;
}

.gtt-second-hand {
    width: 48%;
    left: 2%;
    height: 2px;
    background-color: #ff6b6b;
}

.gtt-clock-center {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--gtt-accent-gold);
    border: 2px solid var(--gtt-text-light);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.gtt-digital-time {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.25);
}

.gtt-date-display {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.8;
}

/* --- Info Grid Section --- */
.gtt-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.gtt-info-card {
    background: var(--gtt-card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.gtt-day-night-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.gtt-card-icon {
    font-size: 2.5rem;
    line-height: 1;
    color: var(--gtt-accent-gold);
}

.gtt-card-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--gtt-accent-gold);
}

.gtt-card-content h3 {
    font-family: 'Poppins', sans-serif;
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.gtt-card-content span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- Footer Section --- */
.gtt-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.gtt-footer-section h4 {
    font-family: 'Poppins', sans-serif;
    margin: 0 0 0.5rem 0;
    color: var(--gtt-accent-gold);
    font-weight: 600;
}

.gtt-footer-section p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* ================================== */
/* --- Article Content Styling ---    */
/* ================================== */

.gtt-article-content {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.gtt-article-section {
    margin-bottom: 2.5rem;
}

.gtt-article-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gtt-accent-gold);
    border-bottom: 2px solid var(--gtt-accent-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.gtt-article-content p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.gtt-article-content blockquote {
    border-left: 4px solid var(--gtt-accent-gold);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(0,0,0,0.1);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
}

.gtt-article-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.gtt-article-content li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1rem;
}

.gtt-article-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: var(--gtt-accent-gold);
    font-size: 1.2rem;
}

/* ================================== */
/* --- Responsive Design ---          */
/* ================================== */

/* --- Tablet & Smaller Desktops --- */
@media (min-width: 600px) {
    .gtt-footer {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Tablets & Large Phones --- */
@media (max-width: 768px) {
    .greece-time-tool-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .gtt-header h1 {
        font-size: 2rem;
    }

    .gtt-digital-time {
        font-size: 3rem;
    }

    .gtt-analog-clock {
        width: 180px;
        height: 180px;
    }
    
    .gtt-article-content h2 {
        font-size: 1.75rem;
    }

    .gtt-article-content p, 
    .gtt-article-content li,
    .gtt-article-content blockquote {
        font-size: 0.95rem;
    }
}

/* --- Mobile Phones --- */
@media (max-width: 480px) {
    .gtt-header h1 {
        font-size: 1.8rem;
    }

    .gtt-digital-time {
        font-size: 2.5rem;
    }
    
    .gtt-date-display {
        font-size: 1rem;
    }
    
    .gtt-info-grid {
        grid-template-columns: 1fr;
    }
}