/*
Theme Name: Fusionfame Digital
Theme URI: https://fusionfamedigital.com
Description: A professional digital marketing agency WordPress theme with red color scheme
Version: 1.0
Author: Fusionfame Digital
Author URI: https://fusionfamedigital.com
*/

/* ============================================
   CSS Variables - Red Theme Colors
   ============================================ */
:root {
    --primary-red: #DC143C;
    --secondary-red: #F75270;
    --light-pink: #F7CAC9;
    --cream: #FDEBD0;
    --dark-text: #2c3e50;
    --light-text: #666;
    --white: #ffffff;
    --gray-bg: #f8f9fa;
    --border-color: #e0e0e0;
}

/* ============================================
   Global Styles & Reset
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.3;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

p {
    color: var(--light-text);
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-red);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary-red);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.5;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--cream);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease;
}

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

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: 80px 20px;
    background-color: var(--gray-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
}

.service-benefits {
    list-style: none;
    margin-top: 20px;
}

.service-benefits li {
    padding: 8px 0;
    color: var(--light-text);
    font-weight: 500;
}

/* ============================================
   Team Section
   ============================================ */
.team-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: linear-gradient(135deg, var(--cream), var(--light-pink));
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.2);
}

.team-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.team-card h3 {
    color: var(--primary-red);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.team-card p {
    color: var(--dark-text);
}

/* ============================================
   Promise Section
   ============================================ */
.promise-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--light-pink), var(--cream));
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.promise-card {
    background: var(--white);
    padding: 35px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.promise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.25);
}

.promise-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.promise-card h3 {
    font-size: 1.1rem;
    color: var(--primary-red);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 80px 20px;
    background-color: var(--gray-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-item h3 {
    color: var(--primary-red);
    margin-bottom: 10px;
}

.contact-item a {
    color: var(--light-text);
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-form {
    margin-top: 30px;
}

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 15px;
    text-align: center;
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: var(--cream);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.newsletter-form input {
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    flex: 1;
    max-width: 350px;
}

.newsletter-form button {
    padding: 15px 35px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .team-grid,
    .promise-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 80px 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        max-width: 100%;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .service-card,
    .team-card,
    .promise-card {
        padding: 25px 20px;
    }
}

/* ============================================
   Animations & Transitions
   ============================================ */
.fade-in {
    animation: fadeIn 0.8s ease;
}

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

/* Scroll Reveal Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Apply animations to elements */
.service-card {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.team-card {
    animation: zoomIn 0.5s ease forwards;
    opacity: 0;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }

.promise-card {
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
}

.promise-card:nth-child(1) { animation-delay: 0.1s; }
.promise-card:nth-child(2) { animation-delay: 0.2s; }
.promise-card:nth-child(3) { animation-delay: 0.3s; }
.promise-card:nth-child(4) { animation-delay: 0.4s; }
.promise-card:nth-child(5) { animation-delay: 0.5s; }

.contact-item {
    animation: slideInLeft 0.6s ease forwards;
    opacity: 0;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }

.contact-form-wrapper {
    animation: slideInRight 0.6s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.pt-50 {
    padding-top: 50px;
}

.pb-50 {
    padding-bottom: 50px;
}