/**
 * Theme Name: Twenty Twenty-Five - Custom Homepage Styles
 * Description: Custom CSS for the new homepage design
 * Version: 1.0
 */

/* ================================
   CSS Variables
================================ */
:root {
    --primary-red: #FF6B6B;
    --dark-navy: #1a1a2e;
    --navy-blue: #16213e;
    --deep-dark: #0f0f23;
}

/* ================================
   Global Styles
================================ */
body {
    background-color: var(--dark-navy);
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.has-background {
    background-color: inherit;
}

/* ================================
   Section Styles
================================ */
.wp-block-group {
    margin: 0;
}

section {
    padding: 4rem 0;
}

/* ================================
   Header - Single Row Navigation
================================ */
header .main-nav {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0;
}

header .main-nav a {
    color: #ffffff !important;
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

header .main-nav a:hover {
    color: var(--primary-red) !important;
}

/* Header Icon Links */
header .header-icon-link {
    display: flex !important;
    align-items: center;
    padding: 1rem 1rem !important;
    margin: 0;
}

header .header-icon-link:hover {
    color: var(--primary-red) !important;
}

header .header-icon-link i {
    font-size: 18px;
    transition: color 0.3s ease;
}

/* ================================
   Button Styles
================================ */
.wp-block-button__link {
    background-color: var(--primary-red) !important;
    border-radius: 50px !important;
    padding: 1rem 2.5rem !important;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

/* Small buttons */
.wp-block-button.has-small-font-size .wp-block-button__link {
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
}

/* ================================
   Card Styles
================================ */
.wp-block-group[style*="border-radius: 16px"],
.wp-block-group[style*="border-radius:20px"] {
    transition: transform 0.3s ease;
}

/* ================================
   Image Styles
================================ */
.wp-block-image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    display: block;
}

/* ================================
   Typography
================================ */
.has-text-color {
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    color: inherit;
    margin: 0;
}

/* ================================
   Column Layout
================================ */
.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.wp-block-column {
    flex: 1;
    min-width: 250px;
}

/* ================================
   Cover Block
================================ */
.wp-block-cover {
    position: relative;
    overflow: hidden;
}

.wp-block-cover__inner-container {
    position: relative;
    z-index: 1;
}

/* ================================
   Spacer
================================ */
.wp-block-spacer {
    display: block;
}

/* ================================
   Responsive Design
================================ */
@media (max-width: 768px) {
    .wp-block-columns {
        flex-direction: column;
    }
    
    header .main-nav {
        flex-direction: column;
        gap: 0 !important;
        align-items: stretch !important;
    }
    
    header .main-nav a {
        text-align: center;
        justify-content: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    header .header-icon-link {
        justify-content: center;
        padding: 0.75rem 1rem !important;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .wp-block-column {
        min-width: 100%;
    }
}

/* ================================
   Vonage Call Widget
================================ */
.vonage-call-widget {
    position: fixed;
    z-index: 99999;
    bottom: 24px;
    right: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.vonage-call-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF6B6B 0%, #ff4757 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 22px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vonage-call-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 28px rgba(255, 107, 107, 0.65);
}

.vonage-call-toggle .vonage-icon-phone svg {
    width: 22px;
    height: 22px;
}

.vonage-call-panel {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    width: 300px;
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.vonage-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #16213e;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.vonage-panel-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.vonage-panel-close:hover {
    color: #fff;
}

.vonage-panel-body {
    padding: 18px 16px;
}

.vonage-panel-desc {
    color: #aaa;
    font-size: 13px;
    margin: 0 0 14px;
    line-height: 1.5;
}

.vonage-form-group {
    margin-bottom: 12px;
}

.vonage-form-group label {
    display: block;
    color: #ccc;
    font-size: 12px;
    margin-bottom: 5px;
}

.vonage-form-group input,
.vonage-form-group select {
    width: 100%;
    background: #22223a;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #fff;
    padding: 10px 12px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.vonage-form-group input:focus,
.vonage-form-group select:focus {
    border-color: #FF6B6B;
}

.vonage-form-group select option {
    background: #1a1a2e;
}

.vonage-status {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 12px;
    text-align: center;
}

.vonage-status.success {
    background: rgba(40, 167, 69, 0.2);
    color: #5fd068;
}

.vonage-status.error {
    background: rgba(255, 107, 107, 0.2);
    color: #FF6B6B;
}

.vonage-call-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF6B6B 0%, #ff4757 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.vonage-call-btn:hover {
    background: linear-gradient(135deg, #ff5252 0%, #e84141 100%);
    transform: translateY(-1px);
}

.vonage-call-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 480px) {
    .vonage-call-widget {
        bottom: 16px;
        right: 16px;
    }

    .vonage-call-toggle {
        padding: 12px 18px;
        font-size: 14px;
    }

    .vonage-call-panel {
        width: 280px;
    }
}

/* ================================
   Price Tag
================================ */
.has-primary-red-color {
    color: var(--primary-red);
}

