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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: none;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: transparent;
    box-shadow: none;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: none;
}

.navbar.scrolled {
    background: transparent;
    box-shadow: none;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-icon {
    color: white;
}

/* Hero Section */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover !important; /* Force cover on all backgrounds */
    background-position: center center !important;
    transition: opacity 1s ease-in-out;
    max-width: 100vw; /* Maximum width of viewport */
    max-height: 100vh; /* Maximum height of viewport */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(0);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Style the Explore Our Services button */
.hero-content a {
    display: inline-block;
    padding: 0.9rem 2.2rem; /* Reduced from 1.25rem 3rem */
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem; /* Slightly reduced from 1rem */
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.hero-content a:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.3); /* Slightly reduced shadow */
    background-color: #f8f8f8;
}

/* Services Section */
.services {
    padding: 5rem 0.5rem; /* Reduced side padding */
    background-color: transparent; /* Let body color show through */
}

.service-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%; /* Full width */
    padding: 0 0.5rem; /* Minimal side padding */
}

/* Service Cards Base Styles */
[class^="service-card-"] {
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

[class^="service-card-"] h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

[class^="service-card-"] p {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

[class^="service-card-"]:hover {
    transform: translateY(-5px);
}

/* Service Cards Backgrounds */
.service-card-digital-marketing {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        url('images/hero-business-marketing.jpeg') center/cover;
}

.service-card-web-design {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        url('images/web-design.jpeg') center/cover;
}

.service-card-analytics {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        url('images/hero-analytics-02.jpeg') center/cover;
}

.service-card-seo {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        url('images/seo.jpeg') center/cover;
}

.service-card-content {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        url('images/content-marketing-02.jpeg') center/cover;
}

.service-card-photography {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        url('images/business-headshot-02.jpeg') center/cover;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
}

.contact-intro {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Footer */
footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: transparent;
    color: white;
    padding: 2rem 5%;
    box-shadow: none;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.95);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    /* Content */
    .hero, .hero-slide {
        height: 100vh;
        min-height: -webkit-fill-available; /* Fix for iOS */
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content a {
        padding: 1rem 2.5rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        height: 100vh;
    }

    .service-hero {
        height: 50vh;
    }

    .contact-hero {
        height: 30vh;
    }

    .certification-badge {
        flex-direction: column;
        text-align: center;
    }

    .service-stats {
        grid-template-columns: 1fr;
    }
}

/* Service Page Styles */
.service-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('service-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.service-hero-content {
    max-width: 800px;
    padding: 2rem;
}

.service-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-details {
    padding: 4rem 5%;
    background-color: transparent;
}

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

.service-features {
    list-style: none;
    padding: 2rem 0;
}

.service-features li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.service-cta {
    text-align: center;
    padding: 3rem 0;
    background: white; /* Keep CTA white for emphasis */
    margin-top: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-cta h3 {
    margin-bottom: 1rem;
}

.service-cta p {
    margin-bottom: 2rem;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .service-hero-content h1 {
        font-size: 2rem;
    }
    
    .service-details {
        padding: 2rem 5%;
    }
}

/* Google Ads Certification Badge */
.certification-badge {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
}

.certification-badge img {
    height: 40px;
    width: auto;
}

.service-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: white; /* Keep stat items white */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        text-align: center;
    }
}

/* Fix for mobile browsers */
@supports (-webkit-touch-callout: none) {
    .hero, .hero-slide {
        height: -webkit-fill-available;
    }
}

/* Hero Slides */
.hero-slide[data-image="hero-analytics"] {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #333333;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
        url('images/hero-analytics.jpeg');
}

.hero-slide[data-image="hero-digital-network"] {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #333333;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
        url('images/hero-digital-network.jpeg');
}

.hero-slide[data-image="hero-analytics-02"] {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #333333;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
        url('images/hero-analytics-02.jpeg');
}

.hero-slide[data-image="hero-business-marketing"] {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #333333;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
        url('images/hero-business-marketing.jpeg');
}

/* Update grid columns for different screen sizes */
@media (min-width: 1025px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr); /* Force 2 rows */
        grid-auto-flow: row; /* Ensure items flow row by row */
        max-width: none; /* Remove max-width constraint */
    }

    .service-card {
        height: 400px; /* Fixed height for consistent card size */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Overlay Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30,40,90,0.18);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: background 0.3s;
}

.modal-content {
    background: rgba(255,255,255,0.85);
    color: #1a1a1a;
    border-radius: 16px;
    padding: 2rem 1.2rem 1.2rem 1.2rem;
    max-width: 600px;
    width: 96vw;
    box-shadow: 0 4px 24px 0 rgba(30,40,90,0.13);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    animation: modalIn 0.18s cubic-bezier(.4,2,.6,1) 1;
    max-height: 96vh;
    overflow-y: auto;
    overflow-x: hidden;
    transition: box-shadow 0.2s, background 0.2s;
}

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

.modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    background: rgba(0,0,0,0.03);
    border: none;
    font-size: 1.2rem;
    color: #b0b0b0;
    cursor: pointer;
    border-radius: 50%;
    width: 1.7rem;
    height: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    z-index: 10;
    outline: none;
}
.modal-close:hover, .modal-close:focus {
    background: #eaeaea;
    color: #007bff;
    box-shadow: 0 0 0 2px #e0eaff;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 1.1rem;
    color: #1a1a1a;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.modal-content .contact-form {
    display: flex;
    flex-direction: column;
}
.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    background: #f7f8fa;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
    border-color: #007bff;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px #e0eaff;
}
.modal-content textarea {
    min-height: 3.2em;
    resize: vertical;
}
.modal-content .submit-btn {
    width: 100%;
    margin-top: 0.2rem;
    background: linear-gradient(90deg, #2196f3 0%, #007bff 100%);
    color: #fff;
    border: none;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    letter-spacing: 0.01em;
}
.modal-content .submit-btn:hover, .modal-content .submit-btn:focus {
    background: linear-gradient(90deg, #007bff 0%, #2196f3 100%);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 16px rgba(0,123,255,0.10);
}
.modal-content .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    white-space: nowrap;
    justify-content: flex-start;
    margin-bottom: 0.8rem;
    font-size: 0.97rem;
}
.modal-content .required-note {
    margin-top: 0.5rem;
    font-size: 0.92rem;
    color: #888;
    text-align: left;
}
/* Remove previous .form-group flex/grid styles for modal */
.modal-content .form-group {
    display: block;
    margin-bottom: 0;
    padding: 0;
}

/* Responsive modal */
@media (max-width: 600px) {
    .modal-content {
        max-width: 99vw;
        padding: 0.7rem 0.7rem 1rem 0.7rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    .modal-content .form-group {
        flex-direction: column;
        align-items: stretch;
    }
    .modal-content .form-group label {
        min-width: 0;
        margin-right: 0;
        margin-bottom: 0.2rem;
    }
    .modal-content input,
    .modal-content select,
    .modal-content textarea {
        max-width: 100%;
    }
}

.field-row {
    padding: 0 1rem;
}

.modal-content .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    white-space: nowrap;
    justify-content: flex-start;
    margin-bottom: 0.8rem;
    font-size: 0.97rem;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 0.5rem;
    font-size: 0.97rem;
    width: 100%;
}
.checkbox-row .checkbox-text {
    white-space: nowrap;
}

/* Form message styles */
.form-message {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}

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

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

.form-message .success-message,
.form-message .error-message {
    margin: 0;
} 