/* Boncuk Ustası - Main Stylesheet */
/* Türk tarzı boncuk takı yapım rehberi */

:root {
    --primary-color: #E8D5C4;
    --secondary-color: #F5E6D3;
    --accent-color: #D4A574;
    --text-dark: #5C4A37;
    --text-light: #8B7355;
    --bg-light: #FAF7F2;
    --bg-white: #FFFFFF;
    --border-color: #E0D4C7;
    --shadow-light: rgba(92, 74, 55, 0.1);
    --shadow-medium: rgba(92, 74, 55, 0.15);
    --gradient-1: linear-gradient(135deg, #E8D5C4 0%, #F5E6D3 100%);
    --gradient-2: linear-gradient(135deg, #D4A574 0%, #E8D5C4 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.bead-loader {
    display: flex;
    gap: 10px;
}

.bead-loader span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent-color);
    animation: bead-bounce 1.4s infinite ease-in-out;
}

.bead-loader span:nth-child(1) { animation-delay: -0.32s; }
.bead-loader span:nth-child(2) { animation-delay: -0.16s; }
.bead-loader span:nth-child(3) { animation-delay: 0s; }
.bead-loader span:nth-child(4) { animation-delay: 0.16s; }

@keyframes bead-bounce {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

/* Header */
.main-header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

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

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

.logo-bead {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-2);
    position: relative;
    box-shadow: 0 4px 15px var(--shadow-medium);
    animation: bead-rotate 8s linear infinite;
}

.logo-bead::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

@keyframes bead-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.site-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.main-nav {
    position: relative;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    overflow: hidden;
    padding: 80px 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-beads {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bead {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.bead-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bead-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

.bead-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

.bead-4 {
    width: 50px;
    height: 50px;
    top: 30%;
    right: 30%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px var(--shadow-light);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-2);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--shadow-medium);
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

/* Page Hero */
.page-hero {
    background: var(--gradient-1);
    padding: 60px 20px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

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

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

.feature-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.card-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.icon-bead {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-2);
    position: relative;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.icon-bead::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Gallery */
.gallery-preview {
    padding: 80px 20px;
    background: var(--bg-light);
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Content Sections */
.intro-section,
.steps-section,
.highlight-section {
    padding: 60px 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.text-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.image-content img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-medium);
}

/* Steps Timeline */
.steps-timeline {
    margin-top: 40px;
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: var(--border-color);
}

.step-item:last-child::before {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-2);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.step-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.step-link:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

/* Highlight Card */
.highlight-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow-light);
    align-items: center;
}

.highlight-image img {
    width: 100%;
    border-radius: 15px;
}

.highlight-text h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.highlight-list {
    list-style: none;
}

.highlight-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.highlight-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Materials Section */
.materials-section {
    padding: 60px 20px;
}

.materials-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.material-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.material-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.material-image {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.bead-preview,
.thread-preview,
.tool-preview,
.accessory-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-2);
    position: relative;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.bead-glass {
    background: linear-gradient(135deg, #4A90E2 0%, #7BB3F0 100%);
}

.bead-crystal {
    background: linear-gradient(135deg, #E8D5C4 0%, #F5E6D3 100%);
    box-shadow: 0 4px 20px rgba(232, 213, 196, 0.6);
}

.bead-wood {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

.thread-preview {
    width: 100px;
    height: 8px;
    border-radius: 4px;
}

.thread-nylon {
    background: #F5F5F5;
}

.thread-silk {
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
}

.tool-preview {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #C0C0C0;
}

.accessory-preview {
    width: 70px;
    height: 40px;
    border-radius: 8px;
    background: #D4A574;
}

.material-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.material-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.material-specs {
    list-style: none;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.material-specs li {
    padding: 5px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Tips Section */
.tips-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

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

.tip-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
    border-left: 4px solid var(--accent-color);
}

.tip-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.tip-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Techniques Section */
.techniques-section {
    padding: 60px 20px;
}

.technique-item {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.technique-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.technique-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.difficulty-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.difficulty-badge.beginner {
    background: #E8F5E9;
    color: #2E7D32;
}

.difficulty-badge.intermediate {
    background: #FFF3E0;
    color: #E65100;
}

.difficulty-badge.advanced {
    background: #FCE4EC;
    color: #C2185B;
}

.technique-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.technique-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.technique-steps h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.technique-steps ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.technique-steps li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

.technique-tip {
    background: var(--secondary-color);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    margin-top: 20px;
}

.technique-tip strong {
    color: var(--text-dark);
}

.technique-schema {
    margin-top: 20px;
}

.technique-schema h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.schema-diagram {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schema-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.schema-bead {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.schema-bead.offset {
    margin-left: 20px;
}

/* Project Section */
.project-section {
    padding: 60px 20px;
}

.project-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

.project-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.project-info h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    color: var(--text-light);
    font-size: 0.95rem;
}

.materials-list {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.materials-list h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.materials-list ul {
    list-style: none;
    padding-left: 0;
}

.materials-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.materials-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 1;
}

.instructions {
    margin-top: 50px;
}

.instructions h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.instruction-step {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px var(--shadow-light);
    border-left: 5px solid var(--accent-color);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-2);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.step-image {
    margin: 20px 0;
}

.step-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.variations {
    margin-top: 60px;
}

.variations h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.variation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.variation-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
    border-top: 4px solid var(--accent-color);
}

.variation-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.variation-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Tips Main Section */
.tips-main-section {
    padding: 60px 20px;
}

.tips-category {
    margin-bottom: 50px;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tip-item {
    display: flex;
    gap: 20px;
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: all 0.3s;
}

.tip-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.tip-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-bead-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-2);
    position: relative;
    box-shadow: 0 2px 8px var(--shadow-medium);
}

.icon-bead-small::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

.tip-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.tip-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 60px 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

.about-content.reverse {
    direction: rtl;
}

.about-content.reverse > * {
    direction: ltr;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.about-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.values-section {
    margin-top: 60px;
}

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

.value-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.community-section {
    margin-top: 60px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.community-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Contact Section */
.contact-section {
    padding: 60px 20px;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.info-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.info-item h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.social-links {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.social-links h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.social-links p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-note {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    border-left: 4px solid var(--accent-color);
}

.contact-note h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.contact-note p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-note a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-note a:hover {
    text-decoration: underline;
}

/* Privacy Section */
.privacy-section {
    padding: 60px 20px;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.privacy-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.privacy-content li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

.privacy-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-light);
    margin: 40px 0;
}

.privacy-form h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-white);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient-2);
    color: var(--bg-white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.last-updated {
    font-style: italic;
    color: var(--text-light);
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Footer */
.main-footer {
    background: var(--text-dark);
    color: var(--bg-light);
    padding: 50px 20px 20px;
    margin-top: 80px;
}

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

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-section p {
    color: var(--bg-light);
    opacity: 0.8;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--bg-light);
    opacity: 0.6;
}

/* Practice Section */
.practice-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

.practice-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.practice-tip {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
    border-top: 4px solid var(--accent-color);
}

.practice-tip h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.practice-tip p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Responsive Design */

/* Tablet and below (768px) */
@media (max-width: 768px) {
    .header-container {
        padding: 12px 15px;
    }

    .logo-wrapper {
        gap: 10px;
    }

    .logo-bead {
        width: 40px;
        height: 40px;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: 2px 0 15px var(--shadow-medium);
        display: flex;
        gap: 0;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
    }

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

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 15px 10px;
        border-radius: 0;
        text-align: left;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--secondary-color);
        padding-left: 20px;
    }

    .hero-section {
        min-height: 400px;
        padding: 60px 20px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .content-wrapper,
    .project-intro,
    .about-content,
    .highlight-card,
    .technique-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content.reverse {
        direction: ltr;
    }

    .page-hero {
        padding: 40px 20px;
    }

    .page-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

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

    .features-grid,
    .gallery-grid,
    .materials-grid,
    .tips-grid,
    .variation-grid,
    .values-grid,
    .practice-tips {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-item {
        flex-direction: column;
        gap: 20px;
    }

    .step-item::before {
        display: none;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .privacy-form {
        padding: 25px 20px;
    }

    .technique-item {
        padding: 25px 20px;
    }

    .technique-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .instruction-step {
        padding: 25px 20px;
    }

    .materials-list {
        padding: 25px 20px;
    }

    .info-items {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile devices (480px) */
@media (max-width: 480px) {
    .header-container {
        padding: 10px 12px;
    }

    .site-title {
        font-size: 1.3rem;
    }

    .logo-bead {
        width: 35px;
        height: 35px;
    }

    .nav-menu {
        width: 85%;
        padding: 70px 15px 15px;
    }

    .hero-section {
        min-height: 350px;
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .page-hero {
        padding: 30px 15px;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .container {
        padding: 0 15px;
    }

    .features-section,
    .gallery-preview,
    .intro-section,
    .steps-section,
    .highlight-section,
    .materials-section,
    .tips-section,
    .techniques-section,
    .project-section,
    .tips-main-section,
    .about-section,
    .contact-section,
    .privacy-section {
        padding: 40px 15px;
    }

    .feature-card,
    .material-card,
    .tip-card,
    .variation-card,
    .value-card {
        padding: 20px 15px;
    }

    .highlight-card {
        padding: 25px 20px;
        gap: 25px;
    }

    .project-meta {
        flex-direction: column;
        gap: 10px;
    }

    .meta-item {
        font-size: 0.9rem;
    }

    .privacy-form {
        padding: 20px 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 12px;
        font-size: 1rem;
    }

    .bead-1,
    .bead-2,
    .bead-3,
    .bead-4 {
        display: none;
    }
}

/* Small mobile devices (360px) */
@media (max-width: 360px) {
    .site-title {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .nav-menu {
        width: 90%;
    }
}

/* Large tablets (1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid,
    .gallery-grid,
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .content-wrapper,
    .project-intro,
    .about-content {
        gap: 30px;
    }
}

/* Extra large screens (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .page-title {
        font-size: 3rem;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 300px;
        padding: 30px 20px;
    }

    .nav-menu {
        height: 100vh;
        overflow-y: auto;
    }
}

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

/* Table responsiveness */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Form responsiveness improvements */
@media (max-width: 480px) {
    .checkbox-group label {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .checkbox-group input[type="checkbox"] {
        margin-top: 5px;
    }
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    .nav-link,
    .cta-button,
    .submit-btn,
    button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Improve text readability on small screens */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
    }

    p {
        word-wrap: break-word;
        hyphens: auto;
    }
}

