/* Custom styles for the photography website */

:root {
    --primary-color: #8B0000;
    --secondary-color: #FFC0CB;
    --text-color: #333333;
    --background-color: #FFFFFF;
    --accent-color: #FFD700;
}

/* Typography */
body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color) !important;
    display: flex;
    align-items: center;
}

.navbar-brand span {
    margin-left: 0.5rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.nav-link {
    font-family: 'Source Sans Pro', sans-serif;
    color: #fff !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('Photos/Wedding photos/_DSC2324.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 700px;
}

.hero .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.hero .btn-primary:hover {
    background-color: transparent;
    border-color: #fff;
}

/* Section Styling */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Gallery */
.gallery-tabs {
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 2rem;
}

.gallery-tabs .nav-item {
    margin: 0 0.25rem;
}

.gallery-tabs .nav-link {
    color: var(--text-color) !important;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-bottom: none;
    padding: 1rem 2rem;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gallery-tabs .nav-link:hover {
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
    background-color: rgba(139, 0, 0, 0.05);
}

.gallery-tabs .nav-link.active {
    color: white !important;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.gallery-tabs .nav-link i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.tab-content .tab-pane {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.tab-content .tab-pane.show {
    opacity: 1;
}

.gallery-item {
    display: block;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}

/* Pricing Cards */
.pricing-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
}

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

.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

/* Pricing Section */
.package-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 3rem !important;
}

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

.package-section h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.package-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: var(--primary-color) !important;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 1rem;
    border: none;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #eee;
    font-weight: 500;
}

.table tbody tr:nth-child(1) td {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.table tbody tr:hover {
    background-color: rgba(139, 0, 0, 0.02);
}

.table .fas.fa-check {
    color: #28a745;
    font-size: 1.2rem;
}

.table .fas.fa-times {
    color: #dc3545;
    font-size: 1.2rem;
}

/* Payment Section Styling */
.payment-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.payment-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.payment-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.payment-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.payment-card p {
    color: #666;
    margin-bottom: 0;
}

/* Blog Section */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.blog-card p {
    color: #666;
    margin-bottom: 1rem;
}

.blog-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s ease;
}

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

/* Blog Post Page */
.blog-post-page {
    padding-top: 80px;
}

.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-post-meta {
    color: #666;
    margin-bottom: 2rem;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-post-content h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

/* Blog Modals */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1.5rem;
}

.modal-header .btn-close {
    color: white;
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

.modal-body img {
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.modal-body h6 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.modal-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive Blog Cards */
@media (max-width: 768px) {
    .blog-card img {
        height: 180px;
    }

    .blog-card h3 {
        font-size: 1.1rem;
    }

    .blog-card p {
        font-size: 0.9rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .package-section {
        padding: 1rem;
    }

    .package-section h3 {
        font-size: 1.5rem;
    }

    .table thead th {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }

    .table tbody td {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* Footer */
.footer {
    background-color: #1a1a1a;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer h5 {
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer p {
    color: #ccc;
    line-height: 1.6;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.footer .social-links a {
    color: #ccc;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer i {
    width: 20px;
    text-align: center;
}

/* WhatsApp Sticky Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-sticky i {
    font-size: 2rem;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
    color: white;
    background-color: #128C7E;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-sticky:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Payment Section */
.payment-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.payment-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.payment-card:hover .payment-icon {
    transform: scale(1.1);
    background-color: var(--accent-color);
}

.payment-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.payment-card p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9rem;
}

#payment {
    background-color: #f8f9fa;
}

/* Adjust back to top button position */
.back-to-top {
    bottom: 90px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    line-height: 40px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

/* Accessibility */
.skip-link {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    color: white;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}
