/*
Theme Name: White Pictures
Description: A professional photography and videography WordPress theme inspired by whitepictures.in
Author: BlackBoxAI
Version: 1.0
Text Domain: whitepictures
*/

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header Styles */
.site-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.site-logo .tagline {
    font-size: 12px;
    color: #666;
    margin-left: 10px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin-left: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #ff6b35;
}

/* Hero Section */
.hero-section {
    background: #2c3e50;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-slide {
    display: flex;
    align-items: center;
    min-height: 500px;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-images {
    flex: 1;
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.btn-primary {
    background: #ff6b35;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #e55a2b;
}

/* Main Content Sections */
.main-content {
    padding-top: 80px;
}

.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Section */
.stats-section {
    background: #f8f9fa;
}

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

.stat-item {
    background: #2c3e50;
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

/* Projects Section */
.projects-section {
    background: #2c3e50;
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    background: #34495e;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.project-content {
    padding: 30px;
}

.project-content h4 {
    font-size: 24px;
    margin-bottom: 15px;
}

.project-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
}

.service-image {
    width: 200px;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.service-content h4 {
    font-size: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

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

.footer-content p {
    font-size: 14px;
    opacity: 0.8;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Header scroll effect */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Hero dots */
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-dot.active {
    background: #ff6b35;
}

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

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

/* Back to top button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Card hover effects */
.project-card.hovered,
.service-card.hovered {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Form styles */
.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group.focused label {
    transform: translateY(-20px);
    font-size: 12px;
    color: #ff6b35;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #ff6b35;
}

/* Lazy loading */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img:not(.lazy) {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-container {
        position: relative;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .main-navigation.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-navigation ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-navigation li {
        margin: 10px 0;
    }
    
    .hero-slide {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-images {
        flex-direction: column;
    }
    
    .about-section {
        flex-direction: column;
    }
    
    .service-card {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* Print styles */
@media print {
    .site-header,
    .mobile-menu-toggle,
    #back-to-top,
    .hero-dots {
        display: none;
    }
    
    .hero-section {
        padding-top: 0;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}
