/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Playfair Display', serif;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    line-height: 1.3;
}

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

a:hover {
    color: var(--accent-color);
}

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

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    padding: 0 20px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0 20px;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../362383-camera-wallpaper-23240-2560x1600px.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Featured Work Section */
.featured-work {
    text-align: center;
    background-color: var(--light-color);
}

.featured-work h2 {
    margin-bottom: 40px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.overlay h3 {
    margin-bottom: 10px;
}

.overlay a {
    color: var(--light-color);
    text-decoration: underline;
}

/* Services Preview Section */
.services-preview {
    text-align: center;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.service {
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
}

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

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
    text-align: center;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial cite {
    font-weight: 700;
    color: var(--primary-color);
}

/* CTA Section */
.cta {
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/cta-bg.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 80px 0;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-links ul li a,
.footer-contact a {
    color: var(--light-color);
}

.footer-links ul li a:hover,
.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 10px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin-right: 10px;
}

.social-links a i {
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    z-index: 1;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-links a:hover i {
    transform: translate(-50%, -50%) scale(1.2);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 150px 20px 80px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Portfolio Page Styles */
.portfolio-categories {
    background-color: var(--light-color);
    padding: 20px 0;
}

.category-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

.category-nav ul li {
    margin: 0 15px;
}

.category-nav ul li a {
    padding: 10px 15px;
    display: block;
    color: var(--dark-color);
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.category-nav ul li a:hover,
.category-nav ul li a.active {
    background-color: var(--secondary-color);
    color: white;
}

.portfolio-gallery {
    padding: 80px 0;
}

.portfolio-gallery:nth-child(even) {
    background-color: var(--light-color);
}

.portfolio-gallery h2 {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Services Page Styles */
.services-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) .service-details {
    direction: ltr;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-details h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-details p {
    margin-bottom: 20px;
}

.service-details h3 {
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.service-details ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.service-details ul li {
    margin-bottom: 10px;
}

.pricing {
    background-color: var(--light-color);
    text-align: center;
    padding: 80px 20px;
}

.pricing h2 {
    margin-bottom: 20px;
}

.pricing p {
    max-width: 800px;
    margin: 0 auto 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.pricing-item {
    background-color: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pricing-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.pricing-note {
    font-style: italic;
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.philosophy {
    background-color: var(--light-color);
    padding: 80px 0;
}

.philosophy h2 {
    text-align: center;
    margin-bottom: 30px;
}

.philosophy p {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

.achievements {
    padding: 80px 0;
}

.achievements h2 {
    text-align: center;
    margin-bottom: 40px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.equipment {
    background-color: var(--light-color);
    padding: 80px 0;
}

.equipment h2 {
    text-align: center;
    margin-bottom: 30px;
}

.equipment p {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

.equipment ul {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.equipment ul li {
    margin-bottom: 10px;
}

/* Contact Page Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.contact-info .social-links {
    margin-top: 0;
}

.contact-info .social-links h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-info .social-links a {
    margin-right: 15px;
    background-color: var(--primary-color);
    color: white;
}

.contact-info .social-links a:hover {
    background-color: var(--secondary-color);
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.info-item h3 i {
    margin-right: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.faq {
    background-color: var(--light-color);
    padding: 80px 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    background-color: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Media Queries */
/* ---------------------------------------------------------------------------- */
/* '''Responsive Web Design for Mobile, Tablet,Desktops ''' */
/* ---------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    /* Adjustments for desktop */
}

@media (max-width: 992px) {
    /* Adjustments for center screen */
}

@media (max-width: 768px) {
    /* Adjustments for tablets */
}

@media (max-width: 600px) {
    /* Adjsutments for phablet */
}

@media (max-width: 320px) {
    /* Adjustments for phones */
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px 10px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .service-image img {
        height: 300px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .footer-content {
        gap: 30px;
    }
}

/* Font Awesome Icons (Placeholder) */
/* In a real implementation, you would include the Font Awesome library */
.fas, .far, .fab {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    border-radius: 50%;
    margin-right: 5px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover animations for gallery items */
.gallery-item {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Button animations */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Testimonial hover effect */
.testimonial {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Service card hover effect */
.service {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.service:hover {
    background-color: white;
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}