/* Raptor's WordPress Child Theme Custom CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #1693C5 0%, #0F7AA8 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #F5A70F;
}

.logo a {
    color: #F5A70F;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: #F5A70F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1693C5;
}

.cta-button {
    background: #F5A70F;
    color: #1693C5;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: #E6960E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 167, 15, 0.3);
}

/* WordPress specific overrides */
.site-main {
    padding-top: 0;
}

body.raptors-theme .wp-site-blocks {
    padding: 0;
}

body.raptors-theme #main {
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1693C5 0%, #0F7AA8 50%, #F5A70F 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #F5A70F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 1; }
    100% { opacity: 0.8; }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-cta {
    background: #F5A70F;
    color: #1693C5;
    padding: 18px 36px;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
}

.hero-cta:hover {
    background: #E6960E;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 167, 15, 0.4);
    color: #1693C5;
}

.hero-cta.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-cta.secondary:hover {
    background: white;
    color: #1693C5;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1693C5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #F5A70F;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1693C5, #F5A70F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1693C5;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: linear-gradient(135deg, #1693C5 0%, #0F7AA8 100%);
    color: white;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #F5A70F;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.benefits-list li::before {
    content: '✓';
    background: #F5A70F;
    color: #1693C5;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.benefits-visual {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #F5A70F;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1693C5;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1693C5;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1693C5;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #F5A70F, #E6960E);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 167, 15, 0.3);
}

/* Footer */
footer {
    background: #1693C5;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #F5A70F;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    opacity: 0.8;
}

/* WordPress specific adjustments */
body.raptors-theme {
    margin-top: 0 !important;
}

body.raptors-theme .wp-block-group {
    margin: 0;
    padding: 0;
}

body.raptors-theme .has-global-padding {
    padding: 0;
}

/* Admin bar adjustment */
body.admin-bar header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .benefits-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services,
    .benefits,
    .contact {
        padding: 60px 0;
    }
    
    .hero-cta {
        display: block;
        margin: 10px auto;
        max-width: 280px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .benefits-text h2,
    .contact-info h2 {
        font-size: 2rem;
    }
    
    nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .service-card,
    .contact-form {
        padding: 25px 20px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* WordPress Theme specific fixes */
.raptors-theme .entry-content {
    margin: 0;
}

.raptors-theme .wp-block-post-content {
    margin: 0;
}

/* Ensure smooth scrolling offset for fixed header */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Success/Error messages */
.contact-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.contact-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Animation for service cards on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Hover effects for better interactivity */
.benefits-list li {
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(10px);
    padding-left: 15px;
}

.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

/* Focus states for accessibility */
.cta-button:focus,
.hero-cta:focus,
.submit-btn:focus {
    outline: 3px solid rgba(245, 167, 15, 0.5);
    outline-offset: 2px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(22, 147, 197, 0.2);
}

/* Print styles */
@media print {
    header {
        position: static;
        background: #1693C5;
    }
    
    .hero::before {
        display: none;
    }
    
    .service-card,
    .contact-form {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .hero,
    .benefits {
        background: none !important;
        color: #333 !important;
    }
    
    .hero h1,
    .benefits-text h2 {
        color: #1693C5 !important;
    }
    
    .benefits-list li::before {
        background: #1693C5 !important;
        color: white !important;
    }
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* WordPress editor styles compatibility */
.wp-block {
    max-width: none;
}

.alignwide,
.alignfull {
    margin-left: 0;
    margin-right: 0;
}
/* Social Media Icons */
.social-media-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Facebook */
.social-icon.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    color: white;
}

.social-icon.facebook:hover {
    background: linear-gradient(135deg, #166fe5, #3b96e8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

/* Instagram */
.social-icon.instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
}

.social-icon.instagram:hover {
    background: linear-gradient(135deg, #7c2d9e, #e91b1b, #f4a73e);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(131, 58, 180, 0.4);
}

/* TikTok */
.social-icon.tiktok {
    background: linear-gradient(135deg, #000000, #ff0050);
    color: white;
}

.social-icon.tiktok:hover {
    background: linear-gradient(135deg, #1a1a1a, #ff1a5c);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.4);
}

/* Icon SVG styling */
.social-icon svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Pulse animation on hover */
.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.social-icon:hover::before {
    opacity: 0.3;
    transform: scale(1.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .social-media-icons {
        justify-content: center;
        gap: 12px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Footer section spacing adjustment */
.footer-section {
    position: relative;
}

.footer-section:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Alternative: Center social icons in footer */
@media (max-width: 600px) {
    .footer-content {
        text-align: center;
    }
    
    .social-media-icons {
        justify-content: center;
        margin: 20px auto 0;
    }
    
    .footer-section:last-child {
        align-items: center;
    }
}

/* Hover text effect (optional) */
.social-icon:hover {
    position: relative;
}

.social-icon:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    animation: fadeInUp 0.3s ease forwards;
    pointer-events: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Loading state animation */
.social-icon {
    animation: slideInRight 0.6s ease-out;
}

.social-icon:nth-child(1) {
    animation-delay: 0.1s;
}

.social-icon:nth-child(2) {
    animation-delay: 0.2s;
}

.social-icon:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}