/* Custom CSS for Agustín Choca Photography Website */

/* General Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --black: #000000;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Hero Sections */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Mission Statement Section */
.mission-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-content {
    text-align: center;
}

.mission-title {
    font-family: 'Georgia', serif;
    font-style: italic;
    margin-bottom: 3rem;
}

.mission-text {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-small {
    background: url('../imgs/serigrafia/hero.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Hero Background Slideshow */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide.fade-in {
    animation: heroFadeIn 2s ease-in-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero background images - using actual photos */
.hero-slide:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../imgs/hero/hero1.jpg');
}

.hero-slide:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../imgs/hero/hero2.jpg');
}

.hero-slide:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../imgs/hero/hero3.jpg');
}

.hero-slide:nth-child(4) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../imgs/hero/hero4.jpg');
}

.hero-slide:nth-child(5) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../imgs/hero/hero5.jpg');
}

.hero-slide:nth-child(6) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../imgs/hero/hero6.jpg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero .container,
.hero-small .container {
    position: relative;
    z-index: 2;
}





/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background-color: rgba(52, 58, 64, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background-color: rgba(52, 58, 64, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.navbar-brand:hover {
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-light {
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
}

/* Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    border-radius: 0.75rem 0.75rem 0 0;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Gallery Styles */
.gallery-item {
    margin-bottom: 2rem;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-img-placeholder {
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-link {
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s ease;
}

.gallery-link:hover {
    transform: scale(1.1);
    color: var(--white);
}

.gallery-info {
    padding: 1rem;
    background: var(--white);
    border-radius: 0 0 0.75rem 0.75rem;
}

.gallery-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.gallery-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Filter Buttons */
.btn-group .btn {
    border-radius: 0.5rem;
    margin: 0 0.25rem;
}

.btn-group .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Stats Section */
.stat-item {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    margin-bottom: 1rem;
}

.stat-item h3 {
    margin-bottom: 0.5rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Pricing Cards */
.pricing-card {
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.bg-primary {
    border-color: var(--primary-color);
}

.price-display {
    margin: 1.5rem 0;
}

/* Pricing card content structure */
.pricing-card .btn {
    margin-top: auto;
}

.pricing-card ul {
    flex-grow: 1;
}

.price-display .display-4 {
    font-weight: 700;
}

/* Workshop Styles */
.process-step {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.work-card {
    transition: transform 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
}

.work-img-placeholder {
    transition: transform 0.3s ease;
}

.work-card:hover .work-img-placeholder {
    transform: scale(1.05);
}

.work-info h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.work-info p {
    margin-bottom: 0.5rem;
}

.info-card {
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.info-card i {
    margin-right: 0.5rem;
}

/* About Section */
.about-img-placeholder {
    transition: transform 0.3s ease;
}

.about-img-placeholder:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    margin-top: 4rem;
}

.social-links a {
    transition: color 0.3s ease, transform 0.3s ease;
    margin: 0 0.5rem;
}

.social-links a:hover {
    transform: translateY(-2px);
    color: var(--primary-color) !important;
}

/* Gallery overlay cursor */
.gallery-link {
    cursor: pointer;
}

/* Center entire About section content on lg screens and below */
@media (max-width: 991.98px) {
    .col-lg-6[data-aos="fade-left"] {
        text-align: center;
    }
    
    .col-lg-6[data-aos="fade-left"] .row {
        justify-content: center;
    }
    
    /* Add margin-top to workshop h3 on lg and below */
    .col-lg-6[data-aos="fade-left"] h3 {
        margin-top: 2rem;
    }
    
    /* Increase vertical spacing between pricing cards on lg and below */
    #precios .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero,
    .hero-small {
        padding: 2rem 0;
    }
    
    /* Mission section mobile styles */
    .mission-text {
        font-size: 1.3rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
    
    .mission-title {
        margin-bottom: 2rem;
    }
    
    /* Hero logo mobile styles */
    .hero .col-lg-8 img {
        max-height: 120px !important;
    }
    
    /* Hero catchy phrase mobile styles */
    .hero .col-lg-8 p {
        font-size: 1rem !important;
    }
    
    .hero .container,
    .hero-small .container {
        padding: 1rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    /* Hero slideshow mobile optimizations */
    .hero-slide {
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-group {
        flex-wrap: wrap;
    }
    
    .btn-group .btn {
        margin: 0.25rem;
    }
    
    .stat-item {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .process-step {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .work-card {
        margin-bottom: 2rem;
    }
    
    .info-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero .container,
    .hero-small .container {
        padding: 0.5rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    /* Mission section small mobile styles */
    .mission-text {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    /* Hero logo small mobile styles */
    .hero .col-lg-8 img {
        max-height: 100px !important;
    }
    
    /* Hero catchy phrase small mobile styles */
    .hero .col-lg-8 p {
        font-size: 0.9rem !important;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .social-links a {
        margin: 0 0.25rem;
    }
    
    .social-links i {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-color));
}

.border-rounded {
    border-radius: 0.75rem;
}

.shadow-custom {
    box-shadow: var(--shadow);
}

.shadow-custom-lg {
    box-shadow: var(--shadow-lg);
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .social-links,
    .gallery-overlay {
        display: none !important;
    }
    
    .hero,
    .hero-small {
        background: none !important;
        color: var(--black) !important;
    }
    
    .card {
        border: 1px solid var(--border-color) !important;
        box-shadow: none !important;
    }
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.image-modal.show .image-modal-content {
    transform: scale(1);
}

.image-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.image-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

#modalImage {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.image-modal-caption {
    padding: 20px;
    text-align: center;
    background: white;
}

.image-modal-caption h4 {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
}

/* Modal responsive */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    #modalImage {
        max-height: 70vh;
    }
    
    .image-modal-caption {
        padding: 15px;
    }
    
    .image-modal-caption h4 {
        font-size: 1.1rem;
    }
}

/* Product Gallery Styles */
.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.375rem 0.375rem 0 0;
}

.product-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.product-image-container:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.product-image-container:hover img {
    transform: scale(1.05);
}

.product-image-container .badge {
    backdrop-filter: blur(4px);
}

/* Gallery Modal Styles */
#galeriaModal .modal-content {
    border: none;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
}

#galeriaModal .modal-header {
    background-color: #212529;
    border-bottom: 1px solid #495057;
}

#galeriaModal .modal-footer {
    background-color: #212529;
    border-top: 1px solid #495057;
    padding: 1rem 1.5rem;
}

#galeriaModal .gallery-container {
    background: #000;
    border-radius: 0.375rem;
}

#galeriaModal img {
    border-radius: 0.375rem;
    transition: opacity 0.3s ease;
}

/* Gallery Navigation Buttons */
#galeriaModal .modal-body .btn {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.9) !important;
    border: none;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#galeriaModal .modal-body .btn:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: scale(1.1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
}

#galeriaModal .modal-body .btn i {
    color: #333;
    font-size: 1.1rem;
}

/* Gallery Footer Buttons */
#galeriaModal .modal-footer .btn {
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#galeriaModal .modal-footer .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

#galeriaModal .modal-footer .btn-secondary:hover {
    background-color: #5c636a;
    border-color: #565e64;
    transform: none;
}

#galeriaModal .modal-footer .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

#galeriaModal .modal-footer .btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
    transform: none;
}

/* Gallery Counter Badge */
#contadorImagenes {
    backdrop-filter: blur(4px);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Product Card Overlay Effects */
.product-image-container .position-absolute {
    transition: opacity 0.3s ease;
}

.product-image-container:not(:hover) .position-absolute:not(.badge) {
    opacity: 0;
}

.product-image-container:hover .position-absolute {
    opacity: 1;
}

/* Animation for gallery opening */
@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#galeriaModal.show .modal-content {
    animation: galleryFadeIn 0.3s ease;
}

/* Mobile optimizations for gallery */
@media (max-width: 768px) {
    #galeriaModal .modal-body .btn {
        width: 40px;
        height: 40px;
    }
    
    #galeriaModal .modal-body .btn i {
        font-size: 1rem;
    }
    
    #galeriaModal .modal-dialog {
        margin: 0.5rem;
    }
    
    #galeriaModal .modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #galeriaModal .modal-footer .btn {
        width: 100%;
        margin: 0;
    }
    
    .product-image-container .position-absolute:not(.badge) {
        opacity: 1;
    }
} 