/*
 Theme Name: Photo Journal Gothic
 Template: photo-journal
 Description: Gothic-styled child theme for Photo Journal.
 Author: ChatGPT
 Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');

body {
    background-color: #0b0b0b;
    color: #f2f2f2;
    font-family: 'Cinzel', serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif !important;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button,
.button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.woocommerce button.button,
.woocommerce a.button {
    background-color: #1a1a1a;
    color: #f2f2f2;
    border: 2px solid #8b0000;
    border-radius: 0;
    padding: 12px 20px;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    transition: 0.3s;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background-color: #8b0000;
    color: #fff;
    border-color: #fff;
}

.woocommerce-Tabs-panel,
.site-footer,
.header-media,
.section-content-wrapper {
    background-color: #111 !important;
    color: #fff !important;
    font-family: 'Cinzel', serif;
    border: none;
    padding: 30px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

a {
    color: #c1121f;
    text-decoration: none;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 5px #8b0000;
}

.widget,
.sidebar .widget {
    background-color: #1a1a1a;
    border: 1px solid #8b0000;
    color: #f2f2f2;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    font-family: 'Cinzel', serif;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    background-color: #8b0000;
}

#scrollup {
    background-color: #8b0000;
    color: #fff;
    border-radius: 0;
}

/* Gothic background texture */
body {
    background-image: url('https://www.transparenttextures.com/patterns/black-felt.png');
    background-repeat: repeat;
}

/* Gothic headers with bottom border effect */
h1, h2, h3 {
    border-bottom: 2px solid #8b0000;
    padding-bottom: 10px;
    margin-bottom: 20px;
    position: relative;
}

/* Gothic separator */
hr::before {
    content: '✟';
    display: block;
    text-align: center;
    color: #8b0000;
    font-size: 20px;
    margin-bottom: 10px;
}

/* Gothic icon (example for WooCommerce buttons) */
.woocommerce a.button::before,
.woocommerce button.button::before {
    content: '\2694\0020'; /* ⚔ */
    margin-right: 8px;
}

/* Fade-in animation for content */
@keyframes gothicFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-content-wrapper,
.woocommerce-Tabs-panel,
.site-footer,
.header-media {
    animation: gothicFadeIn 1.2s ease-in-out;
}

/* Text shadows for dramatic effect */
h1, h2, h3, .entry-title {
    text-shadow: 0 0 5px #8b0000;
}

/* Gothic-style hover underline effect for links */
a {
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #8b0000;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
