/* 
* Utah Selfies, L.L.C. - Website Styles
* Author: Claude
* Version: 1.0
*/

/* ===== BASE STYLES ===== */
:root {
    --primary-color: #0066cc;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --border-color: #dee2e6;
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul, ol {
    list-style: none;
    padding-left: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== UTILITY CLASSES ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--gray-color);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: #fff;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: var(--secondary-color);
    font-size: 1.75rem;
    margin-bottom: 0;
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d') no-repeat center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1497091071254-cc9b2ba7c48a') no-repeat center/cover;
    padding: 5rem 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 3rem;
    color: #fff;
}

.page-header p {
    max-width: 700px;
    margin: 1rem auto 0;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 5rem 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-icon {
    background-color: var(--primary-color);
    color: #fff;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* ===== ABOUT PREVIEW SECTION ===== */
.about-preview {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 5rem 0;
    background-color: #fff;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-content {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    margin-bottom: 3rem;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--light-color);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author h4 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--gray-color);
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
}

.cta h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about, .footer-links, .footer-contact {
    margin-bottom: 1.5rem;
}

.footer-about h3, .footer-links h3, .footer-contact h3 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-contact p i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== ABOUT PAGE ===== */
.about {
    padding: 5rem 0;
    background-color: #fff;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 5rem 0;
    background-color: var(--light-color);
}

.mission, .vision {
    text-align: center;
    padding: 2rem;
}

.mission-icon, .vision-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.values {
    padding: 5rem 0;
    background-color: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.team {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.team-img {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .team-img img {
    transform: scale(1.1);
}

.team-member h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--gray-color);
    padding: 0 1.5rem 0.5rem;
}

.team-social {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.team-social a {
    width: 36px;
    height: 36px;
    background-color: var(--light-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ===== SERVICES PAGE ===== */
.services-intro {
    padding: 5rem 0;
    background-color: #fff;
}

.services-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-list {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.service-content h3 {
    margin-bottom: 1rem;
}

.service-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.service-content ul li {
    margin-bottom: 0.5rem;
}

.process {
    padding: 5rem 0;
    background-color: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.technologies {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.tech-category {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.tech-category h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.tech-category ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.tech-category ul li {
    margin-bottom: 0.5rem;
}

/* ===== PORTFOLIO PAGE ===== */
.portfolio-filter {
    padding-top: 5rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: var(--light-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.portfolio-grid {
    padding: 3rem 0 5rem;
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.portfolio-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 102, 204, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-info {
    text-align: center;
    color: #fff;
}

.portfolio-info h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    margin-bottom: 1.5rem;
}

.btn-view-project {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 500;
}

.case-studies {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.case-study {
    margin-bottom: 4rem;
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.case-study-content.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.case-study-content.reverse .case-study-text {
    direction: ltr;
}

.case-study-category {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.case-study-text h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 0.5rem;
}

.case-study-text ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0 1.5rem;
}

.case-study-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.client-logos {
    padding: 5rem 0;
    background-color: #fff;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.client-logo {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.client-logo:hover {
    transform: scale(1.1);
}

/* ===== CONTACT PAGE ===== */
.contact-info {
    padding: 5rem 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: var(--light-color);
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--gray-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    width: auto;
    margin-right: 0.5rem;
}

.form-submit {
    margin-top: 2rem;
}

.map {
    padding: 5rem 0;
    background-color: #fff;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    padding-right: 1rem;
}

.faq-toggle {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .services-intro-content,
    .case-study-content,
    .case-study-content.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-content.reverse {
        direction: ltr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
} 