/* Dulaney Mobile - Main Website Styles */

:root {
    --primary: #2D1B4E;
    --primary-dark: #23153d;
    --secondary: #2D1B4E;
    --accent: #2D1B4E;
    --text-dark: #202124;
    --text-light: #5f6368;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.main-nav {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 20px;
}

.logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 2s ease-in-out;
}

.hero-slide.active img {
    transform: scale(1);
}


/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow i {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

.slider-arrow.left {
    left: 30px;
}

.slider-arrow.right {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
}

.dot:hover::before {
    opacity: 1;
}

.dot.active {
    background: white;
    width: 32px;
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Animations */
.animate-up {
    animation: slideUp 0.8s ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

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


/* Our Services */
.our-services {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

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

.service-feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
}

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

.service-icon-wrapper {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.service-icon {
    width: 64px;
    height: 64px;
    color: var(--primary);
    stroke-width: 1.5;
}

.service-feature-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 700;
}

.service-feature-card h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 600;
}

.service-feature-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 15px;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* About Us Section */
.about-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 24px;
    text-align: center;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 2px solid #e0e0e0;
}

.about-stat {
    text-align: center;
}

.about-stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* Why Choose Us */
.why-choose-us {
    background: var(--bg-light);
    padding: 80px 0;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-light);
}

/* Custom Development */
.custom-development {
    padding: 80px 0;
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-intro h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-intro p {
    font-size: 18px;
    color: var(--text-light);
}

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

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border: 3px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.service-icon-large {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    padding: 20px 0;
}

.service-icon-large .service-icon {
    width: 80px;
    height: 80px;
    color: var(--primary);
    stroke-width: 1.5;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.btn-service {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Specialty Services */
.specialty-services {
    background: var(--bg-light);
    padding: 60px;
    border-radius: 20px;
    margin-bottom: 60px;
}

.specialty-services h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

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

.specialty-item {
    display: flex;
    gap: 20px;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.specialty-icon {
    font-size: 40px;
}

.specialty-item h4 {
    font-size: 20px;
    margin-bottom: 6px;
}

.specialty-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* Dev Stats */
.dev-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat {
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* Quote Section */
.quote-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.quote-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.quote-info h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.quote-info p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 16px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--text-dark);
    flex-shrink: 0;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-method h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-method p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Quote Form */
.quote-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary);
    animation: formFadeIn 0.6s ease-out;
    position: relative;
}

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

.quote-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.quote-form:hover::before {
    opacity: 0.1;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 27, 78, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary);
}

.form-error {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #fcc;
    font-size: 14px;
}

.form-success {
    background: #efe;
    color: #3c3;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #cfc;
    font-size: 14px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.main-footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-column p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: rgba(255,255,255,0.8);
}

.footer-column p {
    color: white;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-column h3,
.footer-column h4 {
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
    font-size: 24px;
}

.social-links a {
    color: white;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.8;
}

.social-links i {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: white;
}

.footer-bottom strong {
    font-weight: 700;
    color: white;
}

.footer-bottom a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.footer-bottom a:hover {
    opacity: 0.8;
}

/* Responsive - Mobile First */
@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .nav-links.active,
    .nav-actions.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: 20px;
        gap: 16px;
        z-index: 1000;
    }
    
    .nav-actions.active {
        align-items: stretch;
    }
    
    .nav-actions.active .btn-primary {
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-section {
        height: 400px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow.left {
        left: 15px;
    }
    
    .slider-arrow.right {
        right: 15px;
    }
    
    .slider-dots {
        bottom: 20px;
        padding: 8px 16px;
    }
    
    .section-header h2,
    .section-intro h2,
    .about-text h2 {
        font-size: 32px;
    }
    
    .section-header p,
    .section-intro p {
        font-size: 16px;
    }
    
    .services-showcase,
    .features-grid,
    .services-grid,
    .specialty-grid,
    .dev-stats,
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-feature-card {
        padding: 30px 20px;
    }
    
    .quote-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .quote-form {
        padding: 30px 20px;
    }
    
    .about-text p {
        font-size: 15px;
    }
    
    .our-services,
    .custom-development,
    .quote-section,
    .about-section {
        padding: 60px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
    animation: slideUp 0.4s ease-out;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    color: white;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-content a {
    color: white;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.btn-cookie {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-cookie.accept {
    background: white;
    color: var(--primary);
}

.btn-cookie.accept:hover {
    background: rgba(255,255,255,0.9);
}

.btn-cookie.decline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cookie.decline:hover {
    background: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .btn-cookie {
        flex: 1;
        max-width: 150px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 27, 78, 0.4);
}

.scroll-to-top i {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 120px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
