/*
Theme Name: Oxtilo Salon
Theme URI: https://example.com/oxtilo-salon
Author: Your Name
Author URI: https://example.com
Description: WordPress theme created from salon2.html layout.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oxtilo-salon
Tags: one-column, custom-colors, custom-menu, featured-images, full-width-template
*/

/* Base styles are handled by Tailwind via CDN in this theme */

/* Gutenberg Block Overrides & Customizations */

/* Buttons */
.wp-block-button__link {
    background-color: #000;
    color: #fff !important;
    border: 1px solid #000;
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
}

.wp-block-button__link:hover {
    background-color: transparent;
    color: #000 !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: #000 !important;
    border: 1px solid #000;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: #000;
    color: #fff !important;
}

/* Separators */
hr.wp-block-separator {
    background-color: #d4d4d8;
    /* zinc-300 */
    border: none;
    height: 1px;
    margin: 3rem auto;
    max-width: 100px;
}

hr.wp-block-separator.is-style-wide {
    max-width: 100%;
}

hr.wp-block-separator.is-style-dots {
    background: none;
    border: none;
    text-align: center;
    max-width: none;
    height: auto;
}

hr.wp-block-separator.is-style-dots::before {
    content: "\00b7 \00b7 \00b7";
    color: #f59e0b;
    /* amber-500 */
    font-size: 1.5rem;
    letter-spacing: 1em;
    padding-left: 1em;
    font-family: serif;
}

/* Quotes */
.wp-block-quote {
    border-left: 4px solid #f59e0b;
    /* amber-500 */
    margin: 2rem 0;
    padding-left: 1.5rem;
    font-family: 'Noto Serif', serif;
    font-style: italic;
    color: #52525b;
    /* zinc-600 */
}

.wp-block-quote cite {
    font-style: normal;
    font-size: 0.875rem;
    color: #a1a1aa;
    /* zinc-400 */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
    display: block;
}

/* Columns Responsiveness Fixes */
@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile) {
        flex-direction: column !important;
    }

    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
        margin-bottom: 2rem;
    }
}

/* Alignment Utilities */
.aligncenter {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

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

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

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

/* 
   -----------------------------------------
   Fix Alignment Issues in Gutenberg Columns 
   -----------------------------------------
*/
.has-text-align-left {
    text-align: left !important;
}

.has-text-align-center {
    text-align: center !important;
}

.has-text-align-right {
    text-align: right !important;
}

/* 
   -----------------------------------------
   Premium Table Styles (Pricing / Menu)
   -----------------------------------------
*/
/* 
   -----------------------------------------
   Premium Table Styles (Pricing / Menu)
   -----------------------------------------
   Targeting .prose explicitly to override Tailwind Typography defaults
*/
.prose .wp-block-table {
    margin: 2.5rem 0;
    overflow-x: auto;
}

.prose .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    margin: 0 !important;
    /* Override prose margin */
}

/* Header Styles */
.prose .wp-block-table thead th,
.prose .wp-block-table th {
    font-family: 'Noto Serif', serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    color: #18181b;
    /* zinc-900 */
    border-bottom: 2px solid #f59e0b !important;
    /* amber-500 */
    padding: 1rem 0.5rem !important;
    text-align: left;
}

/* Data Cell Styles */
.prose .wp-block-table tbody td,
.prose .wp-block-table td {
    padding: 1.25rem 0.5rem !important;
    border: none !important;
    border-bottom: 1px solid #e4e4e7 !important;
    /* zinc-200 */
    vertical-align: middle;
    color: #52525b;
    /* zinc-600 */
    font-size: 1rem;
}

/* First Column Emphasis (Item Name) */
.prose .wp-block-table td:first-child {
    font-weight: 500;
    color: #27272a;
    /* zinc-800 */
}

/* Last Column Emphasis (Price) - Right Align */
.prose .wp-block-table td:last-child {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #18181b;
    /* zinc-900 */
}

/* Hover Effect for Rows */
.prose .wp-block-table tbody tr {
    transition: background-color 0.2s ease;
    border-bottom: none !important;
    /* Prose sometimes adds border to tr */
}

.prose .wp-block-table tbody tr:hover td {
    background-color: #fafafa;
    /* zinc-50 */
    color: #000;
}

/* Remove border from the last row for cleaner look */
.prose .wp-block-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Optional Dotted Leader Style */
.prose .is-style-dots-leader td:first-child {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.prose .is-style-dots-leader td:first-child::after {
    content: "";
    flex: 1;
    margin: 0 1rem;
    border-bottom: 1px dotted #d4d4d8;
    /* zinc-300 */
    order: 2;
    /* Ensure it sits between if we flex */
}

/*
keeping it simple as requested. */

/* 
   -----------------------------------------
   Explicit Class for "Additional CSS Class" 
   -----------------------------------------
   If automatic styling doesn't kick in, add "pricing-table" to the table block.
*/
.pricing-table table,
.pricing-table.wp-block-table table {
    border-collapse: collapse !important;
    width: 100%;
}

.pricing-table td,
.pricing-table th {
    border: none !important;
    border-bottom: 1px solid #e4e4e7 !important;
    padding: 1rem 0.5rem !important;
}

.pricing-table tr:last-child td {
    border-bottom: none !important;
}

.pricing-table td:last-child {
    text-align: right !important;
    font-weight: 600;
}

/* Styl dla złotego gradientu na tekście */
        .gold-text-gradient {
            background-image: linear-gradient(135deg, #C9A65D 0%, #9E834C 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent; /* Ważne: tekst musi być przezroczysty, aby gradient był widoczny */
            transition: all 0.3s ease; /* Płynne przejście */
        }

        /* Po przewinięciu (gdy nawigacja nie jest przezroczysta), tekst staje się czarny */
        #navbar:not(.bg-transparent) .gold-text-gradient {
            background-image: none;
            -webkit-background-clip: border-box;
            background-clip: border-box;
            color: black;
        }