/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif SC', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #FFD700;
    background-color: rgba(255,255,255,0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主要内容 */
main {
    margin-top: 80px;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 英雄区域 */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #8B4513;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease;
    align-self: flex-start;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.temple-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #D2B48C, #DEB887);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.temple-image::before {
    content: "🏛️";
    font-size: 8rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 通用标题样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* 特色区域 */
.features {
    padding: 4rem 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* 最新动态 */
.news {
    padding: 4rem 0;
    background: #f9f9f9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, #D2B48C, #DEB887);
    position: relative;
}

.news-image::before {
    content: "📰";
    font-size: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.read-more {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

/* 开放时间 */
.opening-hours {
    padding: 4rem 0;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: #fff;
}

.hours-content {
    text-align: center;
}

.hours-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.hours-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hours-note {
    opacity: 0.8;
    font-style: italic;
}

/* 关于我们页面样式 */
.history {
    padding: 4rem 0;
    background: #fff;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-text h2 {
    color: #8B4513;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.history-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.temple-old-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #D2B48C, #DEB887);
    border-radius: 15px;
    position: relative;
}

.temple-old-image::before {
    content: "🏛️";
    font-size: 6rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.culture {
    padding: 4rem 0;
    background: #f9f9f9;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.culture-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.culture-card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.masters {
    padding: 4rem 0;
    background: #fff;
}

.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.master-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.master-image {
    height: 200px;
    background: linear-gradient(135deg, #D2B48C, #DEB887);
    position: relative;
}

.master-image::before {
    content: "👨‍🦲";
    font-size: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.master-info {
    padding: 1.5rem;
}

.master-info h3 {
    color: #8B4513;
    margin-bottom: 0.5rem;
}

.master-title {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.architecture {
    padding: 4rem 0;
    background: #f9f9f9;
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.arch-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.arch-image {
    height: 150px;
    background: linear-gradient(135deg, #D2B48C, #DEB887);
    position: relative;
}

.arch-image::before {
    content: "🏛️";
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.arch-item h3 {
    color: #8B4513;
    padding: 1rem;
    margin: 0;
}

.arch-item p {
    padding: 0 1rem 1rem;
    color: #666;
}

/* 佛事活动页面样式 */
.daily-activities {
    padding: 4rem 0;
    background: #fff;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #8B4513;
}

.activity-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.activity-card h3 {
    color: #8B4513;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.activity-time {
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
}

.activity-details {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.meditation-courses {
    padding: 4rem 0;
    background: #f9f9f9;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.course-image {
    height: 200px;
    background: linear-gradient(135deg, #D2B48C, #DEB887);
    position: relative;
}

.course-image::before {
    content: "🧘";
    font-size: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    color: #8B4513;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.course-time {
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
}

.course-features {
    list-style: none;
    margin: 1rem 0;
}

.course-features li {
    padding: 0.3rem 0;
    color: #666;
}

.course-features li::before {
    content: "✓";
    color: #8B4513;
    font-weight: bold;
    margin-right: 0.5rem;
}

.enroll-button {
    display: inline-block;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.enroll-button:hover {
    transform: translateY(-2px);
}

.dharma-talks {
    padding: 4rem 0;
    background: #fff;
}

.talks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.talk-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #8B4513;
}

.talk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.talk-header h3 {
    color: #8B4513;
    font-size: 1.2rem;
}

.talk-date {
    background: #8B4513;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.talk-info {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.volunteer-activities {
    padding: 4rem 0;
    background: #f9f9f9;
}

.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.volunteer-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.volunteer-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.volunteer-card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.volunteer-time {
    color: #666;
    font-weight: 600;
    margin-top: 1rem;
}

.volunteer-cta {
    text-align: center;
    margin-top: 2rem;
}

.volunteer-button {
    display: inline-block;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.volunteer-button:hover {
    transform: translateY(-2px);
}

/* 法会信息页面样式 */
.upcoming-events {
    padding: 4rem 0;
    background: #fff;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
}

.event-card.featured {
    border: 3px solid #FFD700;
}

.event-date {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.event-date .month {
    font-size: 1rem;
    opacity: 0.9;
}

.event-content {
    padding: 1.5rem;
    flex: 1;
}

.event-content h3 {
    color: #8B4513;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.event-time {
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-details {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.status {
    background: #28a745;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
}

.register-button {
    display: inline-block;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.register-button:hover {
    transform: translateY(-2px);
}

.annual-calendar {
    padding: 4rem 0;
    background: #f9f9f9;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.month-section {
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.month-section h3 {
    color: #8B4513;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.calendar-event {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.event-day {
    background: #8B4513;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.event-name {
    font-size: 0.9rem;
    color: #666;
}

.event-notice {
    padding: 4rem 0;
    background: #fff;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.notice-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #8B4513;
}

.notice-card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.notice-card ul {
    list-style: none;
}

.notice-card li {
    padding: 0.5rem 0;
    color: #666;
}

.notice-card li::before {
    content: "•";
    color: #8B4513;
    font-weight: bold;
    margin-right: 0.5rem;
}

.event-review {
    padding: 4rem 0;
    background: #f9f9f9;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-image {
    height: 200px;
    background: linear-gradient(135deg, #D2B48C, #DEB887);
    position: relative;
}

.review-image::before {
    content: "📸";
    font-size: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.review-content {
    padding: 1.5rem;
}

.review-content h3 {
    color: #8B4513;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.review-date {
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
}

.review-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* 联系我们页面样式 */
.contact-info {
    padding: 4rem 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #8B4513;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

.contact-form {
    padding: 4rem 0;
    background: #f9f9f9;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-container h2 {
    color: #8B4513;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.form-container > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B4513;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
}

.map-section {
    padding: 4rem 0;
    background: #fff;
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
}

.map-placeholder {
    background: linear-gradient(135deg, #D2B48C, #DEB887);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.map-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.map-directions {
    text-align: left;
    margin-top: 2rem;
}

.map-directions h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.map-directions ul {
    list-style: none;
}

.map-directions li {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.faq {
    padding: 4rem 0;
    background: #f9f9f9;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.social-media {
    padding: 4rem 0;
    background: #fff;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-note {
    text-align: center;
    color: #666;
    font-style: italic;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #2c2c2c, #3c3c3c);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #8B4513;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .history-content {
        grid-template-columns: 1fr;
    }

    .news-grid,
    .courses-grid,
    .events-grid,
    .review-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        min-width: auto;
        padding: 1rem;
    }

    .calendar-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
} 