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

:root {
    --primary-color: #C5935B;
    --primary-dark: #A67C52;
    --secondary-color: #2C2C2C;
    --accent-color: #F4F4F4;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-white: #f5f5ed;
    --border-color: #E0E0E0;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-medium: 0 3px 10px rgba(0, 0, 0, 0.16);
    --shadow-heavy: 0 8px 25px rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-overlay: linear-gradient(135deg, rgba(197, 147, 91, 0.85), rgba(44, 44, 44, 0.75));
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Performance optimization with content-visibility */
section:not(.hero) {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* Mobile optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy loading image optimization */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src*="data:"]) {
    opacity: 1;
}

/* Touch optimization */
a, button, .category-card, .project-card {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(197, 147, 91, 0.2);
}

/* Prevent zoom on input focus (iOS) */
input, select, textarea {
    font-size: 16px;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFFCC;
    box-shadow: 2px 0px 12px 0px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 11.44px;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.nav-menu .nav-dropdown {
    position: relative;
}

.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #f5f5ed;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e5e5e5;
    list-style: none;
}

.nav-menu .dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 10.56px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu .dropdown-menu a::after {
    display: none;
}

.nav-menu .dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px;
}

.nav-menu .nav-dropdown > a .fas {
    font-size: 10px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.nav-menu .nav-dropdown:hover > a .fas {
    transform: rotate(180deg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Prevent body scroll when mobile menu is open */
body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: var(--bg-light);
    padding: 1rem 0;
    margin-top: 70px; /* Account for fixed header */
    border-bottom: 1px solid var(--border-color);
    display: none; /* Hide breadcrumbs */
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin: 0 0.5rem;
    color: var(--text-secondary);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-item.active span {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7), 1px 1px 3px rgba(0, 0, 0, 0.9);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.95;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    opacity: 0.9;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

p, .card-content p, .project-content p, .craftsmanship-text p, .cta-content p, .newsletter-signup p {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
}

/* Temple Categories */
.temple-categories {
    padding: 6rem 0;
    background: var(--bg-light);
}

/* Categories Carousel */
.categories-carousel {
    position: relative;
    margin-top: 3rem;
}

.categories-carousel .carousel-container {
    overflow: hidden;
    position: relative;
}

.categories-carousel .carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
    will-change: transform;
}

.categories-carousel .carousel-track.no-transition {
    transition: none;
}

.categories-carousel .carousel-track .category-card {
    flex: 0 0 350px;
    min-width: 350px;
}

.categories-carousel .carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.temple-categories .container {
    max-width: 1440px; /* Increased from 1200px by 20% */
}

.categories-container {
    position: relative;
    margin-top: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.category-card {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    transform: scale(1);
    opacity: 0.5;
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.card-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(197, 147, 91, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.card-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.enquire-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    margin-top: 0.5rem;
    text-align: center;
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.enquire-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.enquire-btn:active {
    transform: translateY(0);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

.enquire-btn-section {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    text-align: center;
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-light);
}

.enquire-btn-section:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.enquire-btn-section:active {
    transform: translateY(0);
}

.card-link {
    margin-top: 1rem;
    text-align: center;
}

.section-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.section-link:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.section-link:active {
    transform: translateY(0);
}

.category-count {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Featured Projects */
.featured-projects {
    padding: 6rem 0;
}

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

.project-category-title {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    letter-spacing: 0.3px;
}

.project-category-title i {
    color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.project-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.project-image {
    position: relative;
    height: 290px;
    overflow: hidden;
}

.project-card.featured .project-image {
    height: 440px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content {
    padding: 1.5rem;
    background: #FFFFFF;
}

.project-card.featured .project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #FFFFFF;
}

.project-content h4 {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.project-card.featured .project-content h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-details i {
    color: var(--primary-color);
}

/* Temple Detail Sections */
.temple-detail-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.temple-detail-section:nth-child(odd) {
    background: var(--bg-light);
}

.temple-gallery {
    margin-top: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

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

/* Special styling for Manasthamb section with 2:4 (1:2) ratio */
#manasthamb-detail .gallery-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columns in a single row on desktop */
}

#manasthamb-detail .gallery-item img {
    height: 512px; /* Reduced by 40% total from original 800px */
}

#manasthamb-detail .gallery-caption {
    background: #FFFFFF;
}

/* Special styling for Vedi section to prevent cropping */
#vedi-detail .gallery-item img {
    height: 480px; /* Taller to show full platform details without cropping */
}

/* Special styling for Home Temples section to prevent cropping */
#home-temples-detail .gallery-item img {
    height: 440px; /* Taller to show full home temple details without cropping */
}

/* Special styling for Murals section */
#murals-detail .gallery-item img {
    height: 400px; /* Optimal height for mural wall art */
}

#murals-detail .gallery-caption {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
}

/* Mural Carousel Styles */
.gallery-carousel {
    position: relative;
    margin-top: 3rem;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
    will-change: transform;
}

.carousel-track.no-transition {
    transition: none;
}

.carousel-track .gallery-item {
    flex: 0 0 300px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-track .gallery-item img {
    height: 300px; /* Perfect square ratio - 300x300px */
    width: 300px; /* Fixed width to ensure 1:1 ratio */
    object-fit: cover;
    border-radius: 8px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    transform: scale(1);
    opacity: 0.5;
}

.carousel-btn:active {
    transform: scale(0.95);
}

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

.gallery-item:hover .gallery-caption {
    background: var(--primary-color);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.gallery-caption {
    padding: 1rem;
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure caption spans full width of item */
}

/* Mural Features */
.mural-features {
    margin-top: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.mural-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.mural-features .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.mural-features .features-title {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.mural-features .features-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.mural-features .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.mural-features .feature-item {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.mural-features .feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mural-features .feature-item:hover::before {
    transform: scaleX(1);
}

.mural-features .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.mural-features .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.mural-features .feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(197, 147, 91, 0.3);
}

.mural-features .feature-icon i {
    font-size: 2.2rem;
    color: var(--text-light);
    transition: all 0.4s ease;
}

.mural-features .feature-item:hover .feature-icon i {
    transform: scale(1.1);
}

.mural-features .feature-content {
    text-align: center;
}

.mural-features .feature-content h4 {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.mural-features .feature-item:hover .feature-content h4 {
    color: var(--primary-color);
}

.mural-features .feature-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    transition: color 0.3s ease;
}

.mural-features .feature-item:hover .feature-content p {
    color: var(--text-primary);
}

/* Craftsmanship Section */
.craftsmanship {
    padding: 6rem 0;
    background: var(--bg-light);
}

.craftsmanship-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.craftsmanship-text h2 {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.craftsmanship-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.craftsmanship-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature span {
    font-weight: 500;
    color: var(--text-primary);
}

.craftsmanship-images img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: inline-block;
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--bg-white);
    color: var(--text-primary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 30px;
    width: auto;
}

.footer-section h4 {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

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

.footer-section ul li a {
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    line-height: 1.5;
    color: var(--text-primary);
}

.contact-info a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Breadcrumb Mobile */
    .breadcrumb {
        padding: 0.7rem 0;
    }
    
    .breadcrumb-list {
        font-size: 0.85rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 0.3rem;
    }

    .nav-container {
        padding: 15px 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-medium);
        z-index: 999;
    }

    .nav-menu > li > a {
        padding: 15px 2rem;
        border-bottom: 1px solid #f0f0f0;
        font-size: 11.44px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.4;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    /* Mobile Dropdown Styles */
    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
        padding: 0;
        min-width: auto;
        display: none;
        margin-left: 1rem;
        border-left: 2px solid var(--primary-color);
    }

    .nav-menu .nav-dropdown:hover .dropdown-menu,
    .nav-menu .nav-dropdown.mobile-active .dropdown-menu {
        display: block;
    }

    .nav-menu .dropdown-menu a {
        padding: 10px 30px;
        border-top: 1px solid #e5e5e5;
        font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 10.56px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.4;
        color: var(--text-secondary);
    }

    .nav-menu .dropdown-menu a:hover {
        background: #f8f9fa;
        padding-left: 35px;
        color: var(--primary-color);
    }

    .nav-menu .nav-dropdown > a .fas {
        font-size: 10px;
    }

    /* Hero Section Mobile */
    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
        padding: 0 1rem;
    }

    .stat {
        text-align: center;
        min-width: 80px;
    }

    .stat-number {
        font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 1.8rem;
        font-weight: 500;
        color: var(--text-light);
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Sections Mobile */
    .section-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    /* Temple Categories Mobile */
    .temple-categories {
        padding: 4rem 0;
    }

    .categories-carousel .carousel-track {
        gap: 1.5rem;
    }

    .categories-carousel .carousel-track .category-card {
        flex: 0 0 280px;
        min-width: 280px;
    }

    .categories-carousel .carousel-controls {
        margin-top: 1.5rem;
    }

    .category-card {
        border-radius: 12px;
    }

    .card-image {
        height: 180px;
    }

    .card-content {
        padding: 1rem;
    }

    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .card-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .section-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Featured Projects Mobile */
    .featured-projects {
        padding: 4rem 0;
    }

    .project-category-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card.featured {
        grid-template-columns: 1fr;
    }

    .project-card.featured .project-image {
        height: 250px;
    }

    .project-image {
        height: 220px;
    }

    .project-content {
        padding: 1.2rem;
    }

    .project-content h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .project-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .project-details {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .project-details span {
        font-size: 0.85rem;
    }

    /* Gallery Sections Mobile */
    .temple-detail-section {
        padding: 4rem 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Manasthamb section - 2 items per row on tablet/mobile */
    #manasthamb-detail .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #manasthamb-detail .gallery-item img {
        height: 400px; /* Taller for pillars on mobile */
    }

    /* Home Temples and Vedi sections - match Grand Marble Temples height */
    #home-temples-detail .gallery-item img,
    #vedi-detail .gallery-item img {
        height: 280px;
    }

    .gallery-item {
        border-radius: 12px;
    }

    .gallery-item img {
        height: 280px;
        border-radius: 12px;
    }

    .gallery-caption {
        padding: 0.8rem;
        font-size: 0.9rem;
        border-top: 1px solid var(--border-color);
        background: var(--bg-white);
        font-weight: 500;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Craftsmanship Mobile */
    .craftsmanship {
        padding: 4rem 0;
    }

    .craftsmanship-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .craftsmanship-text h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .craftsmanship-text p {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .craftsmanship-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .feature i {
        font-size: 2rem;
    }

    .feature span {
        font-size: 0.9rem;
    }

    /* CTA Mobile */
    .cta {
        padding: 4rem 0;
    }

    .cta-content h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 200px;
        text-align: center;
    }

    /* Footer Mobile */
    .footer {
        padding: 3rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

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

    .footer-section ul li a {
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        font-size: 0.85rem;
    }

    /* Mural Features Mobile */
    .mural-features {
        margin-top: 3rem;
        padding: 2rem 1rem;
        border-radius: 15px;
    }

    /* Mural Carousel Mobile */
    .carousel-track .gallery-item {
        flex: 0 0 250px;
        min-width: 250px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .carousel-track .gallery-item img {
        height: 250px; /* Perfect square ratio for mobile - 250x250px */
        width: 250px; /* Fixed width to ensure 1:1 ratio */
    }
    
    /* Show only 2 images on mobile */
    .carousel-container {
        max-width: calc(2 * 250px + 2rem); /* 2 items + gap */
        margin: 0 auto;
    }

    .carousel-controls {
        margin-top: 1.5rem;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* Ensure smooth scrolling on mobile */
    .carousel-track {
        gap: 1.2rem;
    }
    
    /* Optimize touch scrolling */
    .carousel-container {
        -webkit-overflow-scrolling: touch;
    }

    .mural-features .features-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .mural-features .features-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .mural-features .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .mural-features .feature-item {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .mural-features .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }

    .mural-features .feature-icon i {
        font-size: 2rem;
    }

    .mural-features .feature-content h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .mural-features .feature-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .logo-img {
        height: 35px;
    }

    /* Hero Mobile Small */
    .hero {
        height: 60vh;
        min-height: 450px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 0.5rem;
        padding: 0;
    }

    .stat {
        min-width: 70px;
    }

    .stat-number {
        font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 1.5rem;
        font-weight: 500;
        color: var(--text-light);
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Sections Mobile Small */
    .temple-categories,
    .featured-projects,
    .temple-detail-section,
    .craftsmanship,
    .cta {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    /* Temple Categories Mobile Small */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 1rem;
    }

    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .card-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Featured Projects Mobile Small */
    .project-category-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .project-image {
        height: 200px;
    }

    .project-card.featured .project-image {
        height: 220px;
    }

    .project-content {
        padding: 1rem;
    }

    .project-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .project-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .project-details span {
        font-size: 0.8rem;
    }

    /* Gallery Mobile Small */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Manasthamb section - 2 items per row on small mobile */
    #manasthamb-detail .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mural Features Mobile Small */
    .mural-features {
        margin-top: 2.5rem;
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .mural-features .features-title {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }

    .mural-features .features-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .mural-features .feature-grid {
        gap: 1.25rem;
        margin-top: 1.5rem;
    }

    .mural-features .feature-item {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }

    .mural-features .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .mural-features .feature-icon i {
        font-size: 1.8rem;
    }

    .mural-features .feature-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .mural-features .feature-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Home Temples - 2 columns, Grand Marble Temples single column on mobile */
    #home-temples-detail .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    #grand-temples-detail .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .gallery-item img {
        height: 250px;
        border-radius: 10px;
    }

    /* Manasthamb section - taller for pillars on small mobile */
    #manasthamb-detail .gallery-item img {
        height: 350px;
    }

    /* Home Temples and Vedi sections - match Grand Marble Temples height */
    #home-temples-detail .gallery-item img,
    #vedi-detail .gallery-item img {
        height: 250px;
    }

    .gallery-caption {
        padding: 0.6rem;
        font-size: 0.85rem;
        border-top: 1px solid var(--border-color);
        background: var(--bg-white);
        font-weight: 500;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Projects grid also 2 columns on mobile */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .project-card.featured {
        grid-column: 1 / -1; /* Featured card spans full width */
    }

    /* Specific image heights for mobile - match Grand Marble Temples (250px default) */
    #manasthamb-detail .gallery-item img {
        height: 500px; /* Tall for Manasthamb mobile */
    }

    #vedi-detail .gallery-item img,
    #home-temples-detail .gallery-item img {
        height: 250px; /* Same as Grand Marble Temples */
    }

    /* Craftsmanship Mobile Small */
    .craftsmanship-text h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .craftsmanship-text p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .craftsmanship-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature {
        padding: 1rem;
        background: var(--bg-light);
        border-radius: 10px;
        gap: 0.8rem;
    }

    .feature i {
        font-size: 1.8rem;
        color: var(--primary-color);
    }

    .feature span {
        font-size: 0.9rem;
        font-weight: 400;
    }

    /* CTA Mobile Small */
    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        min-width: 180px;
        border-radius: 8px;
    }

    /* Footer Mobile Small */
    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section {
        padding: 0 0.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-section p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .footer-section ul li a {
        font-size: 0.85rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }

    /* Touch improvements */
    .category-card,
    .project-card,
    .gallery-item,
    .btn {
        touch-action: manipulation;
    }

    /* Improve button tap targets */
    .nav-toggle {
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }

    .social-links a {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Large Mobile / Phablet */
@media (max-width: 640px) and (min-width: 481px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .card-image {
        height: 190px;
    }
    
    .project-image {
        height: 230px;
    }
    
    .gallery-item img {
        height: 260px;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav-toggle,
    .cta,
    .footer {
        display: none;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
    }

    .hero-overlay {
        display: none;
    }

    * {
        box-shadow: none !important;
    }
}
