/*
 Theme Name: Kotkan Bilis - Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Kotkan Bilis -biljardisalin räätälöity Divi-lapsiteema. Tyylikäs tummanvihreä värimaailma kultaisilla aksenteilla.
 Author: Kotkan Bilis
 Author URI: https://kotkanbilis.fi
 Template: Divi
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: kotkan-bilis-child
*/

/* ==========================================================================
   KOTKAN BILIS - VÄRIPALETTI
   ==========================================================================
   Päävärit (layoutista):
   - Tumma tausta: #0d1b12
   - Vihreä 1: #1a472a
   - Vihreä 2: #2d5a3d
   - Kulta (aksentti): #d4af37
   - Vaalea teksti: #f5f5f0
   - Harmaa teksti: #6b7280
   - Läpinäkyvä valkoinen: rgba(255,255,255,0.05-0.1)
   ========================================================================== */

/* ==========================================================================
   YLEISET TYYLIT
   ========================================================================== */

body {
    background-color: #0d1b12;
    color: #f5f5f0;
    font-family: 'Inter', 'Open Sans', sans-serif;
}

/* Linkit */
a {
    color: #d4af37;
    transition: color 0.3s ease;
}

a:hover {
    color: #e8c65a;
}

/* Otsikot */
h1, h2, h3, h4, h5, h6 {
    color: #f5f5f0;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

h1 {
    font-size: 80px;
    letter-spacing: 8px;
}

h2 {
    font-size: 48px;
    letter-spacing: 4px;
}

h3 {
    font-size: 24px;
}

/* Leipäteksti */
p {
    color: rgba(245, 245, 240, 0.8);
    line-height: 1.7;
}

/* Kultainen alleviivauskoriste */
.gold-underline::after,
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #d4af37;
    margin: 20px auto;
}

/* ==========================================================================
   NAVIGAATIO / HEADER
   ========================================================================== */

#main-header {
    background-color: #0d1b12 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#main-header .container {
    padding: 15px 0;
}

/* Logo */
#logo {
    max-height: 80px;
}

/* Navigaatiolinkit */
#top-menu li a {
    color: #f5f5f0 !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

#top-menu li a:hover {
    color: #d4af37 !important;
}

#top-menu li.current-menu-item a {
    color: #d4af37 !important;
}

/* Kiinnittyvä header */
.et-fixed-header #main-header {
    background-color: rgba(13, 27, 18, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Mobiilinavigaatio */
.mobile_nav .select_page,
.mobile_menu_bar {
    background-color: #0d1b12;
    color: #f5f5f0;
}

.et_mobile_menu {
    background-color: #0d1b12 !important;
    border-color: rgba(212, 175, 55, 0.2) !important;
}

.et_mobile_menu li a {
    color: #f5f5f0 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   HERO-OSIO
   ========================================================================== */

.et_pb_fullwidth_header {
    background: linear-gradient(135deg, #0d1b12 0%, #1a472a 100%);
}

.et_pb_fullwidth_header_container h1 {
    color: #f5f5f0 !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 80px !important;
    letter-spacing: 8px !important;
}

.et_pb_fullwidth_header_container .et_pb_header_content_wrapper p {
    color: rgba(245, 245, 240, 0.8);
    font-size: 18px;
}

/* Tagline / alaotsikko */
.hero-tagline {
    color: #6b7280;
    font-size: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* ==========================================================================
   PAINIKKEET
   ========================================================================== */

/* Ensisijainen painike - kulta */
.et_pb_button,
.et_pb_button_module_wrapper .et_pb_button {
    background-color: #d4af37 !important;
    color: #0d1b12 !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 16px 40px !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
}

.et_pb_button:hover,
.et_pb_button_module_wrapper .et_pb_button:hover {
    background-color: #e8c65a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Toissijainen painike - läpinäkyvä */
.et_pb_button.secondary,
.et_pb_button.outline,
.secondary-button {
    background-color: transparent !important;
    color: #f5f5f0 !important;
    border: 2px solid #f5f5f0 !important;
}

.et_pb_button.secondary:hover,
.et_pb_button.outline:hover,
.secondary-button:hover {
    background-color: #f5f5f0 !important;
    color: #0d1b12 !important;
}

/* ==========================================================================
   OSIOT JA RIVIT
   ========================================================================== */

.et_pb_section {
    padding: 100px 0;
}

/* Tumma tausta */
.et_pb_section.dark-section,
.et_pb_section {
    background-color: #0d1b12;
}

/* Vihreä gradient tausta */
.et_pb_section.green-gradient {
    background: linear-gradient(135deg, #0d1b12 0%, #1a472a 100%);
}

.et_pb_section.green-gradient-vertical {
    background: linear-gradient(180deg, #0d1b12 0%, #1a472a 100%);
}

/* ==========================================================================
   BLURB / PALVELUKORTIT
   ========================================================================== */

.et_pb_blurb {
    background: linear-gradient(145deg, #1a472a 0%, #2d5a3d 100%);
    padding: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.et_pb_blurb:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Blurb ikoni kultaisella taustalla */
.et_pb_blurb .et_pb_main_blurb_image {
    margin-bottom: 20px;
}

.et_pb_blurb .et_pb_main_blurb_image .et-pb-icon {
    color: #0d1b12 !important;
    background-color: #d4af37;
    border-radius: 50%;
    padding: 20px;
    font-size: 32px !important;
}

.et_pb_blurb .et_pb_module_header {
    color: #f5f5f0 !important;
    font-size: 20px !important;
    margin-bottom: 15px;
}

.et_pb_blurb .et_pb_blurb_content {
    color: rgba(245, 245, 240, 0.7);
}

/* ==========================================================================
   HINNASTO / PRICING CARDS
   ========================================================================== */

/* Hinnakortti perus */
.pricing-card,
.et_pb_pricing {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

/* Korostettu hinnakortti (suosituin) */
.pricing-card.featured,
.et_pb_pricing.featured {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid #d4af37;
}

/* Suosituin-merkki */
.pricing-badge {
    background: #d4af37;
    color: #0d1b12;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

/* Hinta */
.pricing-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 56px;
    color: #d4af37;
    margin: 20px 0;
}

.pricing-price span {
    font-size: 16px;
    color: #6b7280;
    font-family: 'Inter', sans-serif;
}

/* Hintalista */
.pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #f5f5f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: #d4af37;
    margin-right: 10px;
}

/* Divi Pricing Module */
.et_pb_pricing_heading {
    background: linear-gradient(145deg, #1a472a 0%, #2d5a3d 100%) !important;
    padding: 30px;
    border-radius: 12px 12px 0 0;
}

.et_pb_pricing_title {
    color: #f5f5f0 !important;
}

.et_pb_pricing .et_pb_dollar_sign,
.et_pb_pricing .et_pb_sum {
    color: #d4af37 !important;
    font-family: 'Bebas Neue', sans-serif;
}

.et_pb_pricing_content {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.et_pb_pricing_content li {
    color: #f5f5f0 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   YHTEYSTIEDOT / CONTACT
   ========================================================================== */

/* Yhteystietoblokki */
.contact-info-block {
    margin-bottom: 25px;
}

.contact-icon {
    color: #d4af37;
    font-size: 20px;
    margin-right: 15px;
}

.contact-label {
    color: #f5f5f0;
    font-weight: 600;
}

.contact-value {
    color: #6b7280;
}

/* Aukioloajat box */
.opening-hours-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.opening-hours-box h4 {
    color: #d4af37;
    margin-bottom: 15px;
}

.opening-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #f5f5f0;
}

.opening-hours-row:last-child {
    border-bottom: none;
}

/* ==========================================================================
   LOMAKKEET / CONTACT FORM
   ========================================================================== */

/* Lomake container */
.et_pb_contact_form,
.contact-form-container {
    background: linear-gradient(145deg, #1a472a 0%, #2d5a3d 100%);
    padding: 40px;
    border-radius: 12px;
}

/* Input kentät */
.et_pb_contact_form input[type="text"],
.et_pb_contact_form input[type="email"],
.et_pb_contact_form input[type="tel"],
.et_pb_contact_form textarea,
.et_pb_contact_form select {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f5f5f0 !important;
    padding: 15px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
}

.et_pb_contact_form input[type="text"]:focus,
.et_pb_contact_form input[type="email"]:focus,
.et_pb_contact_form input[type="tel"]:focus,
.et_pb_contact_form textarea:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
    outline: none;
}

.et_pb_contact_form input::placeholder,
.et_pb_contact_form textarea::placeholder {
    color: #6b7280 !important;
}

/* Lomake label */
.et_pb_contact_form label {
    color: #f5f5f0 !important;
}

/* Lomake submit-painike */
.et_pb_contact_form .et_pb_contact_submit {
    background-color: #d4af37 !important;
    color: #0d1b12 !important;
    border-radius: 4px !important;
    width: 100%;
    padding: 16px !important;
}

/* ==========================================================================
   AUKIOLOAJAT TAULUKKO
   ========================================================================== */

.kotkan-bilis-hours {
    width: 100%;
}

.kotkan-bilis-hours .hours-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #f5f5f0;
}

.kotkan-bilis-hours .hours-row:last-child {
    border-bottom: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

#main-footer {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

#footer-widgets {
    background-color: transparent;
    padding: 60px 0;
}

#footer-widgets .footer-widget {
    color: #f5f5f0;
}

#footer-widgets .footer-widget h4 {
    color: #d4af37 !important;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
}

#footer-widgets .footer-widget a {
    color: #6b7280;
    transition: color 0.3s ease;
}

#footer-widgets .footer-widget a:hover {
    color: #d4af37;
}

/* Footer bottom */
#footer-bottom {
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

#footer-info {
    color: #6b7280;
    font-size: 14px;
}

/* Footer logo teksti */
.footer-logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 3px;
}

.footer-logo-text .gold {
    color: #d4af37;
}

.footer-logo-text .white {
    color: #f5f5f0;
}

/* Sosiaalinen media */
.et_pb_social_media_follow li a {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    transition: all 0.3s ease !important;
}

.et_pb_social_media_follow li a:hover {
    background-color: #d4af37 !important;
    border-color: #d4af37 !important;
}

/* ==========================================================================
   GALLERIA
   ========================================================================== */

.et_pb_gallery .et_pb_gallery_item {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.et_pb_gallery .et_pb_gallery_item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.et_pb_gallery .et_pb_gallery_title {
    background-color: rgba(13, 27, 18, 0.9);
    color: #f5f5f0;
    padding: 15px;
}

/* ==========================================================================
   TESTIMONIALS / ARVOSTELUT
   ========================================================================== */

.et_pb_testimonial {
    background: linear-gradient(145deg, #1a472a 0%, #2d5a3d 100%) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    border: none !important;
}

.et_pb_testimonial_portrait {
    border: 3px solid #d4af37 !important;
}

.et_pb_testimonial_description p {
    color: rgba(245, 245, 240, 0.8) !important;
}

.et_pb_testimonial_author {
    color: #d4af37 !important;
    font-weight: 600;
}

.et_pb_testimonial_meta {
    color: #6b7280 !important;
}

/* ==========================================================================
   ANIMAATIOT
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes goldGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.gold-glow {
    animation: goldGlow 2s ease-in-out infinite;
}

/* ==========================================================================
   RESPONSIIVISUUS
   ========================================================================== */

@media (max-width: 980px) {
    h1 {
        font-size: 48px !important;
        letter-spacing: 4px;
    }
    
    h2 {
        font-size: 36px;
        letter-spacing: 3px;
    }
    
    .et_pb_fullwidth_header_container h1 {
        font-size: 48px !important;
    }
    
    .et_pb_section {
        padding: 60px 0;
    }
    
    .et_pb_blurb {
        padding: 30px;
    }
    
    .pricing-price {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 36px !important;
        letter-spacing: 3px;
    }
    
    h2 {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .et_pb_fullwidth_header_container h1 {
        font-size: 36px !important;
    }
    
    .et_pb_button {
        padding: 12px 30px !important;
        font-size: 13px !important;
    }
    
    .et_pb_section {
        padding: 50px 0;
    }
    
    .pricing-price {
        font-size: 36px;
    }
    
    .et_pb_contact_form,
    .contact-form-container {
        padding: 25px;
    }
}

/* ==========================================================================
   APULUOKAT (käytä Divi Builderissa)
   ========================================================================== */

/* Taustavärit */
.bg-dark {
    background-color: #0d1b12 !important;
}

.bg-green-gradient {
    background: linear-gradient(145deg, #1a472a 0%, #2d5a3d 100%) !important;
}

.bg-transparent-white {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Tekstivärit */
.text-gold {
    color: #d4af37 !important;
}

.text-white {
    color: #f5f5f0 !important;
}

.text-gray {
    color: #6b7280 !important;
}

/* Reunukset */
.border-gold {
    border: 2px solid #d4af37 !important;
}

.border-gold-subtle {
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

/* Pyöristykset */
.rounded-sm {
    border-radius: 4px !important;
}

.rounded-md {
    border-radius: 8px !important;
}

.rounded-lg {
    border-radius: 12px !important;
}

/* Varjot */
.shadow-gold {
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2) !important;
}

/* Keskitys */
.text-center {
    text-align: center !important;
}

/* Kullan alleviivaus */
.gold-divider {
    width: 60px;
    height: 3px;
    background: #d4af37;
    margin: 20px auto;
}

/* ==========================================================================
   KOTKAN BILIS - ERITYISTYYLIT
   ========================================================================== */

/* Logo tyyli otsikkoon */
.kotkan-bilis-logo-text h1 span.gold,
.kotkan-bilis-logo-text .gold {
    color: #d4af37;
}

/* Section otsikko tyyli */
.section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    letter-spacing: 4px;
    color: #f5f5f0;
    text-align: center;
}

.section-subheading {
    color: #6b7280;
    text-align: center;
    margin-top: 10px;
}
