/* 
 * NEW DESIGN: "Aegean Blues & Iznik Tiles" Theme
 * Ensures styles only apply within the tool to avoid conflicts in WordPress 
 */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700&family=Lato:wght@300;400;700&display=swap');

.turkey-time-tool-container {
    font-family: 'Lato', sans-serif;
    color: #EFEFEF;
    /* New "Aegean Blue" Gradient */
    background: linear-gradient(135deg, #0F2027, #203A43, #2C5364);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    max-width: auto;
    margin: 20px auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.turkey-time-tool-container .ttt-header {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border: none; /* Removed the solid border */
}

.turkey-time-tool-container .ttt-header h1 {
    margin: 0;
    font-family: 'Lato', sans-serif; /* Using Lato for a cleaner heading */
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.turkey-time-tool-container .ttt-date-display {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
}

.turkey-time-tool-container .ttt-main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.turkey-time-tool-container .ttt-left-panel {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.turkey-time-tool-container .ttt-right-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 250px;
}

/* Glassmorphism Effect for Cards */
.turkey-time-tool-container .ttt-digital-clock-wrapper,
.turkey-time-tool-container .ttt-info-card {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
}

.turkey-time-tool-container .ttt-digital-clock-wrapper {
    text-align: center;
}

.turkey-time-tool-container .ttt-digital-clock {
    font-family: 'Exo 2', sans-serif; /* New font for the clock */
    font-size: clamp(3rem, 10vw, 4.5rem);
    text-shadow: 0 0 15px rgba(69, 211, 209, 0.5); /* Turquoise glow */
    line-height: 1.1;
    color: #fff;
}

.turkey-time-tool-container .ttt-timezone {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 5px;
}

.turkey-time-tool-container .ttt-dst-note {
    font-size: 0.8rem;
    font-weight: 300;
    background: rgba(0,0,0,0.2);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px; /* pill shape */
    margin-top: 15px;
}

.turkey-time-tool-container .ttt-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.turkey-time-tool-container .ttt-info-icon {
    font-size: 1.8rem;
    color: #45D3D1; /* Turquoise accent */
    flex-shrink: 0;
}

.turkey-time-tool-container .ttt-info-text strong {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.turkey-time-tool-container .ttt-analog-clock {
    width: 220px;
    height: 220px;
    border: 4px solid #fff;
    border-radius: 50%;
    position: relative;
    /* Decorative Iznik-style pattern */
    background: rgba(0, 0, 0, 0.2) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 100 100"><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    box-shadow: inset 0 0 25px rgba(0,0,0,0.6), 0 0 15px rgba(0,0,0,0.3);
}

.turkey-time-tool-container .ttt-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    background-color: #EFEFEF;
    border-radius: 5px;
    z-index: 5;
}

.turkey-time-tool-container .ttt-hour-hand {
    width: 6px;
    height: 60px;
    transform: translateX(-50%) rotate(var(--hour-rotation, 0deg));
}

.turkey-time-tool-container .ttt-minute-hand {
    width: 4px;
    height: 85px;
    transform: translateX(-50%) rotate(var(--minute-rotation, 0deg));
}

.turkey-time-tool-container .ttt-second-hand {
    width: 2px;
    height: 95px;
    background-color: #45D3D1; /* Bright Turquoise accent */
    transform: translateX(-50%) rotate(var(--second-rotation, 0deg));
}

.turkey-time-tool-container .ttt-clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: #45D3D1;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.turkey-time-tool-container .ttt-footer {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 300;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .turkey-time-tool-container {
        padding: 20px;
    }

    .turkey-time-tool-container .ttt-header h1 {
        font-size: 2.2rem;
    }
    
    .turkey-time-tool-container .ttt-main-content {
        flex-direction: column-reverse; /* Put info panel above clock on mobile */
    }

    .turkey-time-tool-container .ttt-left-panel,
    .turkey-time-tool-container .ttt-right-panel {
        width: 100%;
        min-width: unset;
    }
}