/*
Theme Name: Stay Safe Locksmith
Description: A professional WordPress theme for Stay Safe Locksmith services
Version: 1.0
Author: Your Name
*/

/* ===================================
    Stay Safe Locksmith Website Styles
    =================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-bg: #4a2c2c;
    --primary-dark: #3a1f1f;
    --primary-light: #5d3838;
    --accent-gold: #d4a547;
    --accent-gold-dark: #b88f3a;
    --accent-gold-light: #e6c16a;
    --text-light: #b8b8b8;
    --text-white: #ffffff;
    --text-dark: #2c2c2c;
    --bg-light: #f5f5f5;
    --bg-card: #3a2323;
    --border-color: rgba(212, 165, 71, 0.3);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(212, 165, 71, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 71, 0.4);
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(58, 31, 31, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background: var(--accent-gold-light);
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-bg) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 165, 71, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 165, 71, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(212, 165, 71, 0.03) 2px,
            rgba(212, 165, 71, 0.03) 4px
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}

.hero-logo {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

.hero-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 15px rgba(212, 165, 71, 0.3));
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-gold-light);
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
    font-weight: 500;
}

.hero-feature i {
    color: var(--accent-gold);
    font-size: 24px;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--primary-bg);
}

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

.service-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(212, 165, 71, 0.3);
}

.service-icon i {
    font-size: 32px;
    color: var(--primary-dark);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--primary-dark) 100%);
}

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

.feature-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(212, 165, 71, 0.2), rgba(212, 165, 71, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 2px solid var(--accent-gold);
}

.feature-icon i {
    font-size: 36px;
    color: var(--accent-gold);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Trust Badges Section */
.trust-badges {
    padding: 50px 0;
    background: var(--primary-dark);
}

.badges-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.badge-item {
    text-align: center;
    color: var(--text-white);
}

.badge-item i {
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: block;
}

.badge-item p {
    font-weight: 600;
    font-size: 16px;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: var(--primary-bg);
}

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

.testimonial-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--accent-gold);
    font-size: 18px;
    margin-right: 3px;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 24px;
    color: var(--primary-dark);
}

.author-name {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.author-location {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Service Area Section */
.service-area {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-bg) 100%);
}

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

.service-area-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--accent-gold);
}

.service-area-text p {
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.8;
}

.service-area-list {
    list-style: none;
    padding: 0;
}

.service-area-list li {
    padding: 12px 0;
    color: var(--text-light);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-area-list i {
    color: var(--accent-gold);
    font-size: 20px;
}

.service-area-icon {
    text-align: center;
}

.service-area-icon i {
    font-size: 200px;
    color: var(--accent-gold);
    opacity: 0.3;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--primary-bg);
}

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

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.contact-note {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 22px;
    color: var(--primary-dark);
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-white);
}

.contact-details a {
    color: var(--accent-gold);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--accent-gold-light);
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-subtext {
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--accent-gold);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-white);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 165, 71, 0.1);
}

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

.btn-submit {
    width: 100%;
    margin-top: 10px;
    font-size: 17px;
}

.form-success {
    display: none;
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid #4caf50;
    color: #4caf50;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

.form-success.show {
    display: block;
}

.form-success i {
    font-size: 40px;
    margin-bottom: 10px;
}

.form-success p {
    font-size: 16px;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 60px 0 20px;
    border-top: 2px solid var(--border-color);
}

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

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gold-light);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact i {
    color: var(--accent-gold);
    margin-top: 3px;
}

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

.footer-contact a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

.footer-note {
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 10px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(212, 165, 71, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    background: var(--accent-gold-light);
    transform: translateY(-3px);
}

.scroll-to-top.show {
    display: flex;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .service-area-content {
        grid-template-columns: 1fr;
    }
    
    .service-area-icon i {
        font-size: 150px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(58, 31, 31, 0.98);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-cta {
        margin-top: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-logo img {
        height: 80px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .badges-wrapper {
        gap: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .service-card,
    .feature-card,
    .testimonial-card,
    .contact-form-wrapper {
        padding: 25px;
    }
}
