/*
Theme Name: Frameo
Theme URI: https://www.mustafacebecioglu.com.tr
Author: Mustafa Cebecioğlu
Author URI: https://www.mustafacebecioglu.com.tr
Description: Modern WordPress photographer theme with Bootstrap 5, portfolio, blog, and admin panel.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frameo
Tags: blog, custom-logo, custom-menu, featured-images, portfolio, photography, bootstrap, responsive, dark-theme
*/

/* Import Bootstrap 5 CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');

/* Import Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Basic resets & helpers */
:root { 
    --container-max: 1140px; 
    --main-color: #007bff;
    --dark-bg: #181a1b;
    --dark-text: #ffffff;
    --dark-muted: #6c757d;
}

* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--dark-bg);
    width: 100%;
    max-width: 100%;
}

img { 
    max-width: 100%; 
    height: auto; 
}

a { 
    text-decoration: none; 
    color: var(--main-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

.screen-reader-text {
    position: absolute; 
    left: -10000px; 
    top: auto; 
    width: 1px; 
    height: 1px; 
    overflow: hidden;
}

/* Dark theme overrides */
.bg-dark {
    background-color: var(--dark-bg) !important;
}

.text-muted {
    color: var(--dark-muted) !important;
}

/* Sticky footer */
html, body {
    height: 100%;
}

main {
    flex: 1;
}

/* Custom theme styles */
.hero-slider {
    height: 100vh;
    min-height: 600px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 100vh;
    min-height: 600px;
    width: 100%;
    max-width: 100%;
}

.hero-slider .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

/* Slider caption ve link düzenlemeleri */
.hero-slider .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 2rem 1rem;
    z-index: 10;
}

.hero-slider .carousel-caption h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-slider .carousel-caption .btn {
    position: relative;
    z-index: 15;
    pointer-events: auto;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background-color: var(--main-color, #0d6efd);
    border: 1px solid var(--main-color, #0d6efd);
    color: #ffffff;
    text-shadow: none;
    letter-spacing: 0.025em;
}

.hero-slider .carousel-caption .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background-color: #ffffff;
    color: var(--main-color, #0d6efd);
    border-color: #ffffff;
}

.hero-slider .carousel-caption .btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.5);
}

.hero-slider .carousel-caption p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Container fixes */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.container-fluid {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px;
}

/* Row fixes */
.row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
}

/* Column fixes */
[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
}

/* Blog cards */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Contact page styles */
.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

/* Admin panel styles */
.frameo-admin .card {
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.frameo-admin .hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slider {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-slider .carousel-item {
        height: 50vh;
        min-height: 400px;
    }
}
